aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorThomas Buckley-Houston2021-12-10 13:34:23 +0000
committerThomas Buckley-Houston2021-12-10 13:34:23 +0000
commit83583239c948222ac7e5e110b984d03e2b14e84a (patch)
tree4882db442ac43d80462be9ea5271fa9d6fd18e41 /autoload
parentfa9a8d6e29a5aa89ba6a83c566f5a83c74434597 (diff)
Remove `<C-C>` and `<C-X>` INSERT mode shortcuts
`<C-C>` copies a line in insert mode and `<C-X>` cuts a line in insert mode. They're not particularly essential, just conveniences. But `<C-X>` causes problems in termux as reported in #8. And `<C-C>` is just a natural companian command, so it'd be weird to have one without the other.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/novim_mode.vim2
1 files changed, 0 insertions, 2 deletions
diff --git a/autoload/novim_mode.vim b/autoload/novim_mode.vim
index a997f74..bbe34c4 100644
--- a/autoload/novim_mode.vim
+++ b/autoload/novim_mode.vim
@@ -153,9 +153,7 @@ function! g:SetNoVimModeShortcuts()
snoremap <C-V> <Space><Backspace><C-O>:call novim_mode#Paste()<CR>
cnoremap <C-V> <C-R>"
snoremap <C-C> <C-O>"+ygv
- inoremap <C-C> <C-O>"+Y
snoremap <C-X> <C-O>"+xi
- inoremap <C-X> <C-O>"+dd
" Select word under cursor
inoremap <C-D> <C-O>viw<C-G>
" Select current line