Remap ,, to ,gz - Go Zoom a window

This commit is contained in:
yan
2012-01-24 14:45:15 -08:00
parent 27ccb78fdc
commit e21bcbf4f5
2 changed files with 6 additions and 4 deletions

View File

@@ -342,9 +342,9 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* vv - vertical split (Ctrl-w,v) * vv - vertical split (Ctrl-w,v)
* ss - horizontal split (Ctrl-w,s) * ss - horizontal split (Ctrl-w,s)
* ,, - zoom a window to max size and again to unzoom it (ZoomWin plugin, usually C-w,o)
* ,qo - open quickfix window (this is where output from GitGrep goes) * ,qo - open quickfix window (this is where output from GitGrep goes)
* ,qc - close quickfix * ,qc - close quickfix
* ,gz - zoom a window to max size and again to unzoom it (ZoomWin plugin, usually C-w,o)
**NERDTree Project Tree** **NERDTree Project Tree**
@@ -512,8 +512,7 @@ Please explore these people's work.
### Comming Soon ### Comming Soon
* Better isolation of customizations in smaller chunks, maybe as plugins * Automatic installation setup
* Automatic setup script to symlink all dotfiles, or just some selectively
### For more tips and tricks ### For more tips and tricks

View File

@@ -113,7 +113,7 @@ map <silent> <C-H> :tabprevious<cr>
map <silent> <C-L> :tabnext<cr> map <silent> <C-L> :tabnext<cr>
" Zoom in and out of current window with ,, " Zoom in and out of current window with ,,
map <silent> ,, <C-w>o map <silent> ,gz <C-w>o
" Use numbers to pick the tab you want (like iTerm) " Use numbers to pick the tab you want (like iTerm)
map <silent> <D-1> :tabn 1<cr> map <silent> <D-1> :tabn 1<cr>
@@ -134,6 +134,9 @@ nnoremap <silent> vv <C-w>v
nnoremap <silent> ss <C-w>s nnoremap <silent> ss <C-w>s
"open the taglist (method browser) using ,t
nnoremap <silent> ,T :TlistToggle<CR>
" create <%= foo %> erb tags using Ctrl-k in edit mode " create <%= foo %> erb tags using Ctrl-k in edit mode
imap <silent> <C-K> <%= %><Esc>3hi imap <silent> <C-K> <%= %><Esc>3hi