diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc.symlink | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 2604495..b41d132 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -31,6 +31,12 @@ set dir=~/swp set listchars=nbsp:¬,tab:▸\ ,extends:»,precedes:«,trail:• set list +" Highlighting +hi SpellBad cterm=underline,bold ctermfg=black ctermbg=red +hi SpellCap cterm=underline,bold ctermfg=black ctermbg=yellow +hi SpellLocal cterm=underline,bold ctermfg=black ctermbg=blue +hi SpellRare cterm=underline,bold ctermfg=black ctermbg=white + " Move through long lines as they were short multiple lines map j gj map k gk @@ -71,16 +77,16 @@ au BufRead /tmp/mutt-* set tw=72 " See: http://vim.wikia.com/wiki/Accessing_the_system_clipboard " Use :cz in visual mode to copy to clipboard, :pz for pasting " x instead of z for primary selection, v for secondary selection -command -range Cz :silent :<line1>,<line2>w !xsel -i -b -command -range Cx :silent :<line1>,<line2>w !xsel -i -p -command -range Cv :silent :<line1>,<line2>w !xsel -i -s +command! -range Cz :silent :<line1>,<line2>w !xsel -i -b +command! -range Cx :silent :<line1>,<line2>w !xsel -i -p +command! -range Cv :silent :<line1>,<line2>w !xsel -i -s cabbrev cv Cv cabbrev cz Cz cabbrev cx Cx -command -range Pz :silent :r !xsel -o -b -command -range Px :silent :r !xsel -o -p -command -range Pv :silent :r !xsel -o -s +command! -range Pz :silent :r !xsel -o -b +command! -range Px :silent :r !xsel -o -p +command! -range Pv :silent :r !xsel -o -s cabbrev pz Pz cabbrev px Px |