Commit Graph

909 Commits

Author SHA1 Message Date
Martin Grenfell
af39458989 rework the cascading slightly to correctly show open/closed dir arrows 2015-11-24 22:06:04 +00:00
Martin Grenfell
2cef8bb602 make cascading dirs more compact
Render cascading dirs on one line i.e.

    > foo/bar/baz
      file1

instead of

    > foo
      > bar
        > baz
          > file1

This should be useful things like java projects that have deep dir
structures.

Remove the old UI view (pre the dir arrows) as this simply isnt worth
supporting for a proof of concept. This may get added back - or not.
2015-11-24 20:59:35 +00:00
Martin Grenfell
ee4d42cfed encapsulate dep on g:NERDTreeMinimalUI in a function 2015-11-22 14:02:56 +00:00
Martin Grenfell
dd754c7bc6 add path.isAncestor 2015-11-20 19:16:07 +00:00
Martin Grenfell
9eb0004278 fix a syntax issue for older versions of vim
closes #508
2015-11-20 19:15:51 +00:00
Martin Grenfell
7c6795c5a2 fix a typo 2015-11-20 16:45:05 +00:00
Martin Grenfell
a60bd34a33 add NERDTree.getroot()
Eventually 'root' will become a "private" instance var '_root'
2015-11-20 16:16:12 +00:00
Martin Grenfell
c4f8681b77 add NERDTree.getRoot() and NERDTree.ForCurrentTab() 2015-11-20 01:52:38 +00: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
a0de028688 wipeout "stale" nerdtree bufs
When :NERDTree is called several times and &hidden is set, stale
nerdtree bufs will exist. Wipe them out.
2015-11-19 23:44:39 +00:00
Martin Grenfell
cedb40b4f5 move TreeFileNode.makeRoot() to NERDTree.changeRoot(node) 2015-11-16 13:17:59 +00:00
Martin Grenfell
71ee64fed7 add TreeDirNode.getDirChildren() - using this in a plugin 2015-11-16 11:30:16 +00:00
Martin Grenfell
bf217c75f9 fix a couple of var references in UI 2015-11-16 11:29:54 +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
0b966aa23a refactor TreeDirNode.reveal slightly 2015-11-16 09:35:31 +00:00
Martin Grenfell
449f2c77ed update changelog 2015-11-15 11:13:28 +00:00
Martin Grenfell
b4fa33c39c remove some confusing redundancy from a few function calls 2015-11-15 01:04:03 +00:00
Martin Grenfell
83d108894e move a bunch of b:NERDTree.* vars into the b:NERDTree.ui obj 2015-11-15 00:45:57 +00:00
Martin Grenfell
4d8a0c90cb move b:NERDTreePreviousBuf into NERDTree class 2015-11-14 13:10:08 +00:00
Martin Grenfell
5c20274761 move b:NERDTreeType into the NERDTree class and add some query methods 2015-11-14 12:01:55 +00:00
Martin Grenfell
848857d18b rename "primary" and "secondary" trees to "tab" and "window" trees
This is much more accurate and descriptive.
2015-11-14 11:50:01 +00:00
Martin Grenfell
4dada8c04f update version number to 5.0.0 2015-11-13 16:57:21 +00:00
Martin Grenfell
be8f18914c remove some unneeded header comments 2015-11-13 16:54:47 +00:00
Martin Grenfell
f486403b68 add license file
closes #368
2015-11-13 16:50:44 +00:00
Martin Grenfell
024966c7a8 move changelog out of the main doc, remove credits section
Changelog is not really relevant to the "usage" manual so extract it.

Contributors can be viewed on github.
2015-11-13 16:48:09 +00:00
Martin Grenfell
e4891632f5 update changelog 2015-11-13 16:45:11 +00:00
Martin Grenfell
0c13ebc126 remove some old commented code 2015-11-13 15:08:01 +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
Martin Grenfell
b19995b14f Merge pull request #382 from PhilRunninger/master
Add menu option to display file/directory properties.
2015-11-13 10:42:17 +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
47c20c4b64 Merge pull request #378 from Xuyuanp/up/master
fix #363
2015-11-12 14:29:12 +00:00
Martin Grenfell
d384382091 Merge pull request #470 from egalpin/master
Update README.markdown
2015-11-12 14:26:57 +00:00
Martin Grenfell
af13d39651 Merge pull request #488 from hiberabyss/master
issue #147: add support to ~ expand in bookmarks
2015-11-12 14:25:37 +00: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
Martin Grenfell
3092ddf831 Merge pull request #502 from JESii/master
Add ability to list file metadata...
2015-11-12 14:21:54 +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
hiberabyss
34630f3926 issue #147: add support to ~ expand in bookmarks 2015-09-20 00:53:39 +08:00
Martin Grenfell
0b44415a33 Merge pull request #486 from Xuyuanp/syntax
Made NERDTreeFlags contained in NERDTreeExecFile
2015-09-18 09:42:32 +01:00
Martin Grenfell
43012a6214 Merge pull request #484 from PickRelated/master
Added character escaping to syn match regexes
2015-09-17 17:39:08 +01:00
Xuyuan Pang
d66370a8e5 Made NERDTreeFlags contained in NERDTreeExecFile 2015-09-17 11:30:14 +08:00
Igor Tatarintsev
8c8c794104 Added character escaping to syn match regexes 2015-09-15 23:22:14 +06:00
Martin Grenfell
8c7534bc9e Merge pull request #482 from PickRelated/master
Added global variables for changing default arrows
2015-09-12 19:00:35 +01:00
Igor Tatarintsev
dc29ec2db3 Added global variables for changing default arrows
g:NERDTreeDirArrowExpandable
g:NERDTreeDirArrowCollapsable
2015-09-11 23:52:37 +06:00
Igor Tatarintsev
188bd92658 Added global variables for changing default arrows 2015-09-11 23:44:06 +06:00