开发者

Problem with VIM - "f" calling the "fold" command instead of "find"

开发者 https://www.devze.com 2022-12-25 22:51 出处:网络
This is happening in python files. For example, 开发者_如何学CI want to do type \"fC\" in normal mode, and instead of finding the first \"C\" character, it is just doing code fold toggling.Real answe

This is happening in python files.

For example, 开发者_如何学CI want to do type "fC" in normal mode, and instead of finding the first "C" character, it is just doing code fold toggling.


Real answer:

Are you using this plugin? Under 4, it says that pressing "f" toggles the fold (in certain conditions).

Original answer:

I'm not sure what fC does, because it doesn't do anything in my version of vim, but normally to use find "C," you can use "/C" followed by enter.

0

精彩评论

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