Skip to content

Commit

Permalink
Improve vim terminal keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyckahn committed Mar 1, 2020
1 parent ff4d29f commit 031bde3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vimrc
Expand Up @@ -271,14 +271,14 @@ noremap <C-L> :tabn<CR>
noremap <C-J> :tabc<CR>
noremap <C-K> :tabe<CR>
nmap <leader><leader>t :tab term<CR>
nmap <leader>t :tab term<CR>
tmap <C-H> <C-w>:tabp<CR>
tmap <C-L> <C-w>:tabn<CR>
tmap <C-J> <C-w><C-c>
tmap <C-K> <C-w>:tabe<CR>
" https://github.com/vim/vim/issues/2490#issuecomment-383382372
tmap <leader><leader><Esc> <C-W>N
tmap <C-b> <C-W>N
" Map <leader> + 1-9 to jump to respective tab
let i = 1
Expand Down

0 comments on commit 031bde3

Please sign in to comment.