mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
feat: ":wall ++p" creates parent dirs for each buf #36121
`:wall ++p` will create parent directories if they do not exist, for each modified buffer
This commit is contained in:
@@ -996,11 +996,13 @@ slower (but safer).
|
||||
WRITING WITH MULTIPLE BUFFERS *buffer-write*
|
||||
|
||||
*:wa* *:wall*
|
||||
:wa[ll] Write all changed buffers. Buffers without a file
|
||||
:wa[ll] [++opt] Write all changed buffers. Buffers without a file
|
||||
name cause an error message. Buffers which are
|
||||
readonly are not written.
|
||||
For ++opt see |++opt|, but only ++p is effective, and
|
||||
applies to each written file.
|
||||
|
||||
:wa[ll]! Write all changed buffers, even the ones that are
|
||||
:wa[ll]! [++opt] Write all changed buffers, even the ones that are
|
||||
readonly. Buffers without a file name are not
|
||||
written and cause an error message.
|
||||
|
||||
|
@@ -197,6 +197,8 @@ EDITOR
|
||||
• |gx| in help buffers opens the online documentation for the tag under the
|
||||
cursor.
|
||||
• |:Undotree| for visually navigating the |undo-tree|
|
||||
• |:wall| permits a |++p| option for creating parent directories when writing
|
||||
changed buffers.
|
||||
|
||||
EVENTS
|
||||
|
||||
|
Reference in New Issue
Block a user