Vim 文件导航 - Vim file navigation

问题:

I'm trying really hard to learn vim after using TextMate for the last few years.在过去几年中使用 TextMate 后,我非常努力地学习 vim。

I've started to commit some of the in-file navigation to memory but I'm struggling with navigating between multiple files.我已经开始将一些文件内导航提交到内存中,但我正在努力在多个文件之间导航。

In my workflow it is pretty common that I'm flipping between a handful of files pretty regularly (enough files such that split-pane windows become too small).在我的工作流程中,我经常在少数文件之间翻转是很常见的(足够多的文件使得拆分窗格窗口变得太小)。

I'm currently using NERDTree but find drilling down into directories cumbersome as well as constantly using CTRL + W h / CTRL + W l to hop back and forth.我目前正在使用 NERDTree,但发现深入到目录中很麻烦,并且经常使用CTRL + W h / CTRL + W l来回跳跃。

I think I would do better with tabs I can easily toggle between but maybe I need to use a different workflow.我想我会用可以轻松切换的选项卡做得更好,但也许我需要使用不同的工作流程。

I'd also like a "Go to File..." shortcut like CMD + T in TextMate.我还想要“转到文件...”快捷方式,例如 TextMate 中的CMD + T。 I've found fuzzy_file_finder but it requires vim to be built with Ruby bindings which isn't the case the native installs I've worked on.我发现了fuzzy_file_finder但它需要使用Ruby 绑定构建vim,而我使用的本机安装并非如此。

While I could rebuild the main reason I want to switch to vim is so I can have one editor environment that I know will easily work across any platform.虽然我可以重建,但我想切换到 vim 的主要原因是我可以拥有一个我知道可以在任何平台上轻松工作的编辑器环境。

The options out there are overwhelming any ideas are much appreciated!那里的选项压倒性的任何想法都非常感谢!


解决方案:

参考: https://stackoom.com/en/question/64AS
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章