Sindre T. Strøm
aa026ab87c
Revert "feat: reset old window when leaving the tree" ( #421 )
2021-05-31 22:46:54 +02:00
kiyan
be184bd94e
feat: reset old window when leaving the tree
2021-05-28 09:13:37 +02:00
Zi莱卷
d6ab59fd5a
feat: Support copy name and path ( #385 )
2021-05-21 08:32:48 +02:00
kiyan
825cf570bf
fix: open on tabpage when tree is already open only
2021-05-17 22:32:36 +02:00
Kiyan
783870cda9
fix: handle new tabs properly ( #313 )
2021-04-18 11:11:56 +02:00
kiyan42
75cb2232f2
fix: reset highlight using old lib.Tree.bufnr
2021-04-17 21:35:27 +02:00
kiyan42
d065927322
hotfix forgot to switch win open to view in on_leave call
2021-04-14 09:21:11 +02:00
Kiyan
ff814676d5
chore: rewrite buffer/window handling into view file ( #287 )
2021-04-13 23:54:01 +02:00
Kiyan
81269a6eba
chore: remove async to avoid unecessary complexity ( #277 )
2021-04-08 22:36:17 +02:00
Carlos Afonso
de93da78a9
Feat/add advanced navigation ( #257 )
2021-04-03 00:38:28 +02:00
Sindre T. Strøm
709d6b968b
feat: Option for grouping empty directories ( #247 )
2021-03-26 19:24:03 +01:00
kiyan
f7ad4ce5f4
feat: add trailing slash on folder names
...
enable the feature through `vim.g.nvim_tree_add_trailing`
2021-03-16 21:26:03 +01:00
kiyan
0136801444
chore: rename lib folder to nvim-tree
...
Allows external access to the lua api and follow neovim plugins better
practices
2021-02-22 21:02:23 +01:00
kiyan
07da8a7242
feat/fix: add rename cmd, fix rename error
...
- add <C-r> binding to omit the filename on rename (option is
full_rename).
- call `silent! write!` on rename to avoid the `overwrite existing file`
error when saving the buffer.
2021-02-22 20:54:53 +01:00
kiyan
ce2420b9da
remove custom gx command in favor of netrw functionnalities and add documentation for netrw hijack
2021-02-21 12:27:31 +01:00
RedBug312
3bd96e3caa
Fix dependency problem
...
require 'nvim-web-devicons' fails if colors.setup done in plugin/. This
may be related to loading order.
2021-02-19 18:09:59 +01:00
RedBug312
25208ed91d
Avoid colors.setup() being deferred
2021-02-19 18:09:59 +01:00
dorgnarg
aab0a136ac
Give users the option to enable netrw
2021-02-15 09:28:28 +01:00
Sergey Bulavintsev
c59831a5d1
Add opt to don't open tree on specific filetypes
2021-02-11 21:17:15 +01:00
Joel D. Elkins
92da0c78a3
Remove unused variable
2021-01-20 18:44:58 +01:00
li
01ae59823c
add close binding
2021-01-17 23:26:45 +01:00
Joel D. Elkins
bacb987b77
Execute action in target window if possible
...
Change lib.open_file semantics somewhat to open files in the window from
which the tree was opened, if possible. I call this window the target.
If the buffer in the target window is modified, then execute the
desired configured split (split or vsplit) relative to the target. If
the target is unmodified, open the selected node in the target, hiding
the buffer. If the selected node is already visible in a window, don't
do any of the foregoing; instead, just jump to that window. If the
target has been closed, the preserve the original semantics.
2021-01-15 19:35:38 +01:00
Joel D. Elkins
0a4123b71f
Move dir_up functionality into lib and make '-' a default keymap for it
2021-01-15 19:31:44 +01:00
Joel D. Elkins
361e20ecfa
Add dir_up function to expose navigating up one directory
2021-01-10 16:07:02 +01:00
kiyan42
05711754d9
renaming: lua-tree -> nvim-tree
2020-12-27 19:14:34 +01:00