NERDTree 快捷鍵

本人博客原地址
參考鏈接:NERDTree github-nerdtree.txt

說明

  • <CR>代表enter,<C-J>代表Ctrl+j
  • ?…….Toggle the display of the quick help(快捷鍵這裏都有)…………………|NERDTree-?|
  • ctrl +w +(h/j/k/l)在分割頁左、下、上、右移動
  • g+t到下一個標籤頁,g+T到上一個標籤頁

打開文件

  • o…….Open files, directories and bookmarks………………..|NERDTree-o|
  • go……Open selected file, but leave cursor in the NERDTree…..|NERDTree-go|
  • t…….Open selected node/bookmark in a new tab……………..|NERDTree-t|
  • T…….Same as ‘t’ but keep the focus on the current tab……..|NERDTree-T|
  • i…….Open selected file in a split window(水平分割,分成上下)…………………|NERDTree-i|
  • gi……Same as i, but leave the cursor on the NERDTree……….|NERDTree-gi|
  • s…….Open selected file in a new vsplit(垂直分割,分成左右)…………………..|NERDTree-s|
  • gs……Same as s, but leave the cursor on the NERDTree……….|NERDTree-gs|
  • O…….Recursively open the selected directory………………|NERDTree-O|
  • x…….Close the current nodes parent………………………|NERDTree-x|
  • X…….Recursively close all children of the current node…….|NERDTree-X|
  • e…….Edit the current dir……………………………….|NERDTree-e|
  • <CR>……………same as |NERDTree-o|.
  • double-click…….same as the |NERDTree-o| map.
  • middle-click…….same as |NERDTree-i| for files, same as |NERDTree-e| for dirs.
  • D…….Delete the current bookmark ………………………..|NERDTree-D|

目錄相關

  • P…….Jump to the root node………………………………|NERDTree-P|
  • p…….Jump to current nodes parent………………………..|NERDTree-p|
  • K…….Jump up inside directories at the current tree depth…..|NERDTree-K|
  • J…….Jump down inside directories at the current tree depth…|NERDTree-J|
  • <C-J>…Jump down to the next sibling of the current directory…|NERDTree-C-J|
  • <C-K>…Jump up to the previous sibling of the current directory.|NERDTree-C-K|
  • C…….Change the tree root to the selected dir……………..|NERDTree-C|
  • u…….Move the tree root up one directory………………….|NERDTree-u|
  • U…….Same as ‘u’ except the old root node is left open……..|NERDTree-U|
  • r…….Recursively refresh the current directory…………….|NERDTree-r|
  • R…….Recursively refresh the current root…………………|NERDTree-R|
  • m…….Display the NERD tree menu………………………….|NERDTree-m|
  • cd……Change the CWD to the dir of the selected node………..|NERDTree-cd|
  • CD……Change tree root to the CWD…………………………|NERDTree-CD|

文件顯示

  • I…….Toggle whether hidden files displayed………………..|NERDTree-I|
  • f…….Toggle whether the file filters are used……………..|NERDTree-f|
  • F…….Toggle whether files are displayed…………………..|NERDTree-F|
  • B…….Toggle whether the bookmark table is displayed………..|NERDTree-B|

其它

  • q…….Close the NERDTree window…………………………..|NERDTree-q|
  • A…….Zoom (maximize/minimize) the NERDTree window………….|NERDTree-A|
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章