Эх сурвалжийг харах

add vimperator tab moving mappings

Weiyi Lou 12 жил өмнө
parent
commit
1310b582e1

+ 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>