From bc068d055659b83cfabb962dbf304a3b1536fc9c Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 25 Jun 2021 15:54:03 +0800 Subject: [PATCH] feat: support backward search mode --- plugin/fcitx.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/fcitx.vim b/plugin/fcitx.vim index acd4407..d1eab03 100644 --- a/plugin/fcitx.vim +++ b/plugin/fcitx.vim @@ -21,8 +21,8 @@ try " abort on fail au InsertLeave * py3 fcitx2en() endif au InsertEnter * py3 fcitx2zh() - au CmdlineEnter / py3 fcitx2zh() - au CmdlineLeave / py3 fcitx2en() + au CmdlineEnter [/\?] py3 fcitx2zh() + au CmdlineLeave [/\?] py3 fcitx2en() endif endtry " ---------------------------------------------------------------------