ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.57k stars 259 forks source link

CtrlPTag leaves its :ta command in history, is it possible to change this? #577

Open tankorsmash opened 2 years ago

tankorsmash commented 2 years ago

https://github.com/ctrlpvim/ctrlp.vim/blob/f68f4d00b9c99d0d711bfde3b071f0dafd249901/autoload/ctrlp/tag.vim#L129

Say you have a tags file and run :CtrlPTag, then choose the tag Foo, it'll jump to the tag as expected, but it'll put :ta Foo in the commandline history. Can this be avoided somehow?

It seems like execute 'ta Foo' would work the same, but I'm not familiar enough with vimscript to know for sure the implications of changing this.