Added ZoomWin and bound ,, to zoom and unzoom current window
This commit is contained in:
1
vim/bundle/vim-scripts-ZoomWin
Submodule
1
vim/bundle/vim-scripts-ZoomWin
Submodule
Submodule vim/bundle/vim-scripts-ZoomWin added at e7ee18e2e7
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user