mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 06:33:35 +08:00 
			
		
		
		
	Updated plugins
This commit is contained in:
		| @ -109,7 +109,7 @@ The following features and functionality are provided by the NERD tree: | ||||
| < | ||||
| :NERDTreeFromBookmark <bookmark>                       *:NERDTreeFromBookmark* | ||||
|     Opens a fresh NERD tree with the root initialized to the dir for | ||||
|     <bookmark>.  This only reason to use this command over :NERDTree is for | ||||
|     <bookmark>.  The only reason to use this command over :NERDTree is for | ||||
|     the completion (which is for bookmarks rather than directories). | ||||
|  | ||||
| :NERDTreeToggle [<start-directory> | <bookmark>]             *:NERDTreeToggle* | ||||
| @ -160,7 +160,7 @@ click bookmarks or use the |NERDTree-o| mapping to activate them. See also, | ||||
|  | ||||
| Note that the following commands are only available in the NERD tree buffer. | ||||
|  | ||||
| :Bookmark <name> | ||||
| :Bookmark [<name>] | ||||
|     Bookmark the current node as <name>. If there is already a <name> | ||||
|     bookmark, it is overwritten. <name> must not contain spaces. | ||||
|     If <name> is not provided, it defaults to the file or directory name. | ||||
| @ -358,7 +358,7 @@ Default key: O | ||||
| Map option: NERDTreeMapOpenRecursively | ||||
| Applies to: directories. | ||||
|  | ||||
| Recursively opens the selelected directory. | ||||
| Recursively opens the selected directory. | ||||
|  | ||||
| All files and directories are cached, but if a directory would not be | ||||
| displayed due to file filters (see |'NERDTreeIgnore'| |NERDTree-f|) or the | ||||
| @ -609,17 +609,19 @@ NERD tree. These options should be set in your vimrc. | ||||
|  | ||||
| |'loaded_nerd_tree'|            Turns off the script. | ||||
|  | ||||
| |'NERDChristmasTree'|           Tells the NERD tree to make itself colourful | ||||
|                                 and pretty. | ||||
|  | ||||
| |'NERDTreeAutoCenter'|          Controls whether the NERD tree window centers | ||||
|                                 when the cursor moves within a specified | ||||
|                                 distance to the top/bottom of the window. | ||||
|  | ||||
| |'NERDTreeAutoCenterThreshold'| Controls the sensitivity of autocentering. | ||||
|  | ||||
| |'NERDTreeCaseSensitiveSort'|   Tells the NERD tree whether to be case | ||||
|                                 sensitive or not when sorting nodes. | ||||
|  | ||||
| |'NERDTreeSortHiddenFirst'|     Tells the NERD tree whether to take the dot | ||||
|                                 at the beginning of the hidden file names | ||||
|                                 into account when sorting nodes. | ||||
|  | ||||
| |'NERDTreeChDirMode'|           Tells the NERD tree if/when it should change | ||||
|                                 vim's current working directory. | ||||
|  | ||||
| @ -631,8 +633,13 @@ NERD tree. These options should be set in your vimrc. | ||||
|  | ||||
| |'NERDTreeIgnore'|              Tells the NERD tree which files to ignore. | ||||
|  | ||||
| |'NERDTreeRespectWildIgnore'|   Tells the NERD tree to respect |'wildignore'|. | ||||
|  | ||||
| |'NERDTreeBookmarksFile'|       Where the bookmarks are stored. | ||||
|  | ||||
| |'NERDTreeBookmarksSort'|       Whether the bookmarks list is sorted on | ||||
|                                 display. | ||||
|  | ||||
| |'NERDTreeMouseMode'|           Tells the NERD tree how to handle mouse | ||||
|                                 clicks. | ||||
|  | ||||
| @ -667,8 +674,8 @@ NERD tree. These options should be set in your vimrc. | ||||
| |'NERDTreeDirArrows'|           Tells the NERD tree to use arrows instead of | ||||
|                                 + ~ chars when displaying directories. | ||||
|  | ||||
| |'NERDTreeCasadeOpenSingleChildDir'| | ||||
|                                 Casade open while selected directory has only | ||||
| |'NERDTreeCascadeOpenSingleChildDir'| | ||||
|                                 Cascade open while selected directory has only | ||||
|                                 one child that also is a directory. | ||||
|  | ||||
| |'NERDTreeAutoDeleteBuffer'|    Tells the NERD tree to automatically remove  | ||||
| @ -686,15 +693,6 @@ If this plugin is making you feel homicidal, it may be a good idea to turn it | ||||
| off with this line in your vimrc: > | ||||
|     let loaded_nerd_tree=1 | ||||
| < | ||||
| ------------------------------------------------------------------------------ | ||||
|                                                          *'NERDChristmasTree'* | ||||
| Values: 0 or 1. | ||||
| Default: 1. | ||||
|  | ||||
| If this option is set to 1 then some extra syntax highlighting elements are | ||||
| added to the nerd tree to make it more colourful. | ||||
|  | ||||
| Set it to 0 for a more vanilla looking tree. | ||||
|  | ||||
| ------------------------------------------------------------------------------ | ||||
|                                                         *'NERDTreeAutoCenter'* | ||||
| @ -817,6 +815,13 @@ line: > | ||||
| The file filters can be turned on and off dynamically with the |NERDTree-f| | ||||
| mapping. | ||||
|  | ||||
| ------------------------------------------------------------------------------ | ||||
|                                                 *'NERDTreeRespectWildIgnore'* | ||||
| Values: 0 or 1. | ||||
| Default: 0. | ||||
|  | ||||
| If set to 1, the |'wildignore'| setting is respected. | ||||
|  | ||||
| ------------------------------------------------------------------------------ | ||||
|                                                      *'NERDTreeBookmarksFile'* | ||||
| Values: a path | ||||
| @ -824,6 +829,14 @@ Default: $HOME/.NERDTreeBookmarks | ||||
|  | ||||
| This is where bookmarks are saved. See |NERDTreeBookmarkCommands|. | ||||
|  | ||||
| ------------------------------------------------------------------------------ | ||||
|                                                      *'NERDTreeBookmarksSort'* | ||||
| Values: 0 or 1 | ||||
| Default: 1 | ||||
|  | ||||
| If set to 0 then the bookmarks list is not sorted. | ||||
| If set to 1 the bookmarks list is sorted. | ||||
|  | ||||
| ------------------------------------------------------------------------------ | ||||
|                                                        *'NERDTreeMouseMode'* | ||||
| Values: 1, 2 or 3. | ||||
| @ -987,16 +1000,17 @@ option: > | ||||
| < | ||||
|  | ||||
| ------------------------------------------------------------------------------ | ||||
|                                           *'NERDTreeCasadeOpenSingleChildDir'* | ||||
|                                           *'NERDTreeCascadeOpenSingleChildDir'* | ||||
| Values: 0 or 1 | ||||
| Default: 1. | ||||
|  | ||||
| When opening dir nodes, this option tells NERDTree to recursively open dirs | ||||
| that have only one child which is also a dir. NERDTree will stop when it finds | ||||
| a dir that contains anything but another single dir. This option may be useful | ||||
| for Java projects.  Use one of the follow lines to set this option: > | ||||
|     let NERDTreeCasadeOpenSingleChildDir=0 | ||||
|     let NERDTreeCasadeOpenSingleChildDir=1 | ||||
| a dir that contains anything but another single dir. This option also causes | ||||
| the |NERDTree-x| mapping to close dirs in the same manner. This option may be | ||||
| useful for Java projects. Use one of the follow lines to set this option: > | ||||
|     let NERDTreeCascadeOpenSingleChildDir=0 | ||||
|     let NERDTreeCascadeOpenSingleChildDir=1 | ||||
| < | ||||
|  | ||||
| ------------------------------------------------------------------------------ | ||||
| @ -1062,8 +1076,8 @@ NERDTreeAddKeyMap({options})                             *NERDTreeAddKeyMap()* | ||||
|         call NERDTreeAddKeyMap({ | ||||
|                \ 'key': 'foo', | ||||
|                \ 'callback': 'NERDTreeCDHandler', | ||||
|                \ 'quickhelpText': 'echo full path of current node' }) | ||||
|                \ 'scope': 'DirNode' | ||||
|                \ 'quickhelpText': 'echo full path of current node', | ||||
|                \ 'scope': 'DirNode' }) | ||||
|  | ||||
|         function! NERDTreeCDHandler(dirnode) | ||||
|             call a:dirnode.changeToDir() | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 amix
					amix