mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e71462f90 | ||
|
|
2c14ed0e15 |
2
.github/ISSUE_TEMPLATE/question.md
vendored
2
.github/ISSUE_TEMPLATE/question.md
vendored
@@ -6,7 +6,7 @@ labels: "general question"
|
||||
Before creating an issue, take some time to search these resources. It's possible that someone else has already asked your question and gotten an answer.
|
||||
- [old NERDTree issues](https://github.com/preservim/nerdtree/issues?q=is%3Aissue)
|
||||
- NERDTree documentation - `:h NERDTree`
|
||||
- [NERDTree Wiki](https://github.com/scrooloose/nerdtree/wiki)
|
||||
- [NERDTree Wiki](https://github.com/preservim/nerdtree/wiki)
|
||||
- Other resource: <https://stackoverflow.com>, <https://vi.stackexchange.com>, etc.
|
||||
|
||||
#### State Your Question
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
- **.PATCH**: Pull Request Title (PR Author) [PR Number](Link to PR)
|
||||
-->
|
||||
#### 6.10
|
||||
- **.11**: Trim filenames created via the fs_menu (elanorigby) [#1243](https://github.com/preservim/nerdtree/pull/1243)
|
||||
- **.10**: Improve F.A.Q. Answers and Issue Templates (PhilRunninger) [#1249](https://github.com/preservim/nerdtree/pull/1249)
|
||||
- **.9**: `go` on a bookmark directory will NERDTreeFind it. (PhilRunninger) [#1236](https://github.com/preservim/nerdtree/pull/1236)
|
||||
- **.8**: Put `Callback` function variables in local scope. (PhilRunninger) [#1230](https://github.com/preservim/nerdtree/pull/1230)
|
||||
|
||||
@@ -169,7 +169,7 @@ endfunction
|
||||
function! NERDTreeAddNode()
|
||||
let curDirNode = g:NERDTreeDirNode.GetSelected()
|
||||
let prompt = s:inputPrompt('add')
|
||||
let newNodeName = input(prompt, curDirNode.path.str() . nerdtree#slash(), 'file')
|
||||
let newNodeName = trim(input(prompt, curDirNode.path.str() . nerdtree#slash(), 'file'))
|
||||
|
||||
if newNodeName ==# ''
|
||||
call nerdtree#echo('Node Creation Aborted.')
|
||||
@@ -206,7 +206,7 @@ function! NERDTreeMoveNode()
|
||||
let newNodePath = input(prompt, curNode.path.str(), 'file')
|
||||
while filereadable(newNodePath)
|
||||
call nerdtree#echoWarning('This destination already exists. Try again.')
|
||||
let newNodePath = input(prompt, curNode.path.str(), 'file')
|
||||
let newNodePath = trim(input(prompt, curNode.path.str(), 'file'))
|
||||
endwhile
|
||||
|
||||
|
||||
@@ -337,7 +337,7 @@ endfunction
|
||||
function! NERDTreeCopyNode()
|
||||
let currentNode = g:NERDTreeFileNode.GetSelected()
|
||||
let prompt = s:inputPrompt('copy')
|
||||
let newNodePath = input(prompt, currentNode.path.str(), 'file')
|
||||
let newNodePath = trim(input(prompt, currentNode.path.str(), 'file'))
|
||||
|
||||
if newNodePath !=# ''
|
||||
"strip trailing slash
|
||||
|
||||
Reference in New Issue
Block a user