Martin Grenfell
96c07746b4
Merge pull request #453 from WoLpH/patch-1
...
Fixed incompatibility with older Vim versions
2015-06-17 10:23:11 +01:00
Rick van Hattem
013c607ba4
Fixed incompatibility with older Vim versions
...
Fixed incompatibility with older Vim versions that are compiled without float function support such as `log10` and `ceil`
This fixes #452
2015-05-22 13:14:01 +02:00
Martin Grenfell
af85499eda
rename 2 sort key related vars
...
rename s:format to s:sortKeyFormat - purely for descriptive reasons
rename self.sortKey to self._sortKey - the convention is to use leading
underscores to indicate private vars
2015-05-13 20:29:03 +01:00
Martin Grenfell
99fa465b5d
fix syntax error
2015-05-13 20:27:22 +01:00
Martin Grenfell
008b62f71c
Merge pull request #450 from vtsang/master
...
Optimized NERDTree when opening a large directory
2015-05-13 20:27:06 +01:00
Martin Grenfell
6018af36bf
pretty up some FAQ code blocks
2015-05-12 20:58:35 +01:00
Martin Grenfell
2c1ebc37b2
add an FAQ about highlighting file with certain extensions
...
Closes #433
2015-05-12 20:57:49 +01:00
Martin Grenfell
dfe260d1d7
doc the path listener API
2015-05-12 20:45:15 +01:00
Vincent Tsang
10261d60a0
Updated the comment
2015-05-11 11:59:10 +08:00
Vincent Tsang
80e184df56
Refactor code to use getSortKey() and replace regular expression with
...
simple string comparison in tree_dir_node.vim
2015-05-11 11:56:08 +08:00
Vincent Tsang
3fb3fe3477
Merge branch 'master' of https://github.com/vtsang/nerdtree
...
Conflicts:
autoload/nerdtree.vim
2015-05-09 22:54:09 +08:00
Vincent Tsang
57d5bd7731
Speed up sortChildren() by using sorting token
...
This improves the sorting functions from 12 seconds to 0.66 seconds for
~4000 objects
2015-05-09 22:47:33 +08:00
Vincent Tsang
1f2531ec3a
Speed up sortChildren() by using sorting token
...
This improves the sorting functions from 12 seconds to 0.66 seconds for
~4000 objects
2015-05-09 22:38:16 +08:00
Martin Grenfell
a87b1bf3c5
Merge branch 'update_reuse_option'
2015-05-06 21:42:03 +01:00
Martin Grenfell
5c2060149f
doc NERDTreeAddPathFilter()
2015-05-06 21:20:52 +01:00
Martin Grenfell
76dbc0c8ee
Merge branch 'add_path_filter_api'
2015-05-06 20:58:55 +01:00
Martin Grenfell
da3874cf93
fix a bug when opening files in a new tab
...
On bufleave we save the nerdtree window state. However, sometimes when
bufleave is triggered the tree is no longer open in this tab - e.g. for
secondary trees or mappings that open in another tab. Dont bother saving
screen state in these cases as the code doing the saving assumes the
tree is available in this tab.
2015-05-04 20:25:43 +01:00
Martin Grenfell
7270212214
bugfix for secondary trees occurring when the screen state is saved
2015-05-03 11:14:34 +01:00
Martin Grenfell
64a9579c11
add a path filter API
...
Add an API to allow custom "path filter callbacks" to be added.
Previously we allowed one path filtering function to exist called
`NERDTreeCustomIgnoreFilter`. This has been removed and replaced with an
API to allow any number of such functions to exist - via the new
`NERDTreeAddPathFilter()`
2015-05-02 22:21:41 +01:00
Martin Grenfell
09e1dbec10
Merge branch 'refactor_autoload'
2015-05-02 15:27:14 +01:00
Martin Grenfell
fc4bcb4806
remove UI.lolcats()... not sure what the story is there
2015-05-02 15:26:59 +01:00
Martin Grenfell
8b189cb263
move some rendering and cursor moving functions out of autoload
2015-05-02 15:24:59 +01:00
Martin Grenfell
b0114d202b
move dumpHelp out of autoload
2015-05-02 15:05:28 +01:00
Martin Grenfell
53d2de86eb
move the closeTree functions out of autoload
...
Remove `closeTreeIfOpen` and just make `closeTree` fail silently.
2015-05-02 15:03:54 +01:00
Martin Grenfell
0d88ce946f
move isTreeOpen() out of autoload
2015-05-02 14:44:32 +01:00
Martin Grenfell
8270b6d717
move nerdtree#getTreeWinNum out of autoload
2015-05-02 14:32:21 +01:00
Martin Grenfell
973c9906f8
refactor 3 more functions out of the monolithic autoload file
2015-05-02 14:17:52 +01:00
Martin Grenfell
0e87d45e84
update readme to add an FAQ, update the FAQ style and rm the changelog
2015-05-02 12:01:22 +01:00
Martin Grenfell
f8499462c5
Revert "Use different arrow characters for compatibility."
...
This reverts commit f6cad7e957
.
2015-05-02 11:29:43 +01:00
Martin Grenfell
186f817f5a
Revert "fix one of the old style arrows"
...
This reverts commit b3281cc63e
.
2015-05-02 11:28:54 +01:00
Martin Grenfell
5cec19365a
Merge pull request #411 from xdl/master
...
Fix for nonexistent dir/bookmarks given to NERDTree commands
2015-05-01 16:05:35 +01:00
Martin Grenfell
b3281cc63e
fix one of the old style arrows
...
See here: 1cbd52aa77
2015-05-01 16:01:26 +01:00
Martin Grenfell
87b27802b5
allow control over whether to reuse windows in different tabs
...
When opening a file we will "reuse" a window if the buffer is already
open somewhere.
Add an option to NERDTreeOpener to configure it to not reuse windows
across tabs.
2015-05-01 15:33:06 +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
xiaodili
6dfbcd660a
Return early if exception was thrown in pathForString
2014-12-21 17:44:41 +00: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
Phil Runninger
6ccf83df24
Add menu option to display file/directory properties.
2014-09-15 11:14:44 -04:00