commit 88ab1f78c56bf241ac03f5f9c3ed87e347c9d67c parent 90d7d48262905f2ff32e448f1fabe6ce7b8f0fc3 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Mon, 31 Mar 2014 13:07:21 +0200 added notes for ctags functionality Diffstat:
M | .vimrc | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/.vimrc b/.vimrc @@ -202,3 +202,8 @@ imap <Down> <Nop> " Update ctags nmap <leader>t :!ctags -R --verbose --langmap=c++:.cu,c++:.cuh .<CR> +" useful tags commands: +" :tag or :ta <function> Go to definition of the function +" :ts or :tselect Show the list of tags +" When the cursor is on a function call, press <Ctrl-[> to go to its definition. +" Press <Ctrl-t> to go back