Remove ctrl s saving shortcut, not good to get used to it in vim

This commit is contained in:
Szwendacz99 2022-10-20 18:34:39 +02:00
parent 88b9a03093
commit 9324661ac5

View file

@ -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>