Skip to content

Commit

Permalink
Adding a couple ctags & taglist mappings.
Browse files Browse the repository at this point in the history
  • Loading branch information
brycethornton committed May 26, 2011
1 parent 16c22a7 commit 4778127
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gvimrc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ map <silent> <D-9> :tabn 9<CR>
set showtabline=2

" CTags
map <2-LeftMouse> g<C-]>
" set up tab labels with tab number, buffer name, number of windows
function! GuiTabLabel()
let label = ''
Expand Down
6 changes: 6 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,9 @@ set gdefault

" ignore case when searching
set ignorecase

" CTags
map <Leader>rt :!ctags --extra=+f -R *<CR><CR>
nnoremap <silent> <F8> :TlistToggle<CR>
let Tlist_Use_Right_Window = 1
let Tlist_GainFocus_On_ToggleOpen = 1

0 comments on commit 4778127

Please sign in to comment.