diff options
author | David Phillips <david@sighup.nz> | 2017-05-05 11:26:30 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-05-05 11:26:30 +1200 |
commit | 6fbb316ada91815cee9791a5fb381bc950848b0f (patch) | |
tree | b17c0634f88a670de7d013ae31474d9835705b6d | |
parent | 64c229e3333a9463f43186e2bf1436624c18da7c (diff) | |
download | dotfiles-6fbb316ada91815cee9791a5fb381bc950848b0f.tar.xz |
Fix C+arrow keys in insert mode in vim
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5,9 +5,13 @@ set autoindent set tabstop=4 set shiftwidth=4 set softtabstop=4 +set backspace=2 +" Force remap C+Left and C+Right for moving on words in insert mode map <ESC>[1;5C <C-Right> map <ESC>[1;5D <C-Left> +map! <ESC>[1;5C <C-Right> +map! <ESC>[1;5D <C-Left> "set listchars=tab:▸\ ,trail:·,space:· set listchars=tab:→\ ,trail:·,space:· |