commit f01d528fea957da9d647fa4a44741a28953045c0
parent 0be87672329ad0b083bd0475983df407208b0a59
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 8 Nov 2013 09:40:42 +0100
changed background toggle to <leader>b
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.vimrc b/.vimrc
@@ -56,7 +56,6 @@ syntax on
set background=dark " adjust colors for better contrast
"colorscheme desert
colorscheme solarized
-call togglebg#map("<F3>")
" hilight column 80
set textwidth=80
@@ -127,6 +126,9 @@ highlight SpecialKey ctermfg=10 guifg=DarkGray
" Shortcut to reload .vimrc
nmap <leader>r :source $MYVIMRC<CR>
+" Shortcut to switch background color
+nmap <leader>b :ToggleBG<CR>
+
" toggle spelling
nmap <leader>s :set spell!<CR>