Parcourir la source

Clear up Save command

Andrew Swistak il y a 11 ans
Parent
commit
4e995dccf2
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 3
      vimrc

+ 1 - 3
vimrc

@@ -54,9 +54,7 @@ nnoremap j gj
 nnoremap k gk
 
 " Set CTRL+S to save becuase I smack that every 10 seconds on whatever application I use
-command! -nargs=0 -bar Save if &modified
-          \|  confirm write
-          \|endif
+command! -nargs=0 Save if &modified | confirm write | endif
 nnoremap <silent> <C-s> :Save<CR>
 inoremap <C-s> <C-o>:Save<CR>
 vnoremap <C-s> <C-o>:Save<CR>