Use system function instead of luv calls
- add dynamic path creation 'foo/bar/baz' - fixes delete function
This commit is contained in:
@@ -52,18 +52,18 @@ nnoremap <leader>n :LuaTreeRefresh<CR>
|
||||
|
||||

|
||||
|
||||
## TODO
|
||||
## TODO 1
|
||||
- Tree creation should be async
|
||||
- better error checking when fs updates
|
||||
- sneak like cd command to find a directory
|
||||
- better default colors (use default vim groups)
|
||||
- give user option to choose for file generation command
|
||||
- command to find current file in the directory structure
|
||||
- refactor all `system` call to `libuv` functions, with better error management
|
||||
- create proper highlight groups or add highlight function to give the user ability to setup colors themselves
|
||||
- bufferize leafs of node being closed so when opening again the node, we open every directory that was previously open
|
||||
- use libuv functions instead of `touch` and `mkdir` in `create_file()` and allow file creation with path like `foo/bar/baz`
|
||||
- better window management:
|
||||
- check tree buffer/window for change so we can avoid it being resized or moved around or replaced by another file
|
||||
- monitor window layout in current tab to open files in the right place
|
||||
- add `<C-t>` to open buffer in new tab
|
||||
> this might be a little hard to implement since window layout events do not exist yet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user