Created
May 30, 2012 23:56
-
-
Save barn/2839654 to your computer and use it in GitHub Desktop.
tabs and window pieces from my .vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" remap leader to , | |
let mapleader = "," | |
" dealing with tabs, as in workspaces, not CTRL-I | |
" Kinda dirty with the CTRL-V magic to get the shift-alt-left/right here. | |
nnoremap <silent>^[[1;10C :tabnext<CR> | |
nnoremap <silent>^[[1;10D :tabprevious<CR> | |
inoremap <silent>^[[1;10C <ESC>:tabnext<CR> | |
inoremap <silent>^[[1;10D <ESC>:tabprevious<CR> | |
vnoremap <silent>^[[1;10C <ESC>:tabnext<CR> | |
vnoremap <silent>^[[1;10D <ESC>:tabprevious<CR> | |
nnoremap <silent><leader>tn :tabnew<CR> | |
nnoremap <silent><leader>tk :tabclose<CR> | |
" From http://stackoverflow.com/questions/8354826/change-fugitives-gstatus-window-height | |
" Make the preview window bigger than a postage stamp | |
set previewheight=22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment