Commit Graph

701 Commits

Author SHA1 Message Date
Richard Mathieson
3486c48225 fix: add config for preserving window proportions on open file (#999) 2022-02-22 14:04:14 +01:00
kiyan
61b57e3676 doc: fix mappings setup for vinegar 2022-02-22 10:59:44 +01:00
kiyan
2898c4d58f hotfix: avoid duplicates when finding file
fixes #1018
2022-02-22 10:56:33 +01:00
kiyan
9bea1947fb chore: fix documentation on vinegar 2022-02-22 09:23:01 +01:00
kiyan
494c9ecfbf fix(auto_close): do not close tree if buffers are modified
fixes #891
2022-02-22 00:10:55 +01:00
kiyan
600aa849f3 fix(auto_close): do not close when buffer is modified 2022-02-22 00:09:12 +01:00
kiyan
56edf79b4b fix(auto_close): abort when win closed is telescope
fixes #609
2022-02-21 23:25:32 +01:00
kiyan
69867f4a00 chore: move window picker configuration in setup 2022-02-21 22:19:35 +01:00
kiyan
3920e56164 fix: forget window when quit_on_open is true and buffer is wiped 2022-02-21 21:52:46 +01:00
kiyan
b59ff27087 fix: typo in doc 2022-02-21 21:45:02 +01:00
kiyan
f8f297acbf feat: add vinegar abilities to the tree
fixes #860
2022-02-21 21:42:43 +01:00
kiyan
f977e5c05a refacto: make git module interface to wait for job to finish
allows simplify the explore/reload/find/initialization by making the
whole code synchronous. No more callback needed.
2022-02-21 19:12:16 +01:00
kiyan
a9fe57c0d8 chore: update docs to add H and formatting 2022-02-21 18:48:22 +01:00
Andreas Bissinger
9f3dc98de7 feat: Add a new keybinding "W" to collapse the whole tree (#1013) 2022-02-21 13:46:55 +01:00
ilkecan
95df001185 fix(doc): nvim_tree_create_in_closed_folder default value (#1015) 2022-02-20 23:19:14 +01:00
kiyan
58b81ed9e6 refacto: remove rendering from lib.init 2022-02-20 23:01:25 +01:00
kiyan
9008bac180 hotfix: force redraw when changing directory 2022-02-20 22:23:37 +01:00
kiyan
e1c6a575c0 fix: wait for init to finish before finding file
fixes #1003
2022-02-20 22:20:23 +01:00
kiyan
83f398ee8f fix: opening tree
opening the tree checks bufname is directory properly and do not render
before initializing when tree is nil.
2022-02-20 21:48:46 +01:00
kiyan
209bc3d2ef fix: properly manage directory and unnamed buffers hijacking 2022-02-20 20:04:05 +01:00
kiyan
ec7043c53f refacto: extract functions in explorer 2022-02-20 15:24:23 +01:00
kiyan
527d88d54e refacto: simplify interface of reload and explore
also make common group empty check in explorer utils
2022-02-20 15:08:36 +01:00
wongxy
41f51508e3 fix: use "" as flag to remove default mappings (#1011) 2022-02-20 11:29:09 +01:00
Alexander Courtis
a1937ca079 1007 do not wipe modified buffers when hijack unnamed buffer when opening (#1009) 2022-02-20 10:41:47 +01:00
kiyan
589e39d642 chore: document toggle method second parameter 2022-02-19 17:00:20 +01:00
Alexander Courtis
44ffcb6f4b #998 allow users to unmap keys, remove user keys from default multi key maps (#1000) 2022-02-19 16:50:27 +01:00
Alexander Courtis
070a57a195 #973 copy action_cb for view.mappings.custom_only (#997) 2022-02-19 16:44:26 +01:00
kiyan
2e1f82d8c0 fix: reload group_next properly
fixes #948
2022-02-17 20:08:33 +01:00
kiyan
44489380a8 fix: multiple find-file triggered at the same time duplicates files 2022-02-17 16:09:45 +01:00
kiyan
e8ecfbf95f fix: do not hijack unnamed buffer when opening manually 2022-02-17 13:23:08 +01:00
Kiyan
dbf172c67a fix: do not match ignored when not showing untracked files (#996)
fixes #985
2022-02-17 10:08:07 +01:00
Xavier Young
bbad18ba51 fix: reset autocmds when require again (#995) 2022-02-17 08:20:10 +01:00
Lopi-py
5f047bc5f9 fix: close windows properly (#924) 2022-02-17 08:19:42 +01:00
zeertzjq
06cabd5559 fix: also hijack netrw on VimEnter (#994)
If setup() is called before netrw is loaded, netrw needs to be hijacked on VimEnter instead.
2022-02-17 08:17:49 +01:00
kiyan
f7a6ddb720 fix: do not hijack dashboard window during open
fixes #983
2022-02-16 21:10:28 +01:00
kiyan
76d4ed5d77 feat: add ability to not hijack the unnamed buffer 2022-02-16 21:00:28 +01:00
kiyan
015e7e8611 fix: focus view if view is open on nvim-tree.open 2022-02-16 20:51:52 +01:00
kiyan
bf697d782d chore: leave netrw enabled by default but still hijack it 2022-02-16 20:43:41 +01:00
kiyan
5a6fd49ee5 fix: check bufnr is valid in diagnostics 2022-02-16 08:29:13 +01:00
kiyan
64c098d9c2 fix: schedule find-file, not toggle
fixes #988
2022-02-15 22:14:43 +01:00
kiyan
0c43c809b9 fix lint issue 2022-02-15 20:52:26 +01:00
kiyan
72305f3730 fix: schedule find-file on toggle to avoid searching for nvim-tree
fixes #986
fixes #987
2022-02-15 20:38:57 +01:00
kiyan
90ea6c01fd feat: allow no focus in toggle
fixes #968
2022-02-15 20:26:00 +01:00
Xavier Young
121f5c9037 fix: use canonical path in windows (#977) 2022-02-15 08:36:53 +01:00
Xavier Young
fdf63e572d fix: use fs_realpath to normalize path (#978) 2022-02-15 08:33:11 +01:00
Kiyan
d34ea42254 fix: find file waits for git to finish (#976) 2022-02-15 08:22:56 +01:00
kiyan
1a5ee2870e fix: fallback to window 0 when winnr is nil in focus
fixes #982
2022-02-15 08:16:42 +01:00
kiyan
c584ac3509 fix: do not update diagnostics when tree is nil
fixes #984
fixes #981
2022-02-15 07:59:54 +01:00
kiyan
b1127c5dea fix: auto open on tab
it was scheduled before because of the weird management of events, but
now as it's been fixed in the latest big PR, this works just fine
without scheduling. Needs a redraw because the buffer is recreated.
2022-02-14 19:51:40 +01:00
kiyan
ad2802d9c4 fix: do not update cwd when changing window 2022-02-14 19:43:57 +01:00