diff --git a/vim/.vimrc b/vim/.vimrc index 195b43b..fa040f7 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -36,12 +36,7 @@ let maplocalleader=" " nnoremap p :set paste! nnoremap h :nohlsearch -nnoremap s - \ : if exists("syntax_on") - \ syntax off - \ else - \ syntax enable - \ endif +nnoremap s :if exists("syntax_on") syntax off else syntax enable endif nnoremap gB :bp nnoremap gb :bn