From 1cbdf9d321643ae8c803f3b6c35740ba0737e300 Mon Sep 17 00:00:00 2001 From: Marco Kundt Date: Fri, 12 Jun 2020 00:19:07 +0200 Subject: [PATCH] reduce lines --- vim/.vimrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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