Commit Graph

17 Commits

Author SHA1 Message Date
Gary Sentosa
57d6f70952 fix: window picker bug on global statusline (#1098) 2022-03-22 20:14:53 +01:00
kiyan
e87ee0e3c3 chore: license open-file as MIT 2022-03-20 13:36:21 +01:00
Alexander Courtis
20797a8d74 #1050 #1068 various default options tweaks (#1074) 2022-03-18 11:35:15 +01:00
kiyan
5af3cfa170 fix: split if nvim-tree is the only window
also fix resize when trying to open but the buffer exists
2022-03-09 22:29:26 +01:00
Kiyan
0816064a8b chore: add stylua to format the codebase, and run on CI (#1055) 2022-03-06 17:33:30 +01:00
kiyan
38cc6305b4 fix: forgot resize_window option in open-file setup 2022-03-01 21:11:11 +01:00
kiyan
6af2d5a720 chore: move auto_resize to actions.open_file.resize_window
fixes #1034
2022-03-01 20:07:36 +01:00
Alexander Courtis
3d8912ca53 add more sensible defaults for window_picker.excludes (#1027) 2022-02-28 21:33:24 +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
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
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
8b27fd4e61 refacto: move target_winid outside of tree 2022-02-06 17:03:23 +01:00
kiyan
1fe29f8eef chore: move g:nvim_tree_quit_on_open into open_file action config 2022-02-05 18:42:08 +01:00
kiyan
9880c22ace fix: do not error out when opening with swapfile
fixes #880
2022-02-05 12:42:22 +01:00
Sander van Harmelen
14bdf134f9 Add a mode that allows edit without the picker (#873) 2022-01-21 12:36:28 +01:00
kiyan
4d22f9487d refacto: move open-file to actions
move all logic to open file from lib to actions/open-file
2022-01-21 12:01:17 +01:00