Remove ctrl s saving shortcut, not good to get used to it in vim
This commit is contained in:
parent
88b9a03093
commit
9324661ac5
1 changed files with 3 additions and 3 deletions
6
init.vim
6
init.vim
|
@ -57,9 +57,9 @@ nmap <C-_> <plug>NERDCommenterToggle
|
|||
vmap <C-_> <plug>NERDCommenterToggle
|
||||
|
||||
" saving with Ctrl+s
|
||||
nnoremap <silent><C-s> :update<cr>
|
||||
inoremap <silent><C-s> <c-o>:update<cr>
|
||||
vnoremap <silent><c-s> <c-c>:update<cr>gv " gv to preserve visual selection
|
||||
"nnoremap <silent><C-s> :update<cr>
|
||||
"inoremap <silent><C-s> <c-o>:update<cr>
|
||||
"vnoremap <silent><c-s> <c-c>:update<cr>gv " gv to preserve visual selection
|
||||
|
||||
" show uncommited git changes in current part of the code
|
||||
nnoremap <C-g> :CocCommand git.chunkInfo<CR>
|
||||
|
|
Loading…
Reference in a new issue