* create a explorer command that opens a window tree at specified
directory
* update CHANGELOG.md
* Update CHANGELOG.md
* revert CHANGELOG.md
* CreateExplorerTree matches :Explore command
* prevent empty split when calling NERDTreeExplorer with invalid arg from modified buffer
* NERDTreeExplore/CreateExploreTree checks for hidden and
autowriteall settings
Help is still welcome and the related issue still pinned, but we have an
active contributer with some maintenence priviledges already. Having
watched the issue for a while I don't think the 'throw your name in for
consideration' is really helping because it attracts people who want the
attention but aren't interested in actually jumping in and doing tho
*hard* parts of maintaining a project.
The glamorious bits are mostly done for this project and the long tail
of issue triage and small bug fixes and improvements is long underway.
Anyone is welcome to jump into those things, but advertising it as an
opening is a) turning people off from using the plugin and b) attracting
the wrong kind of applicants.
* Added NERDTreeCaseInsensitiveFS option.
* check against g:NERDTreeCaseInsensitiveFS with path.equals method
* Fixed issues in comments and added nerdtree#runningMac
* Using nerdtree#runningMac instead of manual checks for mac
* Better implementation
* Updated documentation
* Added notice about the flag
* Updated the documentation
* Added support for g:NERDTreeCaseSensitiveFS = 3
* Better comments
* Exported caseSensitiveFS check as a function
* Fix a typo: "NERDTree_*" -> "NERD_Tree_*"
* Format text
* Use the proper abbreviation for the BEL character
* Format text
* Make the documentation match the code
The syntax file sets 'conceallevel' to 2, not 3.
* Update the "CHANGELOG.md" file
- Use "type(0)" instead of "v:t_number"
- Use "==" instead of "==#" since we are comparing numbers
- Make use of the "+=" operator
- Update the "CHANGELOG.md" file
The only real issue here is that we should prefer "type(0)" over the
special variable. I run into this problem enough on older systems
that it frustrates me. Let's have it fixed!
* Change highlighting of bookmarks in the tree.
The bookmark names in the tree now have the same syntax highlighting as
the bookmark names in the list of bookmarks above the tree.
* Change version number in change log.
The default when naming a file in the command line is that extra white
space will be stripped away. It seems logical for file naming via the
fs_menu in nerdtree to follow that convention.
I have left the defaults of `trim` because they seem sensible.
Co-authored-by: Phil Runninger <PhilRunninger@users.noreply.github.com>
* Update the issue templates, making them simpler to use.
* Update FAQ answers.
Closes#1246.
- Add an if statement to the autocommand to prevent its running in the
Command Window.
Closes#1248.
- Add a new answer to show closing a tab when only NERDTree remains.
* Update the Bug issue template.
* Update version number in change log.
* Put `Callback` function variables in local scope.
This change prevents conflict with other `Callback` functions that are
defined elsewhere in global scope.
* Update version number in change log.
* Restore <CR>'s default behavior to be the same as o's.
* Remove the dictionary validation, and simplify initCustomOpenArgs().
There was a bug in the validation logic that caused a valid integer
value of 'keepopen' to always be overwritten with the defaultOpenArgs'
value. It was always comparing its type to the type of a string.
I fixed this by removing all the type validation, and wrapping the code
with a try-catch block. If NERDTreeCustomOpenArgs is not a dictionary,
an error message will print and the defaults will be used instead.
* Add fold markers to new functions.
* Update version number in change log.
* Replace #and() with two more-specific functions.
* Push NERDTreeQuitOnOpen checking earlier in the call stack.
* Fix bug in `go` key for file bookmarks. It was behaving like `gs`.
* Fix the `o` mapping for bookmark nodes and the g:NERDTree reference.
* Use get() function to shorten if statement logic.
* Update version number in change log.
* Remove obsolete reference to MERDTreeQuitOnOpen in comment.
* Removed directory separator from sort key
Directories had an additional separator appended to them which caused improper comparisons for other directories that shared similar prefixes.
* Updated changelog
* New menu command: Run system command in this directory.
* Echo the output from the system command.
* Update version number in change log.
* Address Vim linter message: change "\n" to nr2char(10)
* Use single quoted strings.
* Use system() instead of systemlist() for greater version compatibility.
systemlist() was introduced sometime in Vim 8+, so I switched to
system() for 7.4 compatibility.
* Add ability to specify a path to be ignored.
This ignore expression compares itself against the whole path of the
node, instead of just the tail component of the node.
* Remove debug statements and make it work on Windows.
* Restore the original self.str() to get OS-specific paths for comparing.
Using the UI-formatted path had two problems.
1. It always appended a forward slash at the end of the path, which was
unnecessary and made patterns like '/tmp/cache$[[path]]' not work as
expected.
2. It always used forward slashes to join the path components. I thought
this would be a good thing, but there's no reason to force Windows
users to use that syntax. They'll just need to remember to escape the
backslashes, like so: '\\Temp\\cache$[[path]]'
* Add documentation for the new [[path]] tag for NERDTreeIgnore.
* Replace the abbreviation 'dir' with the full word 'directory'.
* Update version number in change log.