commit 21040fb8cab26368fdf7c03dbfa2cfe11eed7040
parent 36d682b2c4aca0c26871c1d6aba39d4c91c5d0a0
Author: Anders Damsgaard <adc@geo.au.dk>
Date: Mon, 3 Jun 2013 14:18:41 +0200
Shortcut to reload vimrc
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.vimrc b/.vimrc
@@ -4,6 +4,9 @@ execute pathogen#infect()
" REQUIRED. This makes vim invoke Latex-Suite when you open a tex file.
filetype plugin on
+" Shortcut to reload .vimrc, leader is '\'
+nmap <leader>r :source $MYVIMRC<CR>
+
" IMPORTANT: win32 users will need to have 'shellslash' set so that latex
" can be called correctly.
"set shellslash
@@ -120,8 +123,8 @@ nmap <leader>l :set list!<CR>
set listchars=tab:▸\ ,eol:¬
"Invisible character colors
-highlight NonText ctermfg=8 guifg=gray
-highlight SpecialKey ctermfg=8 guifg=gray
+highlight NonText ctermfg=8 guifg=DarkGray
+highlight SpecialKey ctermfg=8 guifg=DarkGray
" Disable arrow keys
map <Left> <Nop>