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
47ccc2913f
refacto: move toggle help and filter toggles into actions
...
also fix explorer to properly remove element on update when filter is
applied
2022-02-07 20:43:24 +01:00
kiyan
923e034668
refacto: sort actions declaration, remove close from main file
...
fixes #921
- use view.close instead of nvim-tree.close
- put preview code inside the execution logic on keypress
- sort keys in keypress_funcs
- remove empty buffer when hijacking window
2022-02-06 19:25:23 +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
95e3aacc01
chore: reindent sibling function
2022-02-05 17:13:51 +01:00
kiyan
8c4fd519b6
chore(refacto): move parent and sibling functions into actions
...
BREAKING CHANGE:
- move parent_node and sibling functions from lib to
actions/movements.lua.
2022-02-05 17:08:11 +01:00