NERDTree快捷键

" NERDTree (5.2.6) quickhelp~  |
" ============================ |~
" File node mappings~          |~
" double-click,                |~
" o: open in prev window       |~ 在已有窗口中打开文件,并跳到该窗口
" go: preview                  |~ 在已有窗口中打开文件,但不跳到该窗口
" t: open in new tab           |~ 在新Tab中打开选中文件,并跳到新Tab
" T: open in new tab silently  |~ 在新Tab中打开选中文件,但不跳到新Tab
" middle-click,                |~
" i: open split                |~ split 一个新窗口打开选中文件,并跳到该窗口
" gi: preview split            |~ split 一个新窗口打开选中文件,但不跳到该窗口
" s: open vsplit               |~ vsplit 一个新窗口打开选中文件,并跳到该窗口
" gs: preview vsplit           |~ vsplit 一个新窗口打开选中文件,并跳到该窗口
" <CR>: custom open            |~
"                              |~
" ---------------------------- |~
" Directory node mappings~     |~ 
" double-click,                |~
" o: open & close node         |~ 开关闭节点
" O: recursively open node     |~ 递归打开选中 结点下的所有目录
" t: open in new tab           |~ 在新Tab中打开选中目录,并跳到新Tab
" T: open in new tab silently  |~ 在新Tab中打开选中目录,但不跳到新Tab
" <CR>: custom open            |~
" x: close parent of node      |~ 合拢选中结点的父目录
" X: close all child nodes of  |~ 递归合拢选中结点下的所有目录
"    current node recursively  |~
" middle-click,                |~
" e: explore selected dir      |~ 浏览当前目录
"                              |~
" ---------------------------- |~
" Bookmark table mappings~     |~
" double-click,                |~
" o: open bookmark             |~ 在已有窗口中打开书签,并跳到该窗口
" go: preview file             |~ 在已有窗口中打开书签,但不跳到该窗口
" go: find dir in tree         |~
" t: open in new tab           |~ 在新Tab中打开选中书签,并跳到新Tab
" T: open in new tab silently  |~ 在新Tab中打开选中书签,但不到新Tab
" <CR>: custom open            |~
" D: delete bookmark           |~ 删除书签
"                              |~
" ---------------------------- |~
" Tree navigation mappings~    |~
" P: go to root                |~ 跳到根结点
" p: go to parent              |~ 跳到父结点
" K: go to first child         |~ 跳到当前目录下同级的第一个结点
" J: go to last child          |~ 到当前目录下同级的最后一个结点
" <C-j>: go to next sibling    |~ 跳到当前目录下的前一个结点
" <C-k>: go to prev sibling    |~ 跳到当前目录下的后一个结点
"                              |
" ---------------------------- |~
" Filesystem mappings~         |~
" C: change tree root to the   |~ 将选中目录或选中文件的父目录设为根结点
"    selected dir              |~
" u: move tree root up a dir   |~ 将根结点的父目录设为根目录,并变成合拢原根结点
" U: move tree root up a dir   |~ 将根结点的父目录设为根目录,但保持展开原根结点
"    but leave old root open   |~
" r: refresh cursor dir        |~ 递归刷新选中目录
" R: refresh current root      |~ 递归刷新根结点
" m: Show menu                 |~ 显示文件系统菜单
" cd:change the CWD to the     |~
"    selected dir              |~
" CD:change tree root to CWD   |~
"                              |~
" ---------------------------- |~
" Tree filtering mappings~     |~
" I: hidden files (off)        |~ 切换是否显示隐藏文件
" f: file filters (on)         |~ 切换是否使用文件过滤器
" F: files (on)                |~ 切换是否显示文件
" B: bookmarks (off)           |~ 切换是否显示书签
"                              |~
" ---------------------------- |~
" Custom mappings~             |~
"                              |~
" ---------------------------- |~
" Other mappings~              |~
" q: Close the NERDTree window |~ 关闭 NerdTree 窗口
" A: Zoom (maximize-minimize)  |~ 最大化或最小化 NerdTree 窗口
"    the NERDTree window       |~
" ?: toggle help               |~ 切换是否显示 Quick Help
"                              |~
" ---------------------------- |~
" Bookmark commands~           |~
" :Bookmark [<name>]           |~ 将选中结点添加到书签列表中,并命名为name(书签名不可包含空格);如与现有书签重名,则覆盖现有书签
" :BookmarkToRoot <name>       |~ 以指定目录书签或文件书签的父目录作为根结点显示NerdTree
" :RevealBookmark <name>       |~ 如果指定书签已经存在于当前目录树下,打开它的上层结点并选中该书签
" :OpenBookmark <name>         |~ 打开指定的文件。(参数必须是文件书签)如果该文件在当前的目录树下,则打开它的上层结点并选中该书签
" :ClearBookmarks [<names>]    |~ 清除指定书签;如未指定参数,则清除所有书签
" :ClearAllBookmarks           |~ 清除所有书签
" :ReadBookmarks               |~
" :WriteBookmarks              |~
" :EditBookmarks               |~  
" ---------------------------- |~
" Tab page commands~           |~
" :tabnew [++opt选项] [+cmd] |~ 建立对指定文件新的tab
" :tabc                        |~ 关闭当前的 tab
" :tabo                        |~ 关闭所有其他的 tab
" :tabs                        |~ 查看所有打开的 tab
" :tabp                        |~ 前一个 tab
" :tabn                        |~ 后一个 tab
" gT                           |~ 前一个 tab
" gt                           |~ 后一个 tab

发表评论

电子邮件地址不会被公开。 必填项已用*标注