in vim,
when I ctrl-]
1) normal behavior:
it goes to the first matching tag with the word under the cursor, after that we need to do :tjump separately to view a list of all matching tags, and then go to the desired tag.
2) what i want:
vim should look for the tag file,
if there are multiple matches, show me a list of all matching tags
if there is one match, just go to the corresponding tag
(exactly the same as :tjump )
this behavior (2) already happens when we use g-ctrl-] , but I want this to happen with ctrl-]
I saw behavior (2) using ctrl-] in some vims in some linues.
please tell me how I can get the behavior (2). in other words,
please tell me how can I make ctrl-] behave like g-ctrl-] with .vimrc or whatever
suppie
source share