On Sat, May 27, 2017 at 08:43:22PM -0700, Yubin Ruan wrote: > Hi, > > I have this mapping in my vimrc: > nnoremap <C-]> g<C-]> > which tells vim to jump to function definition rather than declaration when I > push <C-]>. > > However, this setting will trigger a tag-searching behavior on startup. If > vim fails to find that tag file, it will throw errors like this: > E433: No Tag File > E426: tag not found, xxxxx > where ``xxxxx'' is current identifier under the cursor. The tricky thing is, > vim will automatically pre-push a `c' key for you, which means that if you > push `j' or `k' key after starting up vim it will effectively act as `cj' or > `ck' and you will delete a line accidentally, which is VERY VERY annoying
I cannot reproduce with
vim --noplugins -u test.vim test.vim
where test.vim has just this one line
nnoremap <C-]> g<C-]>
I've vim 8.0.597.
> I am using vim 8.0
Marius Gedminas
--
Making software smarter is much easier than making people smarter.
-- Matthew Paul Thomas
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
