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
Martin Grenfell
b64942a500
uncomment out some needed syntax matching code... fail
2014-06-30 09:40:51 +01:00
Martin Grenfell
e954b2e6f8
trivial highlighting update for consistency
2014-06-29 21:44:40 +01:00
Martin Grenfell
e68e12a33b
fix highlighting for readonly files
2014-06-29 21:44:19 +01:00
Martin Grenfell
b33d6daf0b
remove the NERDChristmasTree option
...
If users want to customise the tree colours, this can be done trivially
in their vimrc. e.g.
hi link NERDTreeFile error
2014-06-29 19:53:57 +01:00
Martin Grenfell
abb93879bb
simplify the syntax matching code slightly
2014-06-29 19:53:30 +01:00
Martin Grenfell
634c23eadb
Merge branch 'better_symlink_highlighting' into update_highlighting
...
Conflicts:
syntax/nerdtree.vim
2014-06-29 18:28:28 +01:00
Martin Grenfell
9d9edd03d4
separate out syntax matching for Dir Arrows vs old style
2014-06-29 18:17:19 +01:00
Martin Grenfell
9704a38a14
update symlink highlighting
...
Previously we highlighted symlinks as one item (NERDTreeLink):
symlinked_file -> /path/to/target
Split this out into 3 highlight groups:
* NERDTreeLinkFile
* NERDTreeLinkDir
* NERDTreeLinkTarget
So we have:
symlinked_dir/ -> /foo/bar
-------------- ***********
^ ^
| |
NERDTreeLinkDir NERDTreeLinkTarget
Similarly for file links - with NERDTreeLinkFile instead of
NERDTreeLinkDir.
This allows users to modify how symlinks are highlighted. E.g. to make
them appear as normal files/dirs they could add this to their vimrc:
hi link NERDTreeLinkFile NERDTreeFile
hi link NERDTreeLinkDir NERDTreeDir
hi link NERDTreeLinkTarget ignore
2014-06-29 16:23:58 +01:00
Martin Grenfell
55a8954c48
update the doc/quickhelp for :Bookmark
...
Make it clearer that the argument is optional.
Closes #229
2014-06-29 12:37:29 +01:00
Martin Grenfell
0b1166ff78
update code in readme to auto-open a tree on startup
...
Closes #242
2014-06-29 12:29:49 +01:00
Martin Grenfell
b2d2cc1840
Merge branch 'inkarkat-better-set-filetype'
2014-06-27 19:38:02 +01:00
Martin Grenfell
4b89264dfc
Merge branch 'better-set-filetype' of https://github.com/inkarkat/nerdtree into inkarkat-better-set-filetype
2014-06-27 19:37:17 +01:00
Martin Grenfell
1168f58987
update the NERDTreeCascadeOpenSingleChildDir doc
2014-06-27 19:29:38 +01:00
Martin Grenfell
0928b5b026
Merge pull request #251 from pendulm/master
...
fix typo and smart close single child directory
2014-06-27 19:25:48 +01:00
Martin Grenfell
8189597c0b
Merge pull request #266 from staeff/patch-1
...
Fixed typo in NERD_tree.txt
2014-06-26 22:53:21 +01:00
Martin Grenfell
9e54c48086
Merge pull request #299 from tophsic/master
...
Fix typo
2014-06-26 22:52: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
8b48413155
rename NERDTreeWildIgnore option and refactor the usage of it
...
Rename it to the more intention revealing NERDTreeRespectWildIgnore.
Use it directly in the `globpath()` call rather than surrounding if
statement. Its subjective, but I find this clearer.
Add an initializer for the option.
2014-06-26 10:02:42 +01:00
Martin Grenfell
186abb84c1
Merge pull request #303 from amarshall/wildignore
...
Add option to respect wildignore
2014-06-26 09:48:39 +01:00
Martin Grenfell
10ba84b1fc
Merge pull request #308 from igrep/patch-1
...
correct invalid reference to MenuController
2014-06-26 09:40:01 +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
Martin Grenfell
dd8fe4bf69
Merge pull request #274 from an1zhegorodov/master
...
Fix help mistake
2014-06-26 09:30:48 +01:00
Martin Grenfell
e9427a9ca7
Merge pull request #326 from migueldvb/docs
...
Use pathogen.vim Helptags command in README file
2014-06-26 09:30:23 +01:00
Martin Grenfell
23d2d19846
Merge pull request #331 from jinnko/add-bookmarks-sort-flag
...
Add flag to disable/enable bookmark sorting
2014-06-26 09:27:58 +01:00
Martin Grenfell
1da2890856
Merge pull request #338 from trkoch/spaces-umlauts
...
Support spaces and umlauts in path
2014-06-26 09:23:20 +01:00
Martin Grenfell
47a3a84108
Merge pull request #340 from netj/sort-hidden-first-option
...
Option for mixing dot files when sorting
2014-06-26 09:18:44 +01:00
Jaeho Shin
43842e0de5
Option for mixing dot files when sorting
...
NERDTree can now optionally ignore the dot at the beginning of hidden
filenames for sorting to show them next to normal files if
`g:NERDTreeSortHiddenFirst` is set to 0. (By default it's set to 1 to
preserve the current behavior.) This is just like what GNU ls does when
`LC_COLLATE` environment variable is set to `en_US`.
2014-06-09 23:11:44 -07:00