A tree explorer plugin for vim.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1349 lines
54 KiB

16 years ago
14 years ago
15 years ago
14 years ago
14 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
  1. *NERD_tree.txt* A tree explorer plugin that owns your momma!
  2. omg its ... ~
  3. ________ ________ _ ____________ ____ __________ ____________~
  4. /_ __/ / / / ____/ / | / / ____/ __ \/ __ \ /_ __/ __ \/ ____/ ____/~
  5. / / / /_/ / __/ / |/ / __/ / /_/ / / / / / / / /_/ / __/ / __/ ~
  6. / / / __ / /___ / /| / /___/ _, _/ /_/ / / / / _, _/ /___/ /___ ~
  7. /_/ /_/ /_/_____/ /_/ |_/_____/_/ |_/_____/ /_/ /_/ |_/_____/_____/ ~
  8. Reference Manual~
  9. ==============================================================================
  10. CONTENTS *NERDTree-contents*
  11. 1.Intro...................................|NERDTree|
  12. 2.Functionality provided..................|NERDTreeFunctionality|
  13. 2.1.Global commands...................|NERDTreeGlobalCommands|
  14. 2.2.Bookmarks.........................|NERDTreeBookmarks|
  15. 2.2.1.The bookmark table..........|NERDTreeBookmarkTable|
  16. 2.2.2.Bookmark commands...........|NERDTreeBookmarkCommands|
  17. 2.2.3.Invalid bookmarks...........|NERDTreeInvalidBookmarks|
  18. 2.3.NERD tree mappings................|NERDTreeMappings|
  19. 2.4.The NERD tree menu................|NERDTreeMenu|
  20. 3.Options.................................|NERDTreeOptions|
  21. 3.1.Option summary....................|NERDTreeOptionSummary|
  22. 3.2.Option details....................|NERDTreeOptionDetails|
  23. 4.The NERD tree API.......................|NERDTreeAPI|
  24. 4.1.Key map API.......................|NERDTreeKeymapAPI|
  25. 4.2.Menu API..........................|NERDTreeMenuAPI|
  26. 5.About...................................|NERDTreeAbout|
  27. 6.Changelog...............................|NERDTreeChangelog|
  28. 7.Credits.................................|NERDTreeCredits|
  29. 8.License.................................|NERDTreeLicense|
  30. ==============================================================================
  31. 1. Intro *NERDTree*
  32. What is this "NERD tree"??
  33. The NERD tree allows you to explore your filesystem and to open files and
  34. directories. It presents the filesystem to you in the form of a tree which you
  35. manipulate with the keyboard and/or mouse. It also allows you to perform
  36. simple filesystem operations.
  37. The following features and functionality are provided by the NERD tree:
  38. * Files and directories are displayed in a hierarchical tree structure
  39. * Different highlighting is provided for the following types of nodes:
  40. * files
  41. * directories
  42. * sym-links
  43. * windows .lnk files
  44. * read-only files
  45. * executable files
  46. * Many (customisable) mappings are provided to manipulate the tree:
  47. * Mappings to open/close/explore directory nodes
  48. * Mappings to open files in new/existing windows/tabs
  49. * Mappings to change the current root of the tree
  50. * Mappings to navigate around the tree
  51. * ...
  52. * Directories and files can be bookmarked.
  53. * Most NERD tree navigation can also be done with the mouse
  54. * Filtering of tree content (can be toggled at runtime)
  55. * custom file filters to prevent e.g. vim backup files being displayed
  56. * optional displaying of hidden files (. files)
  57. * files can be "turned off" so that only directories are displayed
  58. * The position and size of the NERD tree window can be customised
  59. * The order in which the nodes in the tree are listed can be customised.
  60. * A model of your filesystem is created/maintained as you explore it. This
  61. has several advantages:
  62. * All filesystem information is cached and is only re-read on demand
  63. * If you revisit a part of the tree that you left earlier in your
  64. session, the directory nodes will be opened/closed as you left them
  65. * The script remembers the cursor position and window position in the NERD
  66. tree so you can toggle it off (or just close the tree window) and then
  67. reopen it (with NERDTreeToggle) the NERD tree window will appear exactly
  68. as you left it
  69. * You can have a separate NERD tree for each tab, share trees across tabs,
  70. or a mix of both.
  71. * By default the script overrides the default file browser (netw), so if
  72. you :edit a directory a (slighly modified) NERD tree will appear in the
  73. current window
  74. * A programmable menu system is provided (simulates right clicking on a
  75. node)
  76. * one default menu plugin is provided to perform basic filesytem
  77. operations (create/delete/move/copy files/directories)
  78. * There's an API for adding your own keymappings
  79. ==============================================================================
  80. 2. Functionality provided *NERDTreeFunctionality*
  81. ------------------------------------------------------------------------------
  82. 2.1. Global Commands *NERDTreeGlobalCommands*
  83. :NERDTree [<start-directory> | <bookmark>] *:NERDTree*
  84. Opens a fresh NERD tree. The root of the tree depends on the argument
  85. given. There are 3 cases: If no argument is given, the current directory
  86. will be used. If a directory is given, that will be used. If a bookmark
  87. name is given, the corresponding directory will be used. For example: >
  88. :NERDTree /home/marty/vim7/src
  89. :NERDTree foo (foo is the name of a bookmark)
  90. <
  91. :NERDTreeFromBookmark <bookmark> *:NERDTreeFromBookmark*
  92. Opens a fresh NERD tree with the root initialized to the dir for
  93. <bookmark>. This only reason to use this command over :NERDTree is for
  94. the completion (which is for bookmarks rather than directories).
  95. :NERDTreeToggle [<start-directory> | <bookmark>] *:NERDTreeToggle*
  96. If a NERD tree already exists for this tab, it is reopened and rendered
  97. again. If no NERD tree exists for this tab then this command acts the
  98. same as the |:NERDTree| command.
  99. :NERDTreeMirror *:NERDTreeMirror*
  100. Shares an existing NERD tree, from another tab, in the current tab.
  101. Changes made to one tree are reflected in both as they are actually the
  102. same buffer.
  103. If only one other NERD tree exists, that tree is automatically mirrored. If
  104. more than one exists, the script will ask which tree to mirror.
  105. :NERDTreeClose *:NERDTreeClose*
  106. Close the NERD tree in this tab.
  107. :NERDTreeFind *:NERDTreeFind*
  108. Find the current file in the tree.
  109. If not tree exists and the current file is under vim's CWD, then init a
  110. tree at the CWD and reveal the file. Otherwise init a tree in the current
  111. file's directory.
  112. In any case, the current file is revealed and the cursor is placed on it.
  113. ------------------------------------------------------------------------------
  114. 2.2. Bookmarks *NERDTreeBookmarks*
  115. Bookmarks in the NERD tree are a way to tag files or directories of interest.
  116. For example, you could use bookmarks to tag all of your project directories.
  117. ------------------------------------------------------------------------------
  118. 2.2.1. The Bookmark Table *NERDTreeBookmarkTable*
  119. If the bookmark table is active (see |NERDTree-B| and
  120. |'NERDTreeShowBookmarks'|), it will be rendered above the tree. You can double
  121. click bookmarks or use the |NERDTree-o| mapping to activate them. See also,
  122. |NERDTree-t| and |NERDTree-T|
  123. ------------------------------------------------------------------------------
  124. 2.2.2. Bookmark commands *NERDTreeBookmarkCommands*
  125. Note that the following commands are only available in the NERD tree buffer.
  126. :Bookmark <name>
  127. Bookmark the current node as <name>. If there is already a <name>
  128. bookmark, it is overwritten. <name> must not contain spaces.
  129. If <name> is not provided, it defaults to the file or directory name.
  130. For directories, a trailing slash is present.
  131. :BookmarkToRoot <bookmark>
  132. Make the directory corresponding to <bookmark> the new root. If a treenode
  133. corresponding to <bookmark> is already cached somewhere in the tree then
  134. the current tree will be used, otherwise a fresh tree will be opened.
  135. Note that if <bookmark> points to a file then its parent will be used
  136. instead.
  137. :RevealBookmark <bookmark>
  138. If the node is cached under the current root then it will be revealed
  139. (i.e. directory nodes above it will be opened) and the cursor will be
  140. placed on it.
  141. :OpenBookmark <bookmark>
  142. <bookmark> must point to a file. The file is opened as though |NERDTree-o|
  143. was applied. If the node is cached under the current root then it will be
  144. revealed and the cursor will be placed on it.
  145. :ClearBookmarks [<bookmarks>]
  146. Remove all the given bookmarks. If no bookmarks are given then remove all
  147. bookmarks on the current node.
  148. :ClearAllBookmarks
  149. Remove all bookmarks.
  150. :ReadBookmarks
  151. Re-read the bookmarks in the |'NERDTreeBookmarksFile'|.
  152. See also |:NERDTree| and |:NERDTreeFromBookmark|.
  153. ------------------------------------------------------------------------------
  154. 2.2.3. Invalid Bookmarks *NERDTreeInvalidBookmarks*
  155. If invalid bookmarks are detected, the script will issue an error message and
  156. the invalid bookmarks will become unavailable for use.
  157. These bookmarks will still be stored in the bookmarks file (see
  158. |'NERDTreeBookmarksFile'|), down the bottom. There will always be a blank line
  159. after the valid bookmarks but before the invalid ones.
  160. Each line in the bookmarks file represents one bookmark. The proper format is:
  161. <bookmark name><space><full path to the bookmark location>
  162. After you have corrected any invalid bookmarks, either restart vim, or go
  163. :ReadBookmarks from the NERD tree window.
  164. ------------------------------------------------------------------------------
  165. 2.3. NERD tree Mappings *NERDTreeMappings*
  166. Default Description~ help-tag~
  167. Key~
  168. o.......Open files, directories and bookmarks....................|NERDTree-o|
  169. go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
  170. t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
  171. T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
  172. i.......Open selected file in a split window.....................|NERDTree-i|
  173. gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
  174. s.......Open selected file in a new vsplit.......................|NERDTree-s|
  175. gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
  176. O.......Recursively open the selected directory..................|NERDTree-O|
  177. x.......Close the current nodes parent...........................|NERDTree-x|
  178. X.......Recursively close all children of the current node.......|NERDTree-X|
  179. e.......Edit the current dif.....................................|NERDTree-e|
  180. <CR>...............same as |NERDTree-o|.
  181. double-click.......same as the |NERDTree-o| map.
  182. middle-click.......same as |NERDTree-i| for files, same as
  183. |NERDTree-e| for dirs.
  184. D.......Delete the current bookmark .............................|NERDTree-D|
  185. P.......Jump to the root node....................................|NERDTree-P|
  186. p.......Jump to current nodes parent.............................|NERDTree-p|
  187. K.......Jump up inside directories at the current tree depth.....|NERDTree-K|
  188. J.......Jump down inside directories at the current tree depth...|NERDTree-J|
  189. <C-J>...Jump down to the next sibling of the current directory...|NERDTree-C-J|
  190. <C-K>...Jump up to the previous sibling of the current directory.|NERDTree-C-K|
  191. C.......Change the tree root to the selected dir.................|NERDTree-C|
  192. u.......Move the tree root up one directory......................|NERDTree-u|
  193. U.......Same as 'u' except the old root node is left open........|NERDTree-U|
  194. r.......Recursively refresh the current directory................|NERDTree-r|
  195. R.......Recursively refresh the current root.....................|NERDTree-R|
  196. m.......Display the NERD tree menu...............................|NERDTree-m|
  197. cd......Change the CWD to the dir of the selected node...........|NERDTree-cd|
  198. I.......Toggle whether hidden files displayed....................|NERDTree-I|
  199. f.......Toggle whether the file filters are used.................|NERDTree-f|
  200. F.......Toggle whether files are displayed.......................|NERDTree-F|
  201. B.......Toggle whether the bookmark table is displayed...........|NERDTree-B|
  202. q.......Close the NERDTree window................................|NERDTree-q|
  203. A.......Zoom (maximize/minimize) the NERDTree window.............|NERDTree-A|
  204. ?.......Toggle the display of the quick help.....................|NERDTree-?|
  205. ------------------------------------------------------------------------------
  206. *NERDTree-o*
  207. Default key: o
  208. Map option: NERDTreeMapActivateNode
  209. Applies to: files and directories.
  210. If a file node is selected, it is opened in the previous window.
  211. If a directory is selected it is opened or closed depending on its current
  212. state.
  213. If a bookmark that links to a directory is selected then that directory
  214. becomes the new root.
  215. If a bookmark that links to a file is selected then that file is opened in the
  216. previous window.
  217. ------------------------------------------------------------------------------
  218. *NERDTree-go*
  219. Default key: go
  220. Map option: None
  221. Applies to: files.
  222. If a file node is selected, it is opened in the previous window, but the
  223. cursor does not move.
  224. The key combo for this mapping is always "g" + NERDTreeMapActivateNode (see
  225. |NERDTree-o|).
  226. ------------------------------------------------------------------------------
  227. *NERDTree-t*
  228. Default key: t
  229. Map option: NERDTreeMapOpenInTab
  230. Applies to: files and directories.
  231. Opens the selected file in a new tab. If a directory is selected, a fresh
  232. NERD Tree for that directory is opened in a new tab.
  233. If a bookmark which points to a directory is selected, open a NERD tree for
  234. that directory in a new tab. If the bookmark points to a file, open that file
  235. in a new tab.
  236. ------------------------------------------------------------------------------
  237. *NERDTree-T*
  238. Default key: T
  239. Map option: NERDTreeMapOpenInTabSilent
  240. Applies to: files and directories.
  241. The same as |NERDTree-t| except that the focus is kept in the current tab.
  242. ------------------------------------------------------------------------------
  243. *NERDTree-i*
  244. Default key: i
  245. Map option: NERDTreeMapOpenSplit
  246. Applies to: files.
  247. Opens the selected file in a new split window and puts the cursor in the new
  248. window.
  249. ------------------------------------------------------------------------------
  250. *NERDTree-gi*
  251. Default key: gi
  252. Map option: None
  253. Applies to: files.
  254. The same as |NERDTree-i| except that the cursor is not moved.
  255. The key combo for this mapping is always "g" + NERDTreeMapOpenSplit (see
  256. |NERDTree-i|).
  257. ------------------------------------------------------------------------------
  258. *NERDTree-s*
  259. Default key: s
  260. Map option: NERDTreeMapOpenVSplit
  261. Applies to: files.
  262. Opens the selected file in a new vertically split window and puts the cursor in
  263. the new window.
  264. ------------------------------------------------------------------------------
  265. *NERDTree-gs*
  266. Default key: gs
  267. Map option: None
  268. Applies to: files.
  269. The same as |NERDTree-s| except that the cursor is not moved.
  270. The key combo for this mapping is always "g" + NERDTreeMapOpenVSplit (see
  271. |NERDTree-s|).
  272. ------------------------------------------------------------------------------
  273. *NERDTree-O*
  274. Default key: O
  275. Map option: NERDTreeMapOpenRecursively
  276. Applies to: directories.
  277. Recursively opens the selelected directory.
  278. All files and directories are cached, but if a directory would not be
  279. displayed due to file filters (see |'NERDTreeIgnore'| |NERDTree-f|) or the
  280. hidden file filter (see |'NERDTreeShowHidden'|) then its contents are not
  281. cached. This is handy, especially if you have .svn directories.
  282. ------------------------------------------------------------------------------
  283. *NERDTree-x*
  284. Default key: x
  285. Map option: NERDTreeMapCloseDir
  286. Applies to: files and directories.
  287. Closes the parent of the selected node.
  288. ------------------------------------------------------------------------------
  289. *NERDTree-X*
  290. Default key: X
  291. Map option: NERDTreeMapCloseChildren
  292. Applies to: directories.
  293. Recursively closes all children of the selected directory.
  294. Tip: To quickly "reset" the tree, use |NERDTree-P| with this mapping.
  295. ------------------------------------------------------------------------------
  296. *NERDTree-e*
  297. Default key: e
  298. Map option: NERDTreeMapOpenExpl
  299. Applies to: files and directories.
  300. |:edit|s the selected directory, or the selected file's directory. This could
  301. result in a NERD tree or a netrw being opened, depending on
  302. |'NERDTreeHijackNetrw'|.
  303. ------------------------------------------------------------------------------
  304. *NERDTree-D*
  305. Default key: D
  306. Map option: NERDTreeMapDeleteBookmark
  307. Applies to: lines in the bookmarks table
  308. Deletes the currently selected bookmark.
  309. ------------------------------------------------------------------------------
  310. *NERDTree-P*
  311. Default key: P
  312. Map option: NERDTreeMapJumpRoot
  313. Applies to: no restrictions.
  314. Jump to the tree root.
  315. ------------------------------------------------------------------------------
  316. *NERDTree-p*
  317. Default key: p
  318. Map option: NERDTreeMapJumpParent
  319. Applies to: files and directories.
  320. Jump to the parent node of the selected node.
  321. ------------------------------------------------------------------------------
  322. *NERDTree-K*
  323. Default key: K
  324. Map option: NERDTreeMapJumpFirstChild
  325. Applies to: files and directories.
  326. Jump to the first child of the current nodes parent.
  327. If the cursor is already on the first node then do the following:
  328. * loop back thru the siblings of the current nodes parent until we find an
  329. open dir with children
  330. * go to the first child of that node
  331. ------------------------------------------------------------------------------
  332. *NERDTree-J*
  333. Default key: J
  334. Map option: NERDTreeMapJumpLastChild
  335. Applies to: files and directories.
  336. Jump to the last child of the current nodes parent.
  337. If the cursor is already on the last node then do the following:
  338. * loop forward thru the siblings of the current nodes parent until we find
  339. an open dir with children
  340. * go to the last child of that node
  341. ------------------------------------------------------------------------------
  342. *NERDTree-C-J*
  343. Default key: <C-J>
  344. Map option: NERDTreeMapJumpNextSibling
  345. Applies to: files and directories.
  346. Jump to the next sibling of the selected node.
  347. ------------------------------------------------------------------------------
  348. *NERDTree-C-K*
  349. Default key: <C-K>
  350. Map option: NERDTreeMapJumpPrevSibling
  351. Applies to: files and directories.
  352. Jump to the previous sibling of the selected node.
  353. ------------------------------------------------------------------------------
  354. *NERDTree-C*
  355. Default key: C
  356. Map option: NERDTreeMapChdir
  357. Applies to: directories.
  358. Make the selected directory node the new tree root. If a file is selected, its
  359. parent is used.
  360. ------------------------------------------------------------------------------
  361. *NERDTree-u*
  362. Default key: u
  363. Map option: NERDTreeMapUpdir
  364. Applies to: no restrictions.
  365. Move the tree root up a dir (like doing a "cd ..").
  366. ------------------------------------------------------------------------------
  367. *NERDTree-U*
  368. Default key: U
  369. Map option: NERDTreeMapUpdirKeepOpen
  370. Applies to: no restrictions.
  371. Like |NERDTree-u| except that the old tree root is kept open.
  372. ------------------------------------------------------------------------------
  373. *NERDTree-r*
  374. Default key: r
  375. Map option: NERDTreeMapRefresh
  376. Applies to: files and directories.
  377. If a dir is selected, recursively refresh that dir, i.e. scan the filesystem
  378. for changes and represent them in the tree.
  379. If a file node is selected then the above is done on it's parent.
  380. ------------------------------------------------------------------------------
  381. *NERDTree-R*
  382. Default key: R
  383. Map option: NERDTreeMapRefreshRoot
  384. Applies to: no restrictions.
  385. Recursively refresh the tree root.
  386. ------------------------------------------------------------------------------
  387. *NERDTree-m*
  388. Default key: m
  389. Map option: NERDTreeMapMenu
  390. Applies to: files and directories.
  391. Display the NERD tree menu. See |NERDTreeMenu| for details.
  392. ------------------------------------------------------------------------------
  393. *NERDTree-cd*
  394. Default key: cd
  395. Map option: NERDTreeMapChdir
  396. Applies to: files and directories.
  397. Change vims current working directory to that of the selected node.
  398. ------------------------------------------------------------------------------
  399. *NERDTree-I*
  400. Default key: I
  401. Map option: NERDTreeMapToggleHidden
  402. Applies to: no restrictions.
  403. Toggles whether hidden files (i.e. "dot files") are displayed.
  404. ------------------------------------------------------------------------------
  405. *NERDTree-f*
  406. Default key: f
  407. Map option: NERDTreeMapToggleFilters
  408. Applies to: no restrictions.
  409. Toggles whether file filters are used. See |'NERDTreeIgnore'| for details.
  410. ------------------------------------------------------------------------------
  411. *NERDTree-F*
  412. Default key: F
  413. Map option: NERDTreeMapToggleFiles
  414. Applies to: no restrictions.
  415. Toggles whether file nodes are displayed.
  416. ------------------------------------------------------------------------------
  417. *NERDTree-B*
  418. Default key: B
  419. Map option: NERDTreeMapToggleBookmarks
  420. Applies to: no restrictions.
  421. Toggles whether the bookmarks table is displayed.
  422. ------------------------------------------------------------------------------
  423. *NERDTree-q*
  424. Default key: q
  425. Map option: NERDTreeMapQuit
  426. Applies to: no restrictions.
  427. Closes the NERDtree window.
  428. ------------------------------------------------------------------------------
  429. *NERDTree-A*
  430. Default key: A
  431. Map option: NERDTreeMapToggleZoom
  432. Applies to: no restrictions.
  433. Maximize (zoom) and minimize the NERDtree window.
  434. ------------------------------------------------------------------------------
  435. *NERDTree-?*
  436. Default key: ?
  437. Map option: NERDTreeMapHelp
  438. Applies to: no restrictions.
  439. Toggles whether the quickhelp is displayed.
  440. ------------------------------------------------------------------------------
  441. 2.3. The NERD tree menu *NERDTreeMenu*
  442. The NERD tree has a menu that can be programmed via the an API (see
  443. |NERDTreeMenuAPI|). The idea is to simulate the "right click" menus that most
  444. file explorers have.
  445. The script comes with two default menu plugins: exec_menuitem.vim and
  446. fs_menu.vim. fs_menu.vim adds some basic filesystem operations to the menu for
  447. creating/deleting/moving/copying files and dirs. exec_menuitem.vim provides a
  448. menu item to execute executable files.
  449. Related tags: |NERDTree-m| |NERDTreeApi|
  450. ==============================================================================
  451. 3. Customisation *NERDTreeOptions*
  452. ------------------------------------------------------------------------------
  453. 3.1. Customisation summary *NERDTreeOptionSummary*
  454. The script provides the following options that can customise the behaviour the
  455. NERD tree. These options should be set in your vimrc.
  456. |'loaded_nerd_tree'| Turns off the script.
  457. |'NERDChristmasTree'| Tells the NERD tree to make itself colourful
  458. and pretty.
  459. |'NERDTreeAutoCenter'| Controls whether the NERD tree window centers
  460. when the cursor moves within a specified
  461. distance to the top/bottom of the window.
  462. |'NERDTreeAutoCenterThreshold'| Controls the sensitivity of autocentering.
  463. |'NERDTreeCaseSensitiveSort'| Tells the NERD tree whether to be case
  464. sensitive or not when sorting nodes.
  465. |'NERDTreeChDirMode'| Tells the NERD tree if/when it should change
  466. vim's current working directory.
  467. |'NERDTreeHighlightCursorline'| Tell the NERD tree whether to highlight the
  468. current cursor line.
  469. |'NERDTreeHijackNetrw'| Tell the NERD tree whether to replace the netrw
  470. autocommands for exploring local directories.
  471. |'NERDTreeIgnore'| Tells the NERD tree which files to ignore.
  472. |'NERDTreeBookmarksFile'| Where the bookmarks are stored.
  473. |'NERDTreeMouseMode'| Tells the NERD tree how to handle mouse
  474. clicks.
  475. |'NERDTreeQuitOnOpen'| Closes the tree window after opening a file.
  476. |'NERDTreeShowBookmarks'| Tells the NERD tree whether to display the
  477. bookmarks table on startup.
  478. |'NERDTreeShowFiles'| Tells the NERD tree whether to display files
  479. in the tree on startup.
  480. |'NERDTreeShowHidden'| Tells the NERD tree whether to display hidden
  481. files on startup.
  482. |'NERDTreeShowLineNumbers'| Tells the NERD tree whether to display line
  483. numbers in the tree window.
  484. |'NERDTreeSortOrder'| Tell the NERD tree how to sort the nodes in
  485. the tree.
  486. |'NERDTreeStatusline'| Set a statusline for NERD tree windows.
  487. |'NERDTreeWinPos'| Tells the script where to put the NERD tree
  488. window.
  489. |'NERDTreeWinSize'| Sets the window size when the NERD tree is
  490. opened.
  491. |'NERDTreeMinimalUI'| Disables display of the 'Bookmarks' label and
  492. 'Press ? for help' text.
  493. |'NERDTreeDirArrows'| Tells the NERD tree to use arrows instead of
  494. + ~ chars when displaying directories.
  495. |'NERDTreeCasadeOpenSingleChildDir'|
  496. Casade open while selected directory has only
  497. one child that also is a directory.
  498. |'NERDTreeAutoDeleteBuffer'| Tells the NERD tree to automatically remove
  499. a buffer when a file is being deleted or renamed
  500. via a context menu command.
  501. ------------------------------------------------------------------------------
  502. 3.2. Customisation details *NERDTreeOptionDetails*
  503. To enable any of the below options you should put the given line in your
  504. ~/.vimrc
  505. *'loaded_nerd_tree'*
  506. If this plugin is making you feel homicidal, it may be a good idea to turn it
  507. off with this line in your vimrc: >
  508. let loaded_nerd_tree=1
  509. <
  510. ------------------------------------------------------------------------------
  511. *'NERDChristmasTree'*
  512. Values: 0 or 1.
  513. Default: 1.
  514. If this option is set to 1 then some extra syntax highlighting elements are
  515. added to the nerd tree to make it more colourful.
  516. Set it to 0 for a more vanilla looking tree.
  517. ------------------------------------------------------------------------------
  518. *'NERDTreeAutoCenter'*
  519. Values: 0 or 1.
  520. Default: 1
  521. If set to 1, the NERD tree window will center around the cursor if it moves to
  522. within |'NERDTreeAutoCenterThreshold'| lines of the top/bottom of the window.
  523. This is ONLY done in response to tree navigation mappings,
  524. i.e. |NERDTree-J| |NERDTree-K| |NERDTree-C-J| |NERDTree-C-K| |NERDTree-p|
  525. |NERDTree-P|
  526. The centering is done with a |zz| operation.
  527. ------------------------------------------------------------------------------
  528. *'NERDTreeAutoCenterThreshold'*
  529. Values: Any natural number.
  530. Default: 3
  531. This option controls the "sensitivity" of the NERD tree auto centering. See
  532. |'NERDTreeAutoCenter'| for details.
  533. ------------------------------------------------------------------------------
  534. *'NERDTreeCaseSensitiveSort'*
  535. Values: 0 or 1.
  536. Default: 0.
  537. By default the NERD tree does not sort nodes case sensitively, i.e. nodes
  538. could appear like this: >
  539. bar.c
  540. Baz.c
  541. blarg.c
  542. boner.c
  543. Foo.c
  544. <
  545. But, if you set this option to 1 then the case of the nodes will be taken into
  546. account. The above nodes would then be sorted like this: >
  547. Baz.c
  548. Foo.c
  549. bar.c
  550. blarg.c
  551. boner.c
  552. <
  553. ------------------------------------------------------------------------------
  554. *'NERDTreeChDirMode'*
  555. Values: 0, 1 or 2.
  556. Default: 0.
  557. Use this option to tell the script when (if at all) to change the current
  558. working directory (CWD) for vim.
  559. If it is set to 0 then the CWD is never changed by the NERD tree.
  560. If set to 1 then the CWD is changed when the NERD tree is first loaded to the
  561. directory it is initialized in. For example, if you start the NERD tree with >
  562. :NERDTree /home/marty/foobar
  563. <
  564. then the CWD will be changed to /home/marty/foobar and will not be changed
  565. again unless you init another NERD tree with a similar command.
  566. If the option is set to 2 then it behaves the same as if set to 1 except that
  567. the CWD is changed whenever the tree root is changed. For example, if the CWD
  568. is /home/marty/foobar and you make the node for /home/marty/foobar/baz the new
  569. root then the CWD will become /home/marty/foobar/baz.
  570. ------------------------------------------------------------------------------
  571. *'NERDTreeHighlightCursorline'*
  572. Values: 0 or 1.
  573. Default: 1.
  574. If set to 1, the current cursor line in the NERD tree buffer will be
  575. highlighted. This is done using the |'cursorline'| option.
  576. ------------------------------------------------------------------------------
  577. *'NERDTreeHijackNetrw'*
  578. Values: 0 or 1.
  579. Default: 1.
  580. If set to 1, doing a >
  581. :edit <some directory>
  582. <
  583. will open up a "secondary" NERD tree instead of a netrw in the target window.
  584. Secondary NERD trees behaves slighly different from a regular trees in the
  585. following respects:
  586. 1. 'o' will open the selected file in the same window as the tree,
  587. replacing it.
  588. 2. you can have as many secondary tree as you want in the same tab.
  589. ------------------------------------------------------------------------------
  590. *'NERDTreeIgnore'*
  591. Values: a list of regular expressions.
  592. Default: ['\~$'].
  593. This option is used to specify which files the NERD tree should ignore. It
  594. must be a list of regular expressions. When the NERD tree is rendered, any
  595. files/dirs that match any of the regex's in 'NERDTreeIgnore' wont be
  596. displayed.
  597. For example if you put the following line in your vimrc: >
  598. let NERDTreeIgnore=['\.vim$', '\~$']
  599. <
  600. then all files ending in .vim or ~ will be ignored.
  601. There are 2 magic flags that can be appended to the end of each regular
  602. expression to specify that the regex should match only files or only dirs.
  603. These flags are "[[dir]]" and "[[file]]". Example: >
  604. let NERDTreeIgnore=['.d$[[dir]]', '.o$[[file]]']
  605. <
  606. This will cause all dirs ending in ".d" to be ignored and all files ending in
  607. ".o" to be ignored.
  608. Note: to tell the NERD tree not to ignore any files you must use the following
  609. line: >
  610. let NERDTreeIgnore=[]
  611. <
  612. The file filters can be turned on and off dynamically with the |NERDTree-f|
  613. mapping.
  614. ------------------------------------------------------------------------------
  615. *'NERDTreeBookmarksFile'*
  616. Values: a path
  617. Default: $HOME/.NERDTreeBookmarks
  618. This is where bookmarks are saved. See |NERDTreeBookmarkCommands|.
  619. ------------------------------------------------------------------------------
  620. *'NERDTreeMouseMode'*
  621. Values: 1, 2 or 3.
  622. Default: 1.
  623. If set to 1 then a double click on a node is required to open it.
  624. If set to 2 then a single click will open directory nodes, while a double
  625. click will still be required for file nodes.
  626. If set to 3 then a single click will open any node.
  627. Note: a double click anywhere on a line that a tree node is on will
  628. activate it, but all single-click activations must be done on name of the node
  629. itself. For example, if you have the following node: >
  630. | | |-application.rb
  631. <
  632. then (to single click activate it) you must click somewhere in
  633. 'application.rb'.
  634. ------------------------------------------------------------------------------
  635. *'NERDTreeQuitOnOpen'*
  636. Values: 0 or 1.
  637. Default: 0
  638. If set to 1, the NERD tree window will close after opening a file with the
  639. |NERDTree-o|, |NERDTree-i|, |NERDTree-t| and |NERDTree-T| mappings.
  640. ------------------------------------------------------------------------------
  641. *'NERDTreeShowBookmarks'*
  642. Values: 0 or 1.
  643. Default: 0.
  644. If this option is set to 1 then the bookmarks table will be displayed.
  645. This option can be toggled dynamically, per tree, with the |NERDTree-B|
  646. mapping.
  647. ------------------------------------------------------------------------------
  648. *'NERDTreeShowFiles'*
  649. Values: 0 or 1.
  650. Default: 1.
  651. If this option is set to 1 then files are displayed in the NERD tree. If it is
  652. set to 0 then only directories are displayed.
  653. This option can be toggled dynamically, per tree, with the |NERDTree-F|
  654. mapping and is useful for drastically shrinking the tree when you are
  655. navigating to a different part of the tree.
  656. ------------------------------------------------------------------------------
  657. *'NERDTreeShowHidden'*
  658. Values: 0 or 1.
  659. Default: 0.
  660. This option tells vim whether to display hidden files by default. This option
  661. can be dynamically toggled, per tree, with the |NERDTree-I| mapping. Use one
  662. of the follow lines to set this option: >
  663. let NERDTreeShowHidden=0
  664. let NERDTreeShowHidden=1
  665. <
  666. ------------------------------------------------------------------------------
  667. *'NERDTreeShowLineNumbers'*
  668. Values: 0 or 1.
  669. Default: 0.
  670. This option tells vim whether to display line numbers for the NERD tree
  671. window. Use one of the follow lines to set this option: >
  672. let NERDTreeShowLineNumbers=0
  673. let NERDTreeShowLineNumbers=1
  674. <
  675. ------------------------------------------------------------------------------
  676. *'NERDTreeSortOrder'*
  677. Values: a list of regular expressions.
  678. Default: ['\/$', '*', '\.swp$', '\.bak$', '\~$']
  679. This option is set to a list of regular expressions which are used to
  680. specify the order of nodes under their parent.
  681. For example, if the option is set to: >
  682. ['\.vim$', '\.c$', '\.h$', '*', 'foobar']
  683. <
  684. then all .vim files will be placed at the top, followed by all .c files then
  685. all .h files. All files containing the string 'foobar' will be placed at the
  686. end. The star is a special flag: it tells the script that every node that
  687. doesnt match any of the other regexps should be placed here.
  688. If no star is present in 'NERDTreeSortOrder' then one is automatically
  689. appended to the array.
  690. The regex '\/$' should be used to match directory nodes.
  691. After this sorting is done, the files in each group are sorted alphabetically.
  692. Other examples: >
  693. (1) ['*', '\/$']
  694. (2) []
  695. (3) ['\/$', '\.rb$', '\.php$', '*', '\.swp$', '\.bak$', '\~$']
  696. <
  697. 1. Directories will appear last, everything else will appear above.
  698. 2. Everything will simply appear in alphabetical order.
  699. 3. Dirs will appear first, then ruby and php. Swap files, bak files and vim
  700. backup files will appear last with everything else preceding them.
  701. ------------------------------------------------------------------------------
  702. *'NERDTreeStatusline'*
  703. Values: Any valid statusline setting.
  704. Default: %{b:NERDTreeRoot.path.strForOS(0)}
  705. Tells the script what to use as the |'statusline'| setting for NERD tree
  706. windows.
  707. Note that the statusline is set using |:let-&| not |:set| so escaping spaces
  708. isn't necessary.
  709. Setting this option to -1 will will deactivate it so that your global
  710. statusline setting is used instead.
  711. ------------------------------------------------------------------------------
  712. *'NERDTreeWinPos'*
  713. Values: "left" or "right"
  714. Default: "left".
  715. This option is used to determine where NERD tree window is placed on the
  716. screen.
  717. This option makes it possible to use two different explorer plugins
  718. simultaneously. For example, you could have the taglist plugin on the left of
  719. the window and the NERD tree on the right.
  720. ------------------------------------------------------------------------------
  721. *'NERDTreeWinSize'*
  722. Values: a positive integer.
  723. Default: 31.
  724. This option is used to change the size of the NERD tree when it is loaded.
  725. ------------------------------------------------------------------------------
  726. *'NERDTreeMinimalUI'*
  727. Values: 0 or 1
  728. Default: 0
  729. This options disables the 'Bookmarks' label 'Press ? for help' text. Use one
  730. of the following lines to set this option: >
  731. let NERDTreeMinimalUI=0
  732. let NERDTreeMinimalUI=1
  733. <
  734. ------------------------------------------------------------------------------
  735. *'NERDTreeDirArrows'*
  736. Values: 0 or 1
  737. Default: 0.
  738. This option is used to change the default look of directory nodes displayed in
  739. the tree. When set to 0 it shows old-school bars (|), + and ~ chars. If set to
  740. 1 it shows right and down arrows. Use one of the follow lines to set this
  741. option: >
  742. let NERDTreeDirArrows=0
  743. let NERDTreeDirArrows=1
  744. <
  745. ------------------------------------------------------------------------------
  746. *'NERDTreeCasadeOpenSingleChildDir'*
  747. Values: 0 or 1
  748. Default: 1.
  749. When opening dir nodes, this option tells NERDTree to recursively open dirs
  750. that have only one child which is also a dir. NERDTree will stop when it finds
  751. a dir that contains anything but another single dir. This option may be useful
  752. for Java projects. Use one of the follow lines to set this option: >
  753. let NERDTreeCasadeOpenSingleChildDir=0
  754. let NERDTreeCasadeOpenSingleChildDir=1
  755. <
  756. ------------------------------------------------------------------------------
  757. *'NERDTreeAutoDeleteBuffer'*
  758. Values: 0 or 1
  759. Default: 0.
  760. When using a context menu to delete or rename a file you may also want to delete
  761. the buffer which is no more valid. If the option is not set you will see a
  762. confirmation if you really want to delete an old buffer. If you always press 'y'
  763. then it worths to set this option to 1. Use one of the follow lines to set this
  764. option: >
  765. let NERDTreeAutoDeleteBuffer=0
  766. let NERDTreeAutoDeleteBuffer=1
  767. <
  768. ==============================================================================
  769. 4. The NERD tree API *NERDTreeAPI*
  770. The NERD tree script allows you to add custom key mappings and menu items via
  771. a set of API calls. Any scripts that use this API should be placed in
  772. ~/.vim/nerdtree_plugin/ (*nix) or ~/vimfiles/nerdtree_plugin (windows).
  773. The script exposes some prototype objects that can be used to manipulate the
  774. tree and/or get information from it: >
  775. g:NERDTreePath
  776. g:NERDTreeDirNode
  777. g:NERDTreeFileNode
  778. g:NERDTreeBookmark
  779. <
  780. See the code/comments in NERD_tree.vim to find how to use these objects. The
  781. following code conventions are used:
  782. * class members start with a capital letter
  783. * instance members start with a lower case letter
  784. * private members start with an underscore
  785. See this blog post for more details:
  786. http://got-ravings.blogspot.com/2008/09/vim-pr0n-prototype-based-objects.html
  787. ------------------------------------------------------------------------------
  788. 4.1. Key map API *NERDTreeKeymapAPI*
  789. NERDTreeAddKeyMap({options}) *NERDTreeAddKeyMap()*
  790. Adds a new keymapping for all NERD tree buffers.
  791. {options} must be a dictionary, and must contain the following keys:
  792. "key" - the trigger key for the new mapping
  793. "callback" - the function the new mapping will be bound to
  794. "quickhelpText" - the text that will appear in the quickhelp (see
  795. |NERDTree-?|)
  796. Additionally, a "scope" argument may be supplied. This constrains the
  797. mapping so that it is only activated if the cursor is on a certain object.
  798. That object is then passed into the handling method. Possible values are:
  799. "FileNode" - a file node
  800. "DirNode" - a directory node
  801. "Node" - a file or directory node
  802. "Bookmark" - A bookmark
  803. "all" - the keymap is not constrained to any scope (default). When
  804. thei is used, the handling function is not passed any arguments.
  805. Example: >
  806. call NERDTreeAddKeyMap({
  807. \ 'key': 'foo',
  808. \ 'callback': 'NERDTreeCDHandler',
  809. \ 'quickhelpText': 'echo full path of current node' })
  810. \ 'scope': 'DirNode'
  811. function! NERDTreeCDHandler(dirnode)
  812. call a:dirnode.changeToDir()
  813. endfunction
  814. <
  815. This code should sit in a file like ~/.vim/nerdtree_plugin/mymapping.vim.
  816. It adds a (redundant) mapping on 'foo' which changes vim's CWD to that of
  817. the current dir node. Note this mapping will only fire when the cursor is
  818. on a directory node.
  819. ------------------------------------------------------------------------------
  820. 4.2. Menu API *NERDTreeMenuAPI*
  821. NERDTreeAddSubmenu({options}) *NERDTreeAddSubmenu()*
  822. Creates and returns a new submenu.
  823. {options} must be a dictionary and must contain the following keys:
  824. "text" - the text of the submenu that the user will see
  825. "shortcut" - a shortcut key for the submenu (need not be unique)
  826. The following keys are optional:
  827. "isActiveCallback" - a function that will be called to determine whether
  828. this submenu item will be displayed or not. The callback function must return
  829. 0 or 1.
  830. "parent" - the parent submenu of the new submenu (returned from a previous
  831. invocation of NERDTreeAddSubmenu()). If this key is left out then the new
  832. submenu will sit under the top level menu.
  833. See below for an example.
  834. NERDTreeAddMenuItem({options}) *NERDTreeAddMenuItem()*
  835. Adds a new menu item to the NERD tree menu (see |NERDTreeMenu|).
  836. {options} must be a dictionary and must contain the
  837. following keys:
  838. "text" - the text of the menu item which the user will see
  839. "shortcut" - a shortcut key for the menu item (need not be unique)
  840. "callback" - the function that will be called when the user activates the
  841. menu item.
  842. The following keys are optional:
  843. "isActiveCallback" - a function that will be called to determine whether
  844. this menu item will be displayed or not. The callback function must return
  845. 0 or 1.
  846. "parent" - if the menu item belongs under a submenu then this key must be
  847. specified. This value for this key will be the object that
  848. was returned when the submenu was created with |NERDTreeAddSubmenu()|.
  849. See below for an example.
  850. NERDTreeAddMenuSeparator([{options}]) *NERDTreeAddMenuSeparator()*
  851. Adds a menu separator (a row of dashes).
  852. {options} is an optional dictionary that may contain the following keys:
  853. "isActiveCallback" - see description in |NERDTreeAddMenuItem()|.
  854. Below is an example of the menu API in action. >
  855. call NERDTreeAddMenuSeparator()
  856. call NERDTreeAddMenuItem({
  857. \ 'text': 'a (t)op level menu item',
  858. \ 'shortcut': 't',
  859. \ 'callback': 'SomeFunction' })
  860. let submenu = NERDTreeAddSubmenu({
  861. \ 'text': 'a (s)ub menu',
  862. \ 'shortcut': 's' })
  863. call NERDTreeAddMenuItem({
  864. \ 'text': '(n)ested item 1',
  865. \ 'shortcut': 'n',
  866. \ 'callback': 'SomeFunction',
  867. \ 'parent': submenu })
  868. call NERDTreeAddMenuItem({
  869. \ 'text': '(n)ested item 2',
  870. \ 'shortcut': 'n',
  871. \ 'callback': 'SomeFunction',
  872. \ 'parent': submenu })
  873. <
  874. This will create the following menu: >
  875. --------------------
  876. a (t)op level menu item
  877. a (s)ub menu
  878. <
  879. Where selecting "a (s)ub menu" will lead to a second menu: >
  880. (n)ested item 1
  881. (n)ested item 2
  882. <
  883. When any of the 3 concrete menu items are selected the function "SomeFunction"
  884. will be called.
  885. ------------------------------------------------------------------------------
  886. NERDTreeRender() *NERDTreeRender()*
  887. Re-renders the NERD tree buffer. Useful if you change the state of the
  888. tree and you want to it to be reflected in the UI.
  889. ==============================================================================
  890. 5. About *NERDTreeAbout*
  891. The author of the NERD tree is a terrible terrible monster called Martyzilla
  892. who gobbles up small children with milk and sugar for breakfast.
  893. He can be reached at martin.grenfell at gmail dot com. He would love to hear
  894. from you, so feel free to send him suggestions and/or comments about this
  895. plugin. Don't be shy --- the worst he can do is slaughter you and stuff you in
  896. the fridge for later ;)
  897. The latest stable versions can be found at
  898. http://www.vim.org/scripts/script.php?script_id=1658
  899. The latest dev versions are on github
  900. http://github.com/scrooloose/nerdtree
  901. ==============================================================================
  902. 6. Changelog *NERDTreeChangelog*
  903. Next
  904. - add 'scope' argument to the key map API
  905. - add NERDTreeCustomIgnoreFilter hook - needs doc
  906. - add magic [[dir]] and [[file]] flags to NERDTreeIgnore
  907. 4.2.0
  908. - Add NERDTreeDirArrows option to make the UI use pretty arrow chars
  909. instead of the old +~| chars to define the tree structure (sickill)
  910. - shift the syntax highlighting out into its own syntax file (gnap)
  911. - add some mac specific options to the filesystem menu - for macvim
  912. only (andersonfreitas)
  913. - Add NERDTreeMinimalUI option to remove some non functional parts of the
  914. nerdtree ui (camthompson)
  915. - tweak the behaviour of :NERDTreeFind - see :help :NERDTreeFind for the
  916. new behaviour (benjamingeiger)
  917. - if no name is given to :Bookmark, make it default to the name of the
  918. target file/dir (minyoung)
  919. - use 'file' completion when doing copying, create, and move
  920. operations (EvanDotPro)
  921. - lots of misc bug fixes (paddyoloughlin, sdewald, camthompson, Vitaly
  922. Bogdanov, AndrewRadev, mathias, scottstvnsn, kml, wycats, me RAWR!)
  923. 4.1.0
  924. features:
  925. - NERDTreeFind to reveal the node for the current buffer in the tree,
  926. see |NERDTreeFind|. This effectively merges the FindInNERDTree plugin (by
  927. Doug McInnes) into the script.
  928. - make NERDTreeQuitOnOpen apply to the t/T keymaps too. Thanks to Stefan
  929. Ritter and Rémi Prévost.
  930. - truncate the root node if wider than the tree window. Thanks to Victor
  931. Gonzalez.
  932. bugfixes:
  933. - really fix window state restoring
  934. - fix some win32 path escaping issues. Thanks to Stephan Baumeister, Ricky,
  935. jfilip1024, and Chris Chambers
  936. 4.0.0
  937. - add a new programmable menu system (see :help NERDTreeMenu).
  938. - add new APIs to add menus/menu-items to the menu system as well as
  939. custom key mappings to the NERD tree buffer (see :help NERDTreeAPI).
  940. - removed the old API functions
  941. - added a mapping to maximize/restore the size of nerd tree window, thanks
  942. to Guillaume Duranceau for the patch. See :help NERDTree-A for details.
  943. - fix a bug where secondary nerd trees (netrw hijacked trees) and
  944. NERDTreeQuitOnOpen didnt play nicely, thanks to Curtis Harvey.
  945. - fix a bug where the script ignored directories whose name ended in a dot,
  946. thanks to Aggelos Orfanakos for the patch.
  947. - fix a bug when using the x mapping on the tree root, thanks to Bryan
  948. Venteicher for the patch.
  949. - fix a bug where the cursor position/window size of the nerd tree buffer
  950. wasnt being stored on closing the window, thanks to Richard Hart.
  951. - fix a bug where NERDTreeMirror would mirror the wrong tree
  952. 3.1.1
  953. - fix a bug where a non-listed no-name buffer was getting created every
  954. time the tree windows was created, thanks to Derek Wyatt and owen1
  955. - make <CR> behave the same as the 'o' mapping
  956. - some helptag fixes in the doc, thanks strull
  957. - fix a bug when using :set nohidden and opening a file where the previous
  958. buf was modified. Thanks iElectric
  959. - other minor fixes
  960. 3.1.0
  961. New features:
  962. - add mappings to open files in a vsplit, see :help NERDTree-s and :help
  963. NERDTree-gs
  964. - make the statusline for the nerd tree window default to something
  965. hopefully more useful. See :help 'NERDTreeStatusline'
  966. Bugfixes:
  967. - make the hijack netrw functionality work when vim is started with "vim
  968. <some dir>" (thanks to Alf Mikula for the patch).
  969. - fix a bug where the CWD wasnt being changed for some operations even when
  970. NERDTreeChDirMode==2 (thanks to Lucas S. Buchala)
  971. - add -bar to all the nerd tree :commands so they can chain with other
  972. :commands (thanks to tpope)
  973. - fix bugs when ignorecase was set (thanks to nach)
  974. - fix a bug with the relative path code (thanks to nach)
  975. - fix a bug where doing a :cd would cause :NERDTreeToggle to fail (thanks nach)
  976. 3.0.1
  977. Bugfixes:
  978. - fix bugs with :NERDTreeToggle and :NERDTreeMirror when 'hidden
  979. was not set
  980. - fix a bug where :NERDTree <path> would fail if <path> was relative and
  981. didnt start with a ./ or ../ Thanks to James Kanze.
  982. - make the q mapping work with secondary (:e <dir> style) trees,
  983. thanks to jamessan
  984. - fix a bunch of small bugs with secondary trees
  985. More insane refactoring.
  986. 3.0.0
  987. - hijack netrw so that doing an :edit <directory> will put a NERD tree in
  988. the window rather than a netrw browser. See :help 'NERDTreeHijackNetrw'
  989. - allow sharing of trees across tabs, see :help :NERDTreeMirror
  990. - remove "top" and "bottom" as valid settings for NERDTreeWinPos
  991. - change the '<tab>' mapping to 'i'
  992. - change the 'H' mapping to 'I'
  993. - lots of refactoring
  994. ==============================================================================
  995. 7. Credits *NERDTreeCredits*
  996. Thanks to the following people for testing, bug reports, ideas etc. Without
  997. you I probably would have got bored of the hacking the NERD tree and
  998. just downloaded pr0n instead.
  999. Tim Carey-Smith (halorgium)
  1000. Vigil
  1001. Nick Brettell
  1002. Thomas Scott Urban
  1003. Terrance Cohen
  1004. Yegappan Lakshmanan
  1005. Jason Mills
  1006. Michael Geddes (frogonwheels)
  1007. Yu Jun
  1008. Michael Madsen
  1009. AOYAMA Shotaro
  1010. Zhang Weiwu
  1011. Niels Aan de Brugh
  1012. Olivier Yiptong
  1013. Zhang Shuhan
  1014. Cory Echols
  1015. Piotr Czachur
  1016. Yuan Jiang
  1017. Matan Nassau
  1018. Maxim Kim
  1019. Charlton Wang
  1020. Matt Wozniski (godlygeek)
  1021. knekk
  1022. Sean Chou
  1023. Ryan Penn
  1024. Simon Peter Nicholls
  1025. Michael Foobar
  1026. Tomasz Chomiuk
  1027. Denis Pokataev
  1028. Tim Pope (tpope)
  1029. James Kanze
  1030. James Vega (jamessan)
  1031. Frederic Chanal (nach)
  1032. Alf Mikula
  1033. Lucas S. Buchala
  1034. Curtis Harvey
  1035. Guillaume Duranceau
  1036. Richard Hart (hates)
  1037. Doug McInnes
  1038. Stefan Ritter
  1039. Rémi Prévost
  1040. Victor Gonzalez
  1041. Stephan Baumeister
  1042. Ricky
  1043. jfilip1024
  1044. Chris Chambers
  1045. Vitaly Bogdanov
  1046. Patrick O'Loughlin (paddyoloughlin)
  1047. Cam Thompson (camthompson)
  1048. Marcin Kulik (sickill)
  1049. Steve DeWald (sdewald)
  1050. Ivan Necas (iNecas)
  1051. George Ang (gnap)
  1052. Evan Coury (EvanDotPro)
  1053. Andrew Radev (AndrewRadev)
  1054. Matt Gauger (mathias)
  1055. Scott Stevenson (scottstvnsn)
  1056. Anderson Freitas (andersonfreitas)
  1057. Kamil K. Lemański (kml)
  1058. Yehuda Katz (wycats)
  1059. Min-Young Wu (minyoung)
  1060. Benjamin Geiger (benjamingeiger)
  1061. ==============================================================================
  1062. 8. License *NERDTreeLicense*
  1063. The NERD tree is released under the wtfpl.
  1064. See http://sam.zoy.org/wtfpl/COPYING.