mirror of
https://github.com/artizirk/dotfiles.git
synced 2025-12-19 00:05:17 +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
|
||||
autocmd WinEnter * setlocal cursorline
|
||||
autocmd WinLeave * setlocal nocursorline
|
||||
highlight CursorLine guibg=#303000 ctermbg=234
|
||||
"highlight CursorLine guibg=#303000 ctermbg=lightgray
|
||||
|
||||
if $TERMINAL_EMULATOR == "JetBrains-JediTerm"
|
||||
highlight CursorLine guibg=#303000 ctermbg=lightgray
|
||||
else
|
||||
highlight CursorLine guibg=#303000 ctermbg=234
|
||||
endif
|
||||
|
||||
" configure reasonable swap file
|
||||
" https://begriffs.com/posts/2019-07-19-history-use-vim.html?hn=3#backups-and-undo
|
||||
|
||||
Reference in New Issue
Block a user