Dan Schaub
682a7b64db
Fix typo in argument usage in promptToRenameBuffer
2016-10-03 18:04:50 -04:00
Phil Runninger
f640646f2c
Change confirmation prompt when deleting non-empty directory.
2016-09-22 16:42:17 -04:00
Phil Runninger
1a6c502f19
Merge pull request #530 from mikeperri/delete-empty-directory
...
Don't require user to type 'yes' to delete an empty directory
2016-09-22 16:40:25 -04:00
Zachary Voase
916f6b8f8f
Use fnameescape to quote filenames for :badd.
2016-06-30 16:21:13 -07:00
Mike Perri
d2509d279e
Don't require user to type 'yes' to delete an empty directory
2016-06-27 11:28:47 -05:00
Martin Grenfell
665f326577
remove dependency on b:NERDTree from classes that dont need it
...
Inject it where needed.
2015-11-20 01:44:12 +00:00
Martin Grenfell
d36b793656
dont use b:NERDTreeRoot internally, but leave the var there for compat
...
Use b:NERDTree.root instead. I will eventually remove b:NERDTreeRoot
altogether - but this will break some other plugins so leave it for now.
2015-11-16 11:28:24 +00:00
Martin Grenfell
be8f18914c
remove some unneeded header comments
2015-11-13 16:54:47 +00:00
Martin Grenfell
e27ab9c5c7
fsmenu: use nerdtree#echo* methods instead of reimplementing them
2015-11-13 10:53:42 +00:00
Martin Grenfell
5b7085d9ae
fs menu: remove unused var assigns
2015-11-13 10:46:12 +00:00
Martin Grenfell
adc11983bc
fs_menu: put the NERDTreeListNode* methods together
2015-11-13 10:44:27 +00:00
Phil Runninger
3fb18e7399
Switch to upper case DIR /Q, in true DOS fashion
2015-11-12 21:38:22 -05:00
Phil Runninger
f1af61ddf7
Use the system('DIR /Q...') function to display file info.
2015-11-12 21:29:34 -05:00
Phil Runninger
c60f401371
Merge (p)roperties (for Windows) into the (l)ist menu item.
2015-11-12 16:20:20 -05:00
Phil Runninger
fb030bcb1c
Merge pull request #1 from scrooloose/master
...
Merge official code into my fork
2015-11-12 16:11:56 -05:00
Martin Grenfell
caca3af211
Merge pull request #496 from evindor/master
...
Fix MacOS/neovim detection for extra menu options
2015-11-12 14:23:28 +00:00
Jonathan Seidel
88104d26ac
Add ability to list file metadata...
...
(Based on a change by github.com/apbarrero))
Add menu/list command to display file metadata
Support OSX as well as Unix
2015-11-02 11:30:16 -08:00
Arseny Zarechnev
8996ea5bb5
Fix MacOS detection for menu, fixes #478
2015-10-04 01:59:40 +01:00
Martin Grenfell
3ce33f017e
fix escaping for :edit
when renaming files
2014-10-29 18:35:53 +00:00
Artem Baguinski
2fd0aa3ec7
Fix reloading renamed file
2014-09-25 11:08:53 +02:00
Phil Runninger
6ccf83df24
Add menu option to display file/directory properties.
2014-09-15 11:14:44 -04:00
Martin Grenfell
579d96a0f3
remove testing git plugin
2014-07-10 20:14:41 +01:00
Martin Grenfell
8644622000
Merge branch 'master' into expt_add_path_flags_and_git
...
Conflicts:
autoload/nerdtree.vim
lib/nerdtree/creator.vim
2014-07-08 09:38:43 +01:00
Martin Grenfell
23dfc6d818
continue breaking down the epic autoload module
...
Add 2 new classes and move code into them from autoload:
* NERDTree. Each nerdtree buffer now has a NERDTree object that holds
the root node and will old other util functions
* UI. Each NERDTree object holds a UI object which is responsible for
rendering, getting the current node, etc
Still a fair few methods to sort through in autoload (many of which will
end up in the above classes) - need sleep though.
2014-07-07 22:59:28 +01:00
Martin Grenfell
32cf3ee62d
allow flags to be scoped to a plugin
...
Add new FlagSet class and init each Path with one.
Call Path.flagSet.addFlag(scope, flag) instead of Path.addFlag(flag)
2014-07-05 20:51:21 +01:00
Martin Grenfell
a7428eba38
add proof of concept for path flags API and add git modified flags
2014-07-05 00:29:45 +01:00
Martin Grenfell
3863e69733
Merge pull request #316 from ZeroProbability/master
...
Issue 315 - Incorrect buffer deleted on file delete
2014-06-26 22:48:14 +01:00
Martin Grenfell
a45304832b
Merge pull request #295 from DanielleSucher/create_parent_directories_as_needed
...
Create parent directories as needed when creating or copying nested nodes
2014-06-26 09:35:02 +01:00
Tristan Koch
fbab099fa9
Support space in path when renaming
2014-05-30 13:05:37 +02:00
aramasamy
13b4058f2f
Issue 315 - Incorrect buffer deleted on file delete
2014-02-21 00:46:15 +00:00
Danielle Sucher
eacd5d72ec
Create nested parent directories as needed
...
Allows the user to create or copy a nested node
in a single step with ma or mc, recursively
creating nested parent directories if needed, and
without throwing any errors if they already exist.
[Finishes #163 , #34 ]
2013-10-12 20:18:43 -04:00
Martin Grenfell
3e44d4ea5c
Merge pull request #191 from ZeusTheTrueGod/master
...
Improve handling obsolete buffers when renaming or deleting a file via the NERDTree 'm' menu
2012-10-18 01:11:35 -07:00
Mark Rushakoff
92a31a6fb2
Fix typo in copy action
2012-10-03 12:39:56 -07:00
ZeusTheTrueGod
6b687977d9
Better handling file renaming and deleting
...
If you are renaming a file via the mm hotkey and it is already opened then all
tabs and windows containing the old file will be replaced with a
new file. Current tab and windows structure is not changed anymore
If you are deleting a file via the md hotkey and it is already open, i.e.
presents in buffer lists then a buffer will be removed but a window and tab
will be kept with a ':enew' file
2012-08-26 13:23:06 +00:00
ZeusTheTrueGod
0a16b24268
Better flow for renaming and deleting files
...
Previously when you delete or moved a file via
md or mm commands the NERDTree was asking you about what to do
with the remaining buffer of the just deleted or moved file. I
always press 'y' in this cases so I've decided to add a new parameter,
NERDTreeAutoDeleteBuffer which you can set to 1 in order to skip
this confirmation.
2012-08-26 11:56:45 +00:00
Anderson Freitas
796a40b5d7
New options in the file system menu:
...
- Reveal In Finder
- Open with system editor
- Quicklook
Current only when using MacVim under MacOSX
2011-09-06 21:15:44 -03:00
Martin Grenfell
2dd198c6c4
fix for copying files
...
when copying a file outside the current tree root, {} is returned by
TreeFileNode.copy() so try to reposition the cursor
2011-07-09 18:44:03 +12:00
Evan Coury
71d6c1d3c6
specify 'file' input types to allow for tab-completion of paths when copying, moving, or creating a node
2011-07-04 05:56:39 -07:00
Steve DeWald
1de3c22a44
Fixed two bugs affecting adding and copying nodes with escaped chars (e.g. spaces) in the filepath
2011-02-20 09:40:34 -08:00
Martin Grenfell
8618929e9a
fix a couple of typos in the filesystem menu
2011-02-08 17:16:30 +13:00
marty
31f65b97b1
remove the git menu plugin
2009-10-09 14:48:25 +13:00
marty
3837ea85e0
change my email to gmail
2009-10-09 14:46:40 +13:00
marty
89cfedd39b
syntax fix
2009-09-09 16:04:14 +12:00
marty
3a163fca64
migrate fs_menu.vim to use the new Path#str method
2009-09-05 22:29:11 +12:00
marty
effb5d4de0
make "OS" the default format for Path#str()
...
remove the old "OS" format option and introduce "UI" (which is the old
default)
2009-09-03 17:27:45 +12:00
marty
cbb0a8698f
correct a header comment
2009-09-02 22:07:12 +12:00
marty
0dda0ce5d7
refactor the Path#str* methods
2009-09-01 17:15:48 +12:00
marty
dd38ab8f43
remove the arg from Path#str()
...
now everything uses the equivalent of Path#str(0)
2009-08-23 23:56:33 +12:00
marty
d9f315d63e
update some file header info for the nerdtree plugins
2009-08-22 01:54:28 +12:00
marty
f2a9e9a360
make the git menu use the new NERDTreeAddSubmenu() call
2009-08-22 01:27:07 +12:00