new option: close windows displaying removed files (#1300)
This commit is contained in:
@@ -223,6 +223,9 @@ Values may be functions. Warning: this may result in unexpected behaviour.
|
||||
},
|
||||
},
|
||||
},
|
||||
remove_file = {
|
||||
close_window = true,
|
||||
},
|
||||
},
|
||||
trash = {
|
||||
cmd = "trash",
|
||||
@@ -672,6 +675,10 @@ Configuration for various actions.
|
||||
`buftype = { "nofile", "terminal", "help", }`
|
||||
`}`
|
||||
|
||||
*nvim-tree.actions.remove_file.close_window*
|
||||
Close any window displaying a file when removing the file from the tree.
|
||||
Type: `boolean`, Default: `true`
|
||||
|
||||
*nvim-tree.actions.use_system_clipboard*
|
||||
A boolean value that toggle the use of system clipboard when copy/paste
|
||||
function are invoked. When enabled, copied text will be stored in registers
|
||||
|
||||
Reference in New Issue
Block a user