Browse Source

add vimperator tab moving mappings

Weiyi Lou 12 năm trước cách đây
mục cha
commit
1310b582e1
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      vimperator/vimperatorrc

+ 5 - 1
vimperator/vimperatorrc

@@ -22,13 +22,17 @@ let mapleader = ","
 " Insert mode! Focus on first imput
 nmap i gi
 
-" Faster navigation of buffers
+" Faster page navigation
 " vim up/down/left/right = half paging and tab switching
 nmap j <C-d>
 nmap k <C-u>
 nmap l gt
 nmap h gT
 
+" Tab moving
+nmap <C-h> :tabmove! -1<CR>
+nmap <C-l> :tabmove! +1<CR>
+
 " Slower page navigation
 nmap J 5<Down>
 nmap K 5<Up>