Commit Graph

946 Commits

Author SHA1 Message Date
Arthur
fdcdb0ddf3
:help nvim-tree.setup -> :help nvim-tree-setup (#1409) 2022-07-09 12:10:59 +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
Alexander Courtis
b81ab199a5 fix(help): clear git signs before draw 2022-07-09 11:44:39 +10:00
Alexander Courtis
d0ca2dab00 stylua 0.14.0 2022-07-09 11:26:55 +10:00
Alexander Courtis
08db5a576d doc: clarify need for patched font for nvim-web-devicons 2022-07-09 11:14:15 +10:00
Alexander Courtis
22044589fe doc: add tip to hide .git folder 2022-07-09 10:37:18 +10:00
kiyan
4bd919a75f fix(get-node-from-path): group dirs should be returned before nodes 2022-07-06 14:00:43 +02:00
kiyan
9d3602e8ea fix(find-file): do not recurse on closed nodes 2022-07-06 13:52:36 +02:00
kiyan
c84735483f feat: add on_tree_resize event 2022-07-06 13:35:29 +02:00
kiyan
eb6dde4733 fix(change-dir): cd command concatenation 2022-07-06 09:06:29 +02:00
Edwar Martinez Vale
418fc971fc
fix(iterators): the index does not increase (#1399) 2022-07-06 01:07:36 +02:00
Rammiah
269820e800
fix(actions): change_dir to wrong directory (#1398) 2022-07-05 19:29:15 +02:00
Toby O'Sullivan
38fabe86cb
Optionally suppress the symlink destination (#1396) 2022-07-05 10:05:21 +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
70bdf496ea chore: remove quit_on_open from view and use abandon current window 2022-07-04 14:12:56 +02:00
Grzegorz Rozdzialik
40e515df87
fix(view): do not close window when NvimTree buffer is replaced (#1391) 2022-07-04 14:11:42 +02:00
kiyan
28c4bb01f6 fix: close view before hijacking current window 2022-07-04 10:17:06 +02:00
kiyan
19dcacf06e chore: cleanup change dir module 2022-07-03 12:41:13 +02:00
Alexander Courtis
736cc843e1
feat(#1389): add git.show_on_dirs (#1390) 2022-07-03 11:57:12 +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
Alexander Courtis
c18aa389a3 doc: setup may be invoked multiple times 2022-06-28 11:27:14 +10:00
Alexander Courtis
e401a4c957 feat(watcher): debounce FS watchers 2022-06-28 11:18:22 +10:00
Alexander Courtis
7a795d78fa
feat(watcher): partial git refresh (#1373) 2022-06-27 11:12:28 +10:00
Alexander Courtis
247f80b633 doc: clarify quit-on-last-window-hack support status 2022-06-27 09:34:24 +10: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
Alexander Courtis
0c13bd76a8
chore: update_root, sync_root_with_cwd, refactor with move_missing_val (#1359)
* chore: opts.update_focused_file.update_cwd -> update_root

* chore: opts.update_cwd -> sync_root_with_cwd

* chore: refactor options with utils move_missing_val

* chore: refactor options with utils move_missing_val

* chore: refactor options with utils move_missing_val

* chore: refactor options with utils move_missing_val

* chore: refactor options with utils move_missing_val

* chore: refactor options with utils move_missing_val
2022-06-26 12:18:14 +10:00
lixvbnet
b299a877ad
fix (#1363): use change_dir.fn instead of lib.open in M.change_root 2022-06-25 14:14:08 +10:00
Alexander Courtis
65beb55ac7
doc(#1368): more quit-on-last-window warnings 2022-06-25 12:43:14 +10:00
Alexander Courtis
0db63a350a doc: tidy help 2022-06-25 11:39:24 +10:00
Alexander Courtis
7160e68d5a doc: tidy help 2022-06-25 11:23:19 +10: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
Alexander Courtis
104292c8f9 chore: rename and simplify help update script 2022-06-20 11:54:14 +10:00
Alexander Courtis
6548287e8b feat: add cwd arg to open_replacing_current_buffer: retain existing valid buffer check 2022-06-20 09:52:56 +10:00
Kiyan
f262236107
chore: add matrix link to readme 2022-06-19 10:49:53 +02:00
kiyan
3bc2207f4a chore: simplify get_alt_or_next_buf 2022-06-19 09:51:40 +02:00
Alexander Courtis
d9aaa2f985
fix(#1356): view.close switch_buf_if_last_buf prefers alt buf (#1357) 2022-06-19 09:51:01 +02:00
javiertury
6b7b1b34fa
feat: add cwd arg to open_replacing_current_buffer (#1348) 2022-06-19 13:59:35 +10:00
Alexander Courtis
1fc0eee946
fix(#1354): add missing :hi NvimTreeFileIgnored (#1358) 2022-06-18 10:42:12 +02:00
btstream
e82a921baa
fix(view): prevent buffer override when actions.open_file.quit_on_open
* fix(view): prevent open buffer on NvimTree window when actions.open_file.quit_on_open is true

* fix(view): add view.quit_on_open function to prevent open on NvimTree window

Co-authored-by: btstream <btstream@gmail.com>
2022-06-18 17:07:24 +10:00
lixvbnet
b08003f546
feat: add NvimTreeFindFile!, root_dirs and prefer_startup_root 2022-06-18 15:32:56 +10:00
Alexander Courtis
84c2bd77ff docs: remove duplicate help tag 2022-06-18 14:18:37 +10:00
gegoune
aba394896b
docs: lighten up readme and rework docs (#1327)
* docs: lighten up readme and rework docs

* docs: clean up mappings from readme + some other small changes

* docs: move sections around

* ci: remove readme parts of docs' autogen

* docs: discuss nvim-web-devicons and provide an example

* docs: add an example setup

* docs: fix opts scraping; try and make more macos compatible

* docs: add *nvim-tree* tag at start of help

* docs: add an example setup

* docs: update quick start to match readme

* docs: add basic commands

* docs: add g? hint

* docs: add :help links to readme

* docs: restore help wanted

* docs: add example screenshot

* docs: add features

* docs: add example screenshot

* docs: add features to help

* docs: clarify option functions

Co-authored-by: Alexander Courtis <alex@courtis.org>
2022-06-18 14:14:42 +10:00
kiyan
bdb6d4a254 fix(actions): reloading copy-paste logic inverted
fixes #1331
2022-06-11 11:22:45 +02:00
Alexander Courtis
9219831aa2 fix: .luarc.json globals/disables 2022-06-11 13:41:33 +10:00
kylo252
1caca62854
feat(view): ability to centralize view on entering (#1310) 2022-06-07 10:09:58 +10:00