Shortcats for vim tabs.

This commit is contained in:
2013-10-02 20:53:56 +04:00
parent d7a9b6c711
commit c7685d2756
2 changed files with 62 additions and 1 deletions

View File

@@ -191,6 +191,15 @@ noremap <Down> gj
imap <Up> <C-O>gk
imap <Down> <C-O>gj
"
" Working with tabs especially if using Putty.
"
nnoremap th :tabfirst<CR>
nnoremap tj :tabnext<CR>
nnoremap tk :tabprev<CR>
nnoremap tl :tablast<CR>
nnoremap tm :tabm<Space>
nnoremap td :tabclose<CR>
"
" .gvimrc content here.
"
if has("gui_running")
@@ -223,6 +232,6 @@ if has("gui_running")
map <silent> <C-F3> :browse tabnew %:p:h<CR>
else
colors evening
colors vahagn_black_terminal
endif