mirror of
https://github.com/artizirk/dotfiles.git
synced 2025-12-20 08:36:49 +02:00
Switch VIM CursorLine when running in JetBrains
This commit is contained in:
@@ -9,8 +9,12 @@ set cursorline
|
|||||||
hi cursorline cterm=none term=none
|
hi cursorline cterm=none term=none
|
||||||
autocmd WinEnter * setlocal cursorline
|
autocmd WinEnter * setlocal cursorline
|
||||||
autocmd WinLeave * setlocal nocursorline
|
autocmd WinLeave * setlocal nocursorline
|
||||||
|
|
||||||
|
if $TERMINAL_EMULATOR == "JetBrains-JediTerm"
|
||||||
|
highlight CursorLine guibg=#303000 ctermbg=lightgray
|
||||||
|
else
|
||||||
highlight CursorLine guibg=#303000 ctermbg=234
|
highlight CursorLine guibg=#303000 ctermbg=234
|
||||||
"highlight CursorLine guibg=#303000 ctermbg=lightgray
|
endif
|
||||||
|
|
||||||
" configure reasonable swap file
|
" configure reasonable swap file
|
||||||
" https://begriffs.com/posts/2019-07-19-history-use-vim.html?hn=3#backups-and-undo
|
" https://begriffs.com/posts/2019-07-19-history-use-vim.html?hn=3#backups-and-undo
|
||||||
|
|||||||
Reference in New Issue
Block a user