我正在使用 Vim 和 Unite 插件。
我的 vimrc 文件中有一个键映射,如下所示,
nnoremap <Leader>t :Unite -start-insert file_rec<CR>
它按预期工作。唯一的问题是,当我在目录中创建新文件并尝试使用 t 搜索时,新文件不会显示。我想我需要重新创建 Unite 用于快速搜索文件的索引。我什至不确定 Unite 是否使用这样的索引。这只是我的猜测。
但是有没有办法让 Unite 在我搜索时显示新创建的文件?
最佳答案
Q: Some files are not showing up in file_rec(/async) candidates. What's up with that? A: You need to update the cache. Press |<Plug>(unite_redraw)| (<C-l>) when unite is focused.
关于vim unity 插件重新创建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18863641/