gpt4 book ai didi

vim unity 插件重新创建

转载 作者:行者123 更新时间:2023-12-02 05:22:19 35 4
gpt4 key购买 nike

我正在使用 Vim 和 Unite 插件。

我的 vimrc 文件中有一个键映射,如下所示,

nnoremap <Leader>t :Unite -start-insert file_rec<CR>

它按预期工作。唯一的问题是,当我在目录中创建新文件并尝试使用 t 搜索时,新文件不会显示。我想我需要重新创建 Unite 用于快速搜索文件的索引。我什至不确定 Unite 是否使用这样的索引。这只是我的猜测。

但是有没有办法让 Unite 在我搜索时显示新创建的文件?

最佳答案

来自plugin's documentation :

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/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com