Commit Graph

322 Commits

Author SHA1 Message Date
Andreas Bissinger
1b8757e530 fix: changed search_node action to determine correct index (#1022) 2022-03-01 19:56:43 +01:00
Alexander Courtis
97717d8d23 G migration mechanism (#1030) 2022-03-01 19:54:12 +01:00
Alexander Courtis
3d8912ca53 add more sensible defaults for window_picker.excludes (#1027) 2022-02-28 21:33:24 +01:00
Alexander Courtis
ce3604d33c #972 bug: prev_git_item with hijack_cursor selects icon instead of previous file (#1025) 2022-02-28 21:31:23 +01:00
Andreas Bissinger
48e76bc031 feat: Add a new keybinding to search and expand a certain path (#1014) 2022-02-22 23:36:59 +01:00
kiyan
19346da6e1 fix: abandon window and bufnr before editing file
fixes a vinegar mode issue
2022-02-22 21:45:37 +01:00
Grzegorz Rozdzialik
0fcd6614b5 feat: allow not changing the cwd when changing directories (#1019) 2022-02-22 21:39:12 +01:00
Richard Mathieson
3486c48225 fix: add config for preserving window proportions on open file (#999) 2022-02-22 14:04:14 +01:00
kiyan
2898c4d58f hotfix: avoid duplicates when finding file
fixes #1018
2022-02-22 10:56:33 +01:00
kiyan
69867f4a00 chore: move window picker configuration in setup 2022-02-21 22:19:35 +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
Andreas Bissinger
9f3dc98de7 feat: Add a new keybinding "W" to collapse the whole tree (#1013) 2022-02-21 13:46:55 +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
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
Lopi-py
5f047bc5f9 fix: close windows properly (#924) 2022-02-17 08:19:42 +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
5a6fd49ee5 fix: check bufnr is valid in diagnostics 2022-02-16 08:29:13 +01:00
kiyan
0c43c809b9 fix lint issue 2022-02-15 20:52:26 +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
ad2802d9c4 fix: do not update cwd when changing window 2022-02-14 19:43:57 +01:00
kiyan
ac3f02a83e tempfix: redraw when setting cursor to address a neovim issue
addresses #970
2022-02-14 19:26:55 +01:00
Kiyan
6da7467944 refacto: buffer management, setup fixes, autocmd fixes (#967) 2022-02-14 19:16:45 +01:00
Kiyan
3f4ed9b6c2 fix: reload git status of existing nodes (#975) 2022-02-13 13:44:09 +01:00
kiyan
95c331ce32 fix: revert git item movement direction
fixes #971
2022-02-13 12:16:55 +01:00
kiyan
0f7da146bf chore: add guards to prepare setup refactoring 2022-02-11 11:06:11 +01:00
kiyan
36afa32018 chore: move _prevent_buffer_override in entry file 2022-02-11 10:11:59 +01:00
eightpigs
c226eaf0bf fix: bufnr is nil when incomplete setup. (#955)
fixes #947
2022-02-10 19:07:59 +01:00
Steve Vermeulen
da59247db9 Fixed some trailing slash bugs (#957)
* Fixed issue where user would have to trigger dir-up action multiple times to get it to work

* Fix to path_join to ensure the result does not have a double slash
2022-02-10 08:56:05 +01:00
kiyan
525042317e fix: lint issues 2022-02-09 22:29:34 +01:00
kiyan
4fc9cb1da3 chore: move code around
- deprecate config.lua file
- move icon config code into renderer/icons
- move file opening config in open-file.lua
2022-02-09 22:26:02 +01:00
kiyan
5744c469a6 fix(temporary): defer colors setup and hijack window
lazy loading + opening will close the window. Need to find a fix for
this.
fixes #947
2022-02-09 21:01:02 +01:00