feat: paste and create always target closed folder, remove create_in_closed_folder (#1802)
* Fix default for file creation in closed directories * Make paste in closed directories consistent with create * doc: clarify create_in_closed_folder * Remove create_in_closed_folder option * doc: clarify create_in_closed_folder removal message (whoops) Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
@@ -171,7 +171,6 @@ Subsequent calls to setup will replace the previous configuration.
|
||||
>
|
||||
require("nvim-tree").setup { -- BEGIN_DEFAULT_OPTS
|
||||
auto_reload_on_write = true,
|
||||
create_in_closed_folder = false,
|
||||
disable_netrw = false,
|
||||
hijack_cursor = false,
|
||||
hijack_netrw = true,
|
||||
@@ -436,11 +435,6 @@ in some scenarios (eg using vim startify).
|
||||
Reloads the explorer every time a buffer is written to.
|
||||
Type: `boolean`, Default: `true`
|
||||
|
||||
*nvim-tree.create_in_closed_folder*
|
||||
Creating a file when the cursor is on a closed folder will set the
|
||||
path to be inside the closed folder, otherwise the parent folder.
|
||||
Type: `boolean`, Default: `false`
|
||||
|
||||
*nvim-tree.sort_by*
|
||||
Changes how files within the same directory are sorted.
|
||||
Can be one of `name`, `case_sensitive`, `modification_time`, `extension` or a
|
||||
|
||||
Reference in New Issue
Block a user