Closed ch4m1gn0n closed 2 years ago
删掉英语单词后输入内容,再重新输入时,大概率会出现。
是否有其他自动补全插件? 参考下这个: https://github.com/ZSaberLv0/ZFVimIM/blob/master/plugin/ZFVimIM_autoDisable.vim
关闭自动补全后,删除字符还是会倒至这个问题
filetype plugin indent on
syntax on
set nocompatible
let g:plug_home = $HOME . '/.vim/bundle'
let g:plug_url_format = 'https://github.com/%s'
execute 'source ' . g:plug_home . '/vim-plug/plug.vim'
silent! call plug#begin()
Plug 'junegunn/vim-plug'
Plug 'ZSaberLv0/ZFVimIM'
Plug 'ZSaberLv0/ZFVimJob'
" Plug 'YourName/YourDb'
call plug#end()
能否提供一份类似这样的最简配置?
我刚刚试了下,又好了,我什么也没改,看看过段时间怎么样。。。。。。。。 我是用 NvChad 配置的, 这俩个都是默认开启的
filetype plugin indent on
syntax on
nvim 里 compatible 总是 no 的 插件是 packer,Nvchad的默认配置packerInit 我的插件:
-- /lua/custom/plugins/init.lua
return {
{ "mg979/vim-visual-multi" },
{
"folke/which-key.nvim",
config = function()
require'custom.plugins.which-key'.setup()
end
},
{ 'williamboman/nvim-lsp-installer' },
{ "preservim/vim-markdown" },
{ "kevinhwang91/rnvimr" },
{ "ZSaberLv0/ZFVimJob"},
{ "iamcco/markdown-preview.nvim" },
-- { "vimwiki/vimwiki" },
{ "ferrine/md-img-paste.vim" },
{ "ZSaberLv0/ZFVimIM" },
{ "dhruvasagar/vim-table-mode" },
{ "mzlogin/vim-markdown-toc" },
{ "easymotion/vim-easymotion" }
}
-- just an example!
zfvimIM配置
vim.api.nvim_exec(
[[
function! s:mylocaldb()
let db = zfvimim_dbinit({
\ 'name' : 'wubi',
\ })
call zfvimim_cloudregister({
\ 'mode' : 'local',
\ 'dbid' : db['dbid'],
\ 'repopath' : '/home/ch4m1gn0n/.config/',
\ 'dbfile' : '/wubi.txt',
\ })
endfunction
autocmd user zfvimim_event_ondbinit call s:mylocaldb()
" let g:vim_markdown_folding_disabled = 1
]],
false)
-- input method
vim.g.zfvimim_keymap = 0
map("n", ",q", "zfvimime_keymap_toggle_n()", {expr = true})
map("i", ",q", "zfvimime_keymap_toggle_i()", {expr = true})
map("v", ",q", "zfvimime_keymap_toggle_v()", {expr = true})
总之这玩意儿依赖 lmap
和 omnifunc
, 没法和自动补全插件共存, 先排除其他插件的影响
嗯嗯,谢啦
总之这玩意儿依赖
lmap
和omnifunc
, 没法和自动补全插件共存, 先排除其他插件的影响