feat: option to set path destination to parent folder when cursor is on a closed folder while creating files (#628)

This commit is contained in:
booperlv
2021-09-26 18:10:19 +08:00
committed by GitHub
parent 1edebb7894
commit 2a5d529219
3 changed files with 10 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ let g:nvim_tree_disable_window_picker = 1 "0 by default, will disable the window
let g:nvim_tree_icon_padding = ' ' "one space by default, used for rendering the space between the icon and the filename. Use with caution, it could break rendering if you set an empty string depending on your font.
let g:nvim_tree_symlink_arrow = ' >> ' " defaults to ' ➛ '. used as a separator between symlinks' source and target.
let g:nvim_tree_respect_buf_cwd = 1 "0 by default, will change cwd of nvim-tree to that of new buffer's when opening nvim-tree.
let g:nvim_tree_create_in_closed_folder = 0 "1 by default, When creating files, sets the path of a file when cursor is on a closed folder to the parent folder when 0, and inside the folder when 1.
let g:nvim_tree_refresh_wait = 500 "1000 by default, control how often the tree can be refreshed, 1000 means the tree can be refresh once per 1000ms.
let g:nvim_tree_window_picker_exclude = {
\ 'filetype': [