diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-07-26 00:50:26 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-07-26 00:51:31 +0200 |
commit | 70ab4732ca3c882ed3aab6d31dc6d9af7d27b309 (patch) | |
tree | c441f16c701110138ecc32fff9e5e0104fd3c8be | |
parent | 638ce253199858562145bbeecdb0f449ad0423f5 (diff) | |
download | dotfiles-70ab4732ca3c882ed3aab6d31dc6d9af7d27b309.tar.gz |
vim: Cursor color + shape
-rw-r--r-- | .vim/vimrc | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -19,6 +19,19 @@ let g:airline#extensions#branch#enabled = 1 let g:airline#extensions#whitespace#enabled = 1 let g:airline_powerline_fonts = 1 +"All things cursor +set guicursor+=a:blinkon0 "disable blinking +if &term =~ "xterm\\|rxvt" + " 1 or 0 -> blinking block + " 2 -> solid block + " 3 -> blinking underscore + " 4 -> solid underscore + " 5 -> blinking vertical bar + " 6 -> solid vertical bar + let &t_SI .= "\<Esc>[6 q" " Normal + let &t_EI .= "\<Esc>[2 q" " Insert +endif + "show line endings and tabs set listchars=tab:>\ ,trail:~,extends:>,precedes:< set list @@ -109,7 +122,7 @@ function Run_in_terminal(prog) endif tabnew - execute "terminal ++curwin" . a:prog + execute "terminal ++curwin " . a:prog startinsert endfunction |