Add close_node feature to README.md
This commit is contained in:
parent
54403415ed
commit
2cec5892d7
@ -55,6 +55,7 @@ let g:lua_tree_bindings = {
|
|||||||
\ 'edit_vsplit': '<C-v>',
|
\ 'edit_vsplit': '<C-v>',
|
||||||
\ 'edit_split': '<C-x>',
|
\ 'edit_split': '<C-x>',
|
||||||
\ 'edit_tab': '<C-t>',
|
\ 'edit_tab': '<C-t>',
|
||||||
|
\ 'close_node': ['<S-CR>', '<BS>'],
|
||||||
\ 'toggle_ignored': 'I',
|
\ 'toggle_ignored': 'I',
|
||||||
\ 'toggle_dotfiles': 'H',
|
\ 'toggle_dotfiles': 'H',
|
||||||
\ 'refresh': 'R',
|
\ 'refresh': 'R',
|
||||||
@ -108,6 +109,7 @@ highlight LuaTreeFolderIcon guibg=blue
|
|||||||
- move around like in any vim buffer
|
- move around like in any vim buffer
|
||||||
- `<CR>` on `..` will cd in the above directory
|
- `<CR>` on `..` will cd in the above directory
|
||||||
- `<C-]>` will cd in the directory under the cursor
|
- `<C-]>` will cd in the directory under the cursor
|
||||||
|
- `<BS>` will close current opened directory or parent
|
||||||
- type `a` to add a file. Adding a directory requires leaving a leading `/` at the end of the path.
|
- type `a` to add a file. Adding a directory requires leaving a leading `/` at the end of the path.
|
||||||
> you can add multiple directories by doing foo/bar/baz/f and it will add foo bar and baz directories and f as a file
|
> you can add multiple directories by doing foo/bar/baz/f and it will add foo bar and baz directories and f as a file
|
||||||
- type `r` to rename a file
|
- type `r` to rename a file
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user