美文网首页Vim
ctrlp.vim插件(vim笔记四)

ctrlp.vim插件(vim笔记四)

作者: tailang | 来源:发表于2013-09-22 16:57 被阅读12576次

github:https://github.com/kien/ctrlp.vim
这是一个超赞的插件,如果使用过sublime-text2,那么肯定很熟悉ctrlp。它可以快速的帮助我们找到项目中的文件。在vim normal模式下,按下ctrl+p,然后输入你要寻找的文件就行了。当然还有其他一些快捷查找键,如正则查找等,

Press <F5> to purge the cache for the current directory to get new files, remove deleted files and apply new ignore options.
Press <c-f> and <c-b> to cycle between modes.
Press <c-d> to switch to filename only search instead of full path.
Press <c-r> to switch to regexp mode.
Use <c-j>, <c-k> or the arrow keys to navigate the result list.
Use <c-t> or <c-v>, <c-x> to open the selected entry in a new tab or in a new split.
Use <c-n>, <c-p> to select the next/previous string in the prompt's history.
Use <c-y> to create a new file and its parent directories.
Use <c-z> to mark/unmark multiple files and <c-o> to open them.

相关文章

网友评论

    本文标题:ctrlp.vim插件(vim笔记四)

    本文链接:https://www.haomeiwen.com/subject/eefqtttx.html