Przeglądaj źródła

Clear up Save command

Andrew Swistak 11 lat temu
rodzic
commit
4e995dccf2
1 zmienionych plików z 1 dodań i 3 usunięć
  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>