kiyan
21fadc1f38
chore: move nvim-tree.utils.warn -> notify.warn
...
add notify.error and notify.info
2022-07-18 13:46:11 +02:00
Kiyan
26512c369f
feat(marks): add bulk move action ( #1419 )
2022-07-17 08:25:11 +02:00
kiyan
4900d66370
fix(open-file): focus file if already opened
2022-07-16 15:38:50 +02:00
Kiyan
89becc7604
feat(marks): add navigation (next, previous, select) ( #1415 )
2022-07-16 10:40:47 +02:00
Kiyan
b32c88333f
feat(movement): allow circular movement for sibling next and prev ( #1416 )
2022-07-16 10:39:24 +02:00
kiyan
80dc86e874
refactor(actions): use vim.keymap.set/del
2022-07-14 09:57:37 +02:00
kiyan
0f96e32326
fix(actions): dispatching filter should not match for "live" keyword
...
fixes #1420
2022-07-12 10:16:01 +02:00
kiyan
078a9e5bf9
chore: move focus_file to utils
2022-07-11 16:55:33 +02:00
Kiyan
df92f1527f
feat(bookmarks): add bookmark feature ( #1412 )
2022-07-11 10:00:12 +02:00
kiyan
0fa2ec1950
fix(actions): create file should defer more to focus
2022-07-11 09:49:10 +02:00
kiyan
8d0c93db4a
refactor(collapse-all): extract buffer matching logic
2022-07-10 10:03:48 +02:00
kiyan
2d2cbe63f4
refactor(actions): split movements into multiple modules
2022-07-10 09:53:58 +02:00
Kiyan
831f1158c3
refactor(actions): move actions into semantic modules ( #1410 )
2022-07-10 09:47:52 +02:00
kiyan
95c57e034a
fix(dispatch): dispatch help toggle when its not shown
...
fixes #1411
2022-07-09 14:42:14 +02:00
kiyan
c037c7ae84
refactor(change-dir): add profile from higher order function
2022-07-09 12:14:41 +02:00
kiyan
1e7019f91e
refactor(dispatch): cleanup dispatch logic
2022-07-09 12:09:51 +02:00
kiyan
63831d5179
refactor(actions): move on_keypress to dispatch module
2022-07-09 11:43:58 +02:00
kiyan
9d3602e8ea
fix(find-file): do not recurse on closed nodes
2022-07-06 13:52:36 +02:00
kiyan
eb6dde4733
fix(change-dir): cd command concatenation
2022-07-06 09:06:29 +02:00
Rammiah
269820e800
fix(actions): change_dir to wrong directory ( #1398 )
2022-07-05 19:29:15 +02:00
Kiyan
f43b8af8f4
chore(iterators): create Iterator module and migrate iterators to use it ( #1392 )
2022-07-04 14:13:14 +02:00
kiyan
19dcacf06e
chore: cleanup change dir module
2022-07-03 12:41:13 +02:00
Alexander Courtis
80d4f28383
feat( #1245 ): add next_diag_item and prev_diag_item actions
2022-07-03 16:04:49 +10:00
Krasimir Zahariev
21516f447b
feat(actions): expand_all 'exclude' option ( #1388 )
2022-07-02 18:17:39 +02:00
kiyan
cbbc799e6c
fix(trash): do not run trash command when trash is not executable
2022-07-02 12:08:46 +02:00
Rammiah
ec09b80c7b
fix(actions): close_node doesn't close for grouped node ( #1385 )
2022-07-01 15:49:31 +02:00
Alexander Courtis
72858986f9
fix( #1366 ): warn when trash cmd missing ( #1378 )
2022-06-28 18:29:42 +02:00
Kiyan
e6c1b4cd5b
chore(setup): make setup idempotent ( #1340 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-06-26 12:14:03 +02:00
litao91
79258f1d67
fix: window picker can't be correctly rendered when cmdheight = 0 ( #1349 )
...
Co-authored-by: litao <litao912002@hotmail.com >
2022-06-20 08:29:47 +02:00
kiyan
bdb6d4a254
fix(actions): reloading copy-paste logic inverted
...
fixes #1331
2022-06-11 11:22:45 +02:00
Kiyan
b0d27c09b6
feat(explorer): add filesystem watchers ( #1304 )
...
* feat(explorer): add experimental watchers
This commit introduces watchers to update the tree.
This behavior is introduced behind an "filesystem_watchers" option
which should prevent instabilities.
It will become the default at some point.
Co-authored-by: Alexander Courtis <alex@courtis.org >
2022-06-05 12:39:39 +02:00
kiyan
25921aa87a
fix(open-file): do not open file when target winid is nil
2022-06-04 14:06:35 +02:00
kiyan
6b26628acf
fix(preview): open file in preview should delete buffer when hidden
...
fixes #1307
2022-05-30 18:59:43 +02:00
Alexander Courtis
8198fa01fc
doc: default mappings
2022-05-30 12:53:28 +10:00
kiyan
5e900c2f29
refacto: tree explorer root should be absolute_path not cwd
2022-05-29 11:40:06 +02:00
emmanueltouzery
3806653d75
new option: close windows displaying removed files ( #1300 )
2022-05-29 11:23:01 +02:00
Kiyan
3a95c5a9cf
feat(actions): expand all under folder ( #1292 )
2022-05-29 11:15:32 +02:00
Alexander Courtis
3ba383d591
chore/remove globals ( #1279 )
...
* remove renderer globals: nvim_tree_add_trailing nvim_tree_highlight_opened_files nvim_tree_root_folder_modifier nvim_tree_special_files
* remove renderer globals: nvim_tree_icon_padding
* remove renderer globals: nvim_tree_symlink_arrow
* remove renderer globals: nvim_tree_show_icons, nvim_tree_show_icons
* remove renderer globals: nvim_tree_git_hl
* remove renderer globals: nvim_tree_group_empty
* remove renderer globals: respect_buf_cwd
* remove renderer globals: nvim_tree_create_in_closed_folder
* remove globals: consistency in legacy checks
* remove renderer globals: nvim_tree_special_files
* renderer.icons.symbols -> glyphs
2022-05-28 11:08:40 +10:00
kiyan
540c811cb2
fix(open file): do not trigger buf enter event when setting target win
...
Fixes #1288
Also starts a refactoring of the open-file code, to make it easier to
debug and improve.
2022-05-26 13:37:50 +02:00
kiyan
73ab312820
refactor: simplify opening file in new tab
...
fixes #1271 . Also fixes opening a file in new tab when close_on_open was
true.
This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.
2022-05-21 12:09:09 +02:00
Kiyan
6343813a35
feat(live-filter): add ability to live filter out nodes in the tree ( #1056 )
2022-05-17 10:03:49 +02:00
Michael
46014449b6
refactor: use lua api for user commands and autocommands ( #1206 )
...
BREAKING: plugin now requires nvim-0.7
2022-05-14 09:49:45 +02:00
Alexander Courtis
82ec79aac5
#1216 show diagnostic signs on all folders ( #1244 )
2022-05-10 11:22:11 +10:00
kiyan
82a646225f
fix(parent node): do not close folder when should_close is false
2022-05-08 13:30:57 +02:00
Kiyan
d8aad37997
fix(close-node): do not close parent when current node is open ( #1239 )
2022-05-08 11:38:05 +02:00
kiyan
ec888d08ce
fix(open file): set target win when opening new file
...
fixes #1214
Still this is a patch that is not really great. This code should be
rewritten.
2022-05-07 12:16:26 +02:00
Kiyan
db873b340d
chore(diagnostics): move updates to renderer ( #1218 )
...
should address #1216
2022-05-07 11:14:32 +02:00
kiyan
428898154f
chore: lib can be required directly in movements.lua
2022-04-30 16:41:26 +02:00
Kiyan
3ac443207f
#1166 validate config ( #1195 )
2022-04-26 21:11:24 +02:00
Andreas Bissinger
a94f5bf776
fix: correct line when moving in tree ( #1200 )
2022-04-26 21:10:27 +02:00