summaryrefslogtreecommitdiff
path: root/home/xyz/.config
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-03-04 23:34:31 -0800
committerXiao Pan <xyz@flylightning.xyz>2025-03-29 18:28:09 -0700
commit501e9c618c16efe78944fa1e93ba1a2c56e089b0 (patch)
tree3d59d26b0cbcc7a2a99a6866a732d43f3e14db89 /home/xyz/.config
parent64600126d82c42e1ce92e9a8d01015030770e86a (diff)
fcitx.nvim no issue of leave search switch to pinyin
h-hg/fcitx.nvim is the only one out of the three alternatives that does not have this issue: after / search with chinese pingyin, then enter, then in normal mode if I press one key, e.g., k, it will trying to use chinese pingyin instead of using english
Diffstat (limited to 'home/xyz/.config')
-rw-r--r--home/xyz/.config/nvim/init.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index 38187eb3..0602a31f 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -23,8 +23,12 @@ Plug 'tinted-theming/base16-vim'
" use latest vim-markdown
"Plug 'tpope/vim-markdown'
" alternatives: h-hg/fcitx.nvim, rlue/vim-barbaric, lilydjwg/fcitx.vim
+" h-hg/fcitx.nvim is the only one out of the three alternatives that does not
+" have this issue: after / search with chinese pingyin, then enter, then in
+" normal mode if I press one key, e.g., k, it will trying to use chinese
+" pingyin instead of using english
if executable('fcitx5')
- Plug 'rlue/vim-barbaric'
+ Plug 'h-hg/fcitx.nvim'
endif
" alternatives: 'thinca/vim-ref' with 'eiiches/vim-ref-info', 'HiPhish/info.vim', 'alx741/vinfo'
Plug 'https://gitlab.com/HiPhish/info.vim.git'