CtrlP命令
来源:互联网 发布:视频特效制作软件哪些 编辑:程序博客网 时间:2024/06/05 18:07
COMMANDS *ctrlp-commands* *:CtrlP*:CtrlP [starting-directory] Open CtrlP in find file mode. If no argument is given, the value of |g:ctrlp_working_path_mode| will be used to determine the starting directory. You can use <tab> to auto-complete the [starting-directory] when typing it. *:CtrlPBuffer*:CtrlPBuffer Open CtrlP in find buffer mode. *:CtrlPMRU*:CtrlPMRU Open CtrlP in find Most-Recently-Used file mode. *:CtrlPLastMode*:CtrlPLastMode [--dir] Open CtrlP in the last mode used. When having the "--dir" argument, also reuse the last working directory.Once inside the prompt:~ <c-d> Toggle between full-path search and filename only search. Note: in filename mode, the prompt's base is '>d>' instead of '>>>' <c-r> *'ctrlp-fullregexp'* Toggle between the string mode and full regexp mode. Note: in full regexp mode, the prompt's base is 'r>>' instead of '>>>' See also: |input-formats| (guide) and |g:ctrlp_regexp_search| (option). <c-f>, 'forward' <c-up> Scroll to the 'next' search mode in the sequence. <c-b>, 'backward' <c-down> Scroll to the 'previous' search mode in the sequence. <tab> *'ctrlp-autocompletion'* Auto-complete directory names under the current working directory inside the prompt. <s-tab> Toggle the focus between the match window and the prompt. <esc>, <c-c> Exit CtrlP.Moving:~ <c-j>, <down> Move selection down. <c-k>, <up> Move selection up. <c-a> Move the cursor to the 'start' of the prompt. <c-e> Move the cursor to the 'end' of the prompt. <c-h>, <left>, <c-^> Move the cursor one character to the 'left'. <c-l>, <right> Move the cursor one character to the 'right'.Browsing input history:~ <c-n> Next string in the prompt's history. <c-p> Previous string in the prompt's history.Opening/Creating a file:~ <cr> Open the selected file in the 'current' window if possible. <c-t> Open the selected file in a new 'tab'. <c-v> Open the selected file in a 'vertical' split. <c-x>, <c-cr>, <c-s> Open the selected file in a 'horizontal' split. <c-y> Create a new file and its parent directories.Opening multiple files:~ <c-z> - Mark/unmark a file to be opened with <c-o>. - Mark/unmark a file to create a new file in its directory using <c-y>. <c-o> - Open files marked by <c-z>. - When no file has been marked by <c-z>, open a console dialog with the following options: Open the selected file: t - in a tab page. v - in a vertical split. h - in a horizontal split. r - in the current window. i - as a hidden buffer. x - (optional) with the function defined in |g:ctrlp_open_func|. Other options (not shown): a - mark all files in the match window. d - change CtrlP's local working directory to the selected file's directory and switch to find file mode.Function keys:~ <F5> - Refresh the match window and purge the cache for the current directory. - Remove deleted files from the MRU list. <F7> - Wipe the MRU list. - Delete MRU entries marked by <c-z>.
阅读全文
0 0
- CtrlP命令
- ctrlp快捷键
- Vim插件之ctrlp
- ctrlp 缓存设置
- CtrlP 在.vimrc中的配置
- vim 插件 通过vundle安装ctrlp
- 第十二章 个人渣翻译 spf13插件---ctrlp 使用教程
- vim完整开发环境配置(taglist/cscope/nerdtree/ctrlp)
- 解决Vim使用ctrlp+ag搜索不能扫描隐藏的文件和目录和自定义忽略文件问题
- 命令
- 命令
- 命令
- 命令
- 命令
- 命令
- 命令
- 命令
- 命令
- urllib.request
- 十三周 项目2
- git merge 和 git rebase 区别
- 第十五周项目一(6)——堆排序
- 微信摇一摇(模拟)
- CtrlP命令
- linux查找文件命令find
- Move Zeroes(leetcode)
- Unity3D --游戏体上所有Component组件复制
- Error:Please select Android SDK
- 态度支付,如何用聚合支付帮助商家赚钱
- Masonry学习之UILabel
- 算符优先系列之(一)Firstvt和Lastvt集 Time Limit: 1000MS Memory Limit: 65536KB Submit Statistic Problem Descri
- 字符解码时加号解码为空格问题探究