diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-04 20:20:41 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-04 20:20:41 +1200 |
commit | c4501004740d1a95fd7bf61aa4f19ff19a10eaec (patch) | |
tree | 24c7841f7bf1634548de9d5cec47b6441d10ce4f /vim/vimrc | |
parent | Correct comments on Vim maps to show mappings (diff) | |
download | dotfiles-c4501004740d1a95fd7bf61aa4f19ff19a10eaec.tar.gz dotfiles-c4501004740d1a95fd7bf61aa4f19ff19a10eaec.zip |
Add cursorline_current.vim plugin
Also turn on 'cursorline' option in .vimrc, and update sahara.vim
colorscheme, which has a nice subdued 'cursorline'.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -61,6 +61,11 @@ set comments= " Give me a prompt instead of just rejecting risky :write, :saveas set confirm +" Only turn on 'cursorline' if my colorscheme loaded +if exists('g:colors_name') && g:colors_name ==# 'sahara' + set cursorline +endif + " Try to keep swapfiles in one system-appropriate dir set directory^=~/.vim/cache/swap//,~/vimfiles/cache/swap// |