Commit Graph

717 Commits

Author SHA1 Message Date
Martin Grenfell
b3281cc63e fix one of the old style arrows
See here: 1cbd52aa77
2015-05-01 16:01:26 +01:00
Martin Grenfell
1cbd52aa77 Merge pull request #434 from handcraftedbits/master
Use different arrow characters for compatibility.
2015-05-01 14:13:13 +01:00
Martin Grenfell
cd5f1685bc Merge pull request #436 from devmanhinton/patch-1
Remove NERD_tree.txt typo
2015-05-01 14:11:54 +01:00
Devon Hinton
321de60366 Remove NERD_tree.txt typo
"If not" -> "If No"
2015-04-22 01:06:47 -07:00
Curtiss Howard
f6cad7e957 Use different arrow characters for compatibility. 2015-04-17 17:36:23 -04:00
Martin Grenfell
3b98a7fcae Merge pull request #403 from gcmt/pretty-cwd
Pretty CWD
2014-11-20 11:02:17 +00:00
Giacomo Comitti
ba26044746 Truncate paths at slashes. 2014-11-20 07:50:47 +01:00
Martin Grenfell
f8fd2ecce2 Merge pull request #390 from zhangoose/patch-1
easier to read one of the FAQ answers
2014-10-30 08:22:27 +00:00
Alex Zhang
a895a53f1f easier to read one of the FAQ answers
added space between vimrc insertion & question
2014-10-29 20:00:36 -04:00
Martin Grenfell
3d421b8ec5 use the built in fnamemodify() to make a path relative
Closes #383
2014-10-29 19:18:28 +00:00
Martin Grenfell
3ce33f017e fix escaping for :edit when renaming files 2014-10-29 18:35:53 +00:00
Martin Grenfell
031ab5267c Merge remote-tracking branch 'origin/master' 2014-10-29 18:32:53 +00:00
Martin Grenfell
5d0626a003 Merge pull request #384 from gastropoda/reopen-after-rename
Fix reloading renamed file
2014-10-29 18:32:27 +00:00
Martin Grenfell
1c08146224 apply @mixvin's windows path fix at the top of the method instead 2014-10-29 11:20:58 +00:00
mixvin
cd8d87fa57 Fix opening file path, in Windows 2014-10-29 11:17:53 +00:00
Artem Baguinski
2fd0aa3ec7 Fix reloading renamed file 2014-09-25 11:08:53 +02:00
Martin Grenfell
4f1e6ecb05 Merge pull request #365 from ifsred/master
Fix doc map for NERDTreeMapChangeRoot
2014-08-06 14:27:45 +01:00
ifsred
c4086667ef Fix doc map for NERDTreeMapChangeRoot 2014-08-06 12:33:23 +03:00
Martin Grenfell
a47c6caf80 Merge pull request #359 from Xuyuanp/up/master
add refreshDirFlags method to avoid refreshing too many files
2014-07-22 09:14:57 +01:00
Xuyuan Pang
8cd045d0e2 add refreshDirFlags method to avoid refreshing too many files 2014-07-19 17:57:41 +08:00
Martin Grenfell
c2dd750860 move nerdtree#treeExists.* methods into the NERDTree class 2014-07-17 20:31:17 +01:00
Martin Grenfell
fd14757c04 add proper events and make the notifier class generic
Expand the event system to have explicit Event objects and potentially
many Notifiers. Previously they was only one notifier and one (implied)
event.

A lot of this is stolen from #358.
2014-07-17 20:18:09 +01:00
Martin Grenfell
f9a933991d allow plugins to override the default mappings 2014-07-15 19:00:17 +01:00
Martin Grenfell
aa831e242b Merge pull request #356 from alvan/patch-2
Use event BufLeave instead of BufWinLeave to record screen state
2014-07-14 10:03:01 +01:00
Martin Grenfell
0c045d85ea fix a bug from recent refactoring RE some NERDTreeCWD 2014-07-14 09:43:45 +01:00
Martin Grenfell
2f552e116d add highlighting for flags
Rename the old NERDTreeFlag syntax item to NERDTreeIgnore.
2014-07-10 23:35:42 +01:00
Martin Grenfell
579d96a0f3 remove testing git plugin 2014-07-10 20:14:41 +01:00
Martin Grenfell
9f351de594 Merge branch 'master' into expt_add_path_flags_and_git 2014-07-09 09:26:17 +01:00
Martin Grenfell
1e0d1cbc8f move some more view code into the UI class 2014-07-09 09:25:25 +01:00
alvan
98a5d1fca7 Use event BufLeave instead of BufWinLeave to record screen state to avoid undefined b:NERDTree error
Use event BufLeave instead of BufWinLeave to record screen state. The BufWinLeave event also triggered when exiting(:qa), will cause an undefined b:NERDTree error.
2014-07-09 15:20:24 +08:00
Martin Grenfell
2f59cc2080 Merge branch 'master' into expt_add_path_flags_and_git 2014-07-08 09:47:38 +01:00
Martin Grenfell
eaa66aaf63 fix the NERDTreeFind command - broken in recent refactoring 2014-07-08 09:45:24 +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
410081a60e Merge pull request #353 from lucascaton/master
Updating creator.vim file (this fixes #352)
2014-07-08 09:06:46 +01:00
Lucas Caton
1784de15dd Updating creator.vim file (this fixes #352) 2014-07-08 10:57:39 +10:00
Martin Grenfell
7f36008e80 Merge branch 'master' of github.com:scrooloose/nerdtree 2014-07-07 23:02:14 +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
f982f61e8a continue breaking up the autoload/nerdtree god module 2014-07-07 21:34:57 +01:00
Martin Grenfell
86488b1aa0 move ui functions out into their own autoload
All of the autoload shit needs to be cleaned up... break it out first
2014-07-07 19:36:34 +01:00
Martin Grenfell
04d9b27541 add .refreshFlags() to path/dir/file objects
This will trigger the path refresh callbacks without refreshing the
path's from disk (which takes ages)
2014-07-07 18:24:37 +01:00
Martin Grenfell
3941389f13 fix a retarded bug with FlagSet.clearFlags 2014-07-06 23:36:45 +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
3effeb5cb7 Merge pull request #347 from kelaban/minor-fix-to-readme
Fixes README for opening vim with no files
2014-07-03 09:22:36 +01:00
Keith Laban
04ac39b4b9 Fixes README for opening vim with no files 2014-07-02 19:46:03 -04:00
Martin Grenfell
d162c08fd7 comment and tweak the <LeftRelease> fix in 24561ad 2014-07-02 20:54:14 +01:00
Martin Grenfell
2a769a7263 Merge pull request #298 from buggo/master
Fix error 121 when clicking on command line below another window
2014-07-02 20:49:59 +01:00
Martin Grenfell
0ee888ee17 simplify the <cr> mapping definition 2014-07-02 20:25:17 +01:00
Martin Grenfell
0b551a8abd Merge pull request #346 from shanesmith/master
Fix <CR> not working if active node map is special char such as <Right>
2014-07-02 20:23:56 +01:00
Shane Smith
82cd4f5a9f Fix <CR> not working if active node map is special char such as <Right> 2014-07-01 20:29:52 -04:00