开发者

MacVim-Like Find and Replace for gVim

开发者 https://www.devze.com 2023-03-29 08:07 出处:网络
I know about the Vim find and Replace command, but I fin开发者_如何转开发d MacVim\'s Find and Replace ( ⌘+F ) better compared to Vim\'s Native way of Finding Words. Is there a plugin for (g)Vim to as

I know about the Vim find and Replace command, but I fin开发者_如何转开发d MacVim's Find and Replace ( ⌘+F ) better compared to Vim's Native way of Finding Words. Is there a plugin for (g)Vim to assist ?


I've never used MacVim.

In gvim you can bring up the "Find and Replace" dialog like this:

:promptrepl

See if this mapping works for you:

:map <D-f> :promptrepl<cr>

(According to :h meta, <D- is the command key on Mac but I'm not sure if that would work as I can't test it)

0

精彩评论

暂无评论...
验证码 换一张
取 消