added ctrl-s as save in vim
This commit is contained in:
1 parent
bf1a8f8173
commit
2be96b41c0
2 files changed
+5
No files matched your search
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user