added ctrl-s as save in vim

This commit is contained in:
hellerve committed 2015-06-01 18:49:39 +02:00
1 parent bf1a8f8173
commit 2be96b41c0
2 files changed
+5

No files matched your search

+4
View File
@@ -235,6 +235,10 @@ augroup sourcing
autocmd bufwritepost .vimrc source $MYVIMRC
augroup END
noremap <silent> <C-S> :update<CR>
vnoremap <silent> <C-S> <C-C>:update<CR>
inoremap <silent> <C-S> <C-O>:update<CR>
" Open file prompt with current path
nmap <leader>e :e <C-R>=expand("%:p:h") . '/'<CR>