Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Mapping to open tag in new tab

  • Loading branch information...
commit 1d9da92321ff250d1c9f3bf901fdd25504c909c7 1 parent a47fc36
@skorks authored
Showing with 6 additions and 0 deletions.
  1. +3 −0  cheatsheet.md
  2. +3 −0  vimrc
View
3  cheatsheet.md
@@ -390,6 +390,9 @@ Ctags stuff
------------------------------------
* ctrl-] - go to tag under cursor
* ctrl-t - go back to where you were after having jumped to tag
+* ctrl-w ctrl-] - open tag under cursor in a horizontal split
+* ctrl-\ - open tag under cursor in a new tab
+* ctrl-W c - close the currently open tab
Abbreviations
----------------------------------
View
3  vimrc
@@ -421,6 +421,9 @@ endif
" Fix supertab/endwise incompatibility
let g:SuperTabCrMapping = 0
+" Open tag under cursor in a new tab
+nmap <C-\> <C-w><C-]><C-w>T
+
" Conque Shell
" let g:ConqueTerm_ReadUnfocused = 1
Please sign in to comment.
Something went wrong with that request. Please try again.