Commit Graph

1172 Commits

Author SHA1 Message Date
Kiyan
26512c369f
feat(marks): add bulk move action (#1419) 2022-07-17 08:25:11 +02:00
kiyan
208ce0b153 doc(contrib): add notice for git hook setup 2022-07-16 15:44:05 +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
449b5bd0cb fix(renderer): padding indent with folders only 2022-07-15 18:09:28 +02:00
kiyan
9a02dedd92 fix(renderer): indent markers with arrows
breaking: glyphs for indent markers should only be one block large
2022-07-15 09:33:40 +02:00
kiyan
19425c5896 refactor(renderer): extract bools into variables 2022-07-14 19:07:12 +02:00
kiyan
8632ac2739 fix(renderer): indent markers + folder arrows should offset
fixes #1421
2022-07-14 19:04:01 +02:00
kiyan
80dc86e874 refactor(actions): use vim.keymap.set/del 2022-07-14 09:57:37 +02:00
kiyan
7087af83f3 fix(keypress): use <cmd> instead of : to avoid triggering CmdLineEnter
fixes #1417
2022-07-14 09:33:19 +02:00
ii14
c231933fcd
feat: add -bar option to command definitions (#1422)
Co-authored-by: ii14 <ii14@users.noreply.github.com>
2022-07-14 09:17:30 +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
6a49a0301f refactor(marks): fix offset line and move into init.lua
also set node in marks record instead of true
2022-07-12 09:34:26 +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
Alexander Courtis
26d0757bd9 doc: fix bad link in readme 2022-07-11 09:44:43 +10:00
kiyan
ad1f3ef3bc feat(renderer): show symlink folder destination
fixes https://github.com/kyazdani42/nvim-tree.lua/issues/980
2022-07-10 10:47:51 +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
90bf14014e fix(file rename): edit buffer when renaming to reset filetype
fixes https://github.com/kyazdani42/nvim-tree.lua/issues/1404
2022-07-10 09:39:11 +02:00
Alexander Courtis
fd562ede63
fix(#1406): allow nvim-tree.renderer.icons.show.folder_arrow
* fix(#1406): allow nvim-tree.renderer.icons.show.folder_arrow when not folder

* fix(#1406): allow nvim-tree.renderer.icons.show.folder_arrow when indent markers enabled

* fix(builder): highlight first iteration for arrow column

* fix stylua

Co-authored-by: kiyan <yazdani.kiyan@protonmail.com>
2022-07-10 12:14:18 +10: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
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