aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorOmnikar2022-04-12 07:52:54 +0000
committerGitHub2022-04-12 07:52:54 +0000
commit660e0e44b2b6329c1d0af788d624dd5765c2acc6 (patch)
tree03a5e162612c5c2e3ebf62530baaab2d13e63da8 /book/src
parentd5c086697896d87f034c1dbe0ae0ccbc71f37d2c (diff)
Add `:write!` to create nonexistent subdirectories (#1839)
* Make `:write` create nonexistent subdirectories Prompting as to whether this should take place remains a TODO. * Move subdirectory creation to new `w!` command
Diffstat (limited to 'book/src')
-rw-r--r--book/src/generated/typable-cmd.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md
index f9261a75..bb5da3bb 100644
--- a/book/src/generated/typable-cmd.md
+++ b/book/src/generated/typable-cmd.md
@@ -12,6 +12,7 @@
| `:buffer-next`, `:bn`, `:bnext` | Go to next buffer. |
| `:buffer-previous`, `:bp`, `:bprev` | Go to previous buffer. |
| `:write`, `:w` | Write changes to disk. Accepts an optional path (:write some/path.txt) |
+| `:write!`, `:w!` | Write changes to disk forcefully (creating necessary subdirectories). Accepts an optional path (:write some/path.txt) |
| `:new`, `:n` | Create a new scratch buffer. |
| `:format`, `:fmt` | Format the file using the LSP formatter. |
| `:indent-style` | Set the indentation style for editing. ('t' for tabs or 1-8 for number of spaces.) |