diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index cdb8b35..88ffdf3 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -22,9 +22,8 @@ After reading, and before submitting your issue, please remove this introductory #### Environment (for bug reports) - [ ] Operating System: -- [ ] Vim/Neovim version `:version`: -- [ ] NERDTree version `:echo nerdtree#version(0)` or `git rev-parse --short HEAD`: -- [ ] A link to my [vimrc](), or +- [ ] Vim/Neovim version `:echo v:version`: +- [ ] NERDTree version, found on 1st line in NERDTree quickhelp `?`: - [ ] vimrc settings - [ ] NERDTree variables ```vim diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d2a531..03dc27a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Change Log #### 5.2... +- **.2**: Make Enter work on the `.. ( up a dir )` line (PhilRunninger) #1013 - **.1**: Fix nerdtree#version() on Windows. (PhilRunninger) N/A - **.0**: Expand functionality of `` mapping. (PhilRunninger) #1011 #### 5.1... diff --git a/autoload/nerdtree/ui_glue.vim b/autoload/nerdtree/ui_glue.vim index 89feb59..057e799 100644 --- a/autoload/nerdtree/ui_glue.vim +++ b/autoload/nerdtree/ui_glue.vim @@ -17,6 +17,7 @@ function! nerdtree#ui_glue#createDefaultBindings() call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapCustomOpen, 'scope':'FileNode', 'callback': s."customOpenFile"}) call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapCustomOpen, 'scope':'DirNode', 'callback': s."customOpenDir"}) call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapCustomOpen, 'scope':'Bookmark', 'callback': s."customOpenBookmark"}) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapCustomOpen, 'scope':'all', 'callback': s."activateAll" }) call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapActivateNode, 'scope': "DirNode", 'callback': s."activateDirNode" }) call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapActivateNode, 'scope': "FileNode", 'callback': s."activateFileNode" })