Shortcats for vim tabs.
This commit is contained in:
11
vim/vimrc
11
vim/vimrc
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user