Tuesday, January 14, 2014

cstag change "find g"

Vim 7.4.1-86 (Windows)

:cs find has the following options:

0 or s: Find this C symbol
1 or g: Find this definition
2 or d: Find functions called by this function
3 or c: Find functions calling this function
4 or t: Find this text string
6 or e: Find this egrep pattern
7 or f: Find this file
8 or i: Find files #including this file

When :set cscopetag is set, then running:
:cstag whatever
Or when the cursor is on "whatever" and you hit CTRL-] or use the :tag command, then Vim actually issues a:
:cs find g whatever

I want to use these features, but I do not want it to use "find g", I want it to use "find s".

Though this appears to be hard coded.  Is there an option to control this?

My quick grep through todo.txt didn't find any references.

TIA,
David

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment