Permalink
Browse files

Commands:

1. Open tab before current one
2. Open Gdiff of current file in new tab
  • Loading branch information...
1 parent 1be180f commit 3edda822cc30dac58389b2d83aa03e1601dfe9ea @abonec committed Apr 8, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 vimrc
View
8 vimrc
@@ -38,6 +38,9 @@ imap <A-8> <ESC>8gt
imap <A-9> <ESC>9gt
imap <A-0> <ESC>10gt
+" Open file in a tab before the current one
+com! -nargs=1 -complete=file TabEdit :exe ( tabpagenr() - 1 ) . "tabedit " . <q-args>
+command Gdt tabedit %|Gdiff
" map <C-t> <ESC>:tabnew<CR>
nnoremap <Leader>d :NERDTree<CR>
@@ -108,3 +111,8 @@ highlight Pmenu ctermbg=238 gui=bold
" abbreviations
cab help tab help
+
+
+" tags
+map <A-b> :tp<CR>
+map <A-n> :tn<CR>

0 comments on commit 3edda82

Please sign in to comment.