Skip to content

Commit b61b126

Browse files
committed
feat(mini.nvim): sync to cf32454
1 parent 21d16c5 commit b61b126

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

mini.nvim/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ There are following change types:
9999

100100
## mini.files {#v0.17.0-mini.files}
101101

102+
### Evolve {#v0.17.0-mini.files-evolve}
103+
104+
- Allow appending `/` to a file name to mean "delete file" + "create directory". This is useful when initial intention was to create a directory but there was no `/` at the end.
105+
102106
### Refine {#v0.17.0-mini.files-refine}
103107

104108
- Ensure preview window is never hidden, even if cursor is on the line for a not (yet) existing file system entry. This reduces flickering of preview window when creating new files in Insert mode.

mini.nvim/doc/mini-files.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,10 @@ Note that order of text manipulation steps does not affect performed actions.
389389
- It is not needed to end directory name with `/`.
390390

391391

392+
- Appending `/` to a file name will delete it and create empty directory
393+
with the same name.
394+
395+
392396
- Cyclic renames ("a" to "b" and "b" to "a") are not supported.
393397

394398
##### Copy {#minifiles-manipulation-supportedfilesystemactions-copy}

0 commit comments

Comments
 (0)