Commit Graph

13 Commits

Author SHA1 Message Date
kiyan
618ea25613 fix: clear prompt when creating file
fixes #1138
2022-04-06 13:37:17 +02:00
baahrens
7b0ebf8b17 feat: Use vim.ui.input for rename and create (#1097) 2022-03-22 20:28:58 +01:00
kiyan
471afc13fe refacto: abstract TreeExplorer in core.lua 2022-03-09 22:01:54 +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
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
ea92e7bf7c refacto: set tree explorer in the global state
also remove the redraw method and use renderer.draw immediately
2022-02-07 22:07:08 +01:00
kiyan
23c95a674f chore: move refresh/reloaders into actions.reloaders 2022-02-06 16:24:14 +01:00
kiyan
4a9e53143b refacto: ubiquitous language renaming
BREAKING
- rename all 'entry' to 'node' or '_node' if shadowing
- rename all 'entries' to 'nodes'
2022-02-05 18:10:09 +01:00
kiyan
3936829088 fix(file creation): containing folder offset in input 2022-02-05 17:12:05 +01:00
kiyan
52dd0402de chore: extract functions initialization in create-file 2022-02-05 13:57:13 +01:00
kiyan
192b2266f7 fix: synchronous file creation
allows cursor to be set when finishing
fixes #806
2022-02-05 13:01:37 +01:00
kiyan
2b2bf0721d refacto: move keypress to actions/init 2022-01-21 12:07:54 +01:00
kiyan
45671e94be refacto: extract create_file into actions module 2022-01-21 11:45:52 +01:00