Added support for the copy command for both file and directory nodes on Windows systems

This commit is contained in:
Skyler Lipthay
2013-01-23 00:23:56 -08:00
parent 40993e9010
commit b5519197e9
2 changed files with 24 additions and 4 deletions

View File

@@ -103,6 +103,8 @@ call s:initVariable("g:NERDTreeWinSize", 31)
"Note: the space after the command is important
if nerdtree#runningWindows()
call s:initVariable("g:NERDTreeRemoveDirCmd", 'rmdir /s /q ')
call s:initVariable("g:NERDTreeCopyDirCmd", 'xcopy /s /e /i /y /q ')
call s:initVariable("g:NERDTreeCopyFileCmd", 'copy /y ')
else
call s:initVariable("g:NERDTreeRemoveDirCmd", 'rm -rf ')
call s:initVariable("g:NERDTreeCopyCmd", 'cp -r ')