commit a8b7abb2c4ac356a7378af618dc9e6768aa1e191 (patch) parent 4713f58173dcee59db94e832e85d6745c4211781 Author: Alexander Karle <akarle@umass.edu> Date: Tue, 31 Jul 2018 08:52:26 -0400 [vim] rework terminal mappings Diffstat:
M | vim/vimrc | | | 7 | ++----- |
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc @@ -173,11 +173,8 @@ nnoremap <C-h> <C-w>h nnoremap <C-l> <C-w>l if(has('terminal')) - tnoremap <C-j> <C-w>j - tnoremap <C-k> <C-w>k - tnoremap <C-h> <C-w>h - tnoremap <C-l> <C-w>l - tnoremap <C-w>t <C-w>:tabnext<CR> + tnoremap <ESC> <C-\><C-n> + tnoremap <M-[> <ESC> endif "Map ctrl-p to toggle paste mode