Added ZoomWin and bound ,, to zoom and unzoom current window

This commit is contained in:
yan
2011-12-16 00:04:14 -08:00
committed by Yan Pritzker
parent f1a6d461a4
commit affd42eee3
5 changed files with 26 additions and 20 deletions

View File

@@ -13,10 +13,6 @@ call EasyMotion#InitOptions({
\ , 'hl_group_shade' : 'EasyMotionShade'
\ })
" Use EasyMotion by double tapping comma
nmap <silent> ,, \\w
" Use EasyMotion backwards by z,,
nmap <silent> z,, \\b
" Make EasyMotion more yellow, less red
hi clear EasyMotionTarget
hi! EasyMotionTarget guifg=yellow

View File

@@ -39,7 +39,8 @@ nnoremap ; :
nmap ,ru :AV<CR>
" ==== NERD tree
nmap ,n :NERDTreeToggle<CR>
" ,m is less stressful on the fingers than ,n
nmap ,m :NERDTreeToggle<CR>
" move up/down quickly by using Ctrl-j, Ctrl-k
" which will move us around by functions
@@ -67,6 +68,9 @@ nnoremap <silent> ,z <C-^>
"git grep the current word using K (mnemonic Kurrent)
nnoremap <silent> K :GitGrep <cword><CR>
" ==============================
" Window/Tab/Split Manipulation
" ==============================
" Move between split windows by using the four directions H, L, I, N
" (note that I use I and N instead of J and K because J already does
" line joins and K is mapped to GitGrep the current word
@@ -79,6 +83,9 @@ nnoremap <silent> M <C-w>j
map <silent> <D-H> :tabprevious<cr>
map <silent> <D-L> :tabnext<cr>
" Zoom in and out of current window with ,,
map <silent> ,, <C-w>o
" Use numbers to pick the tab you want (like iTerm)
map <silent> <D-1> :tabn 1<cr>
map <silent> <D-2> :tabn 2<cr>