From e71cb9f1dab9d101bd6847d45d8ffeab8c322569 Mon Sep 17 00:00:00 2001 From: Kien N Date: Wed, 9 Jan 2013 08:15:36 +0700 Subject: [PATCH] Run :tag as if typed Refs #339 --- autoload/ctrlp/tag.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/ctrlp/tag.vim b/autoload/ctrlp/tag.vim index dfbdb04..bb78744 100644 --- a/autoload/ctrlp/tag.vim +++ b/autoload/ctrlp/tag.vim @@ -106,10 +106,10 @@ fu! ctrlp#tag#accept(mode, str) en let save_cst = &cst set cst& - exe fnd[1].'ta' tg + sil! cal feedkeys(":".fnd[1]."ta ".tg."\r", 'nt') let &cst = save_cst el - exe cmd tg + sil! cal feedkeys(":".cmd." ".tg."\r", 'nt') en cal ctrlp#setlcdir() endf