aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-30 16:40:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-30 16:40:58 +1200
commit1fffa6426c1c511668ccf4f5d17a63e94536d5e9 (patch)
treee514dbac9d71fa3aa61d97b822b0cf828a69b87c /README.md
parentFirst version (diff)
downloadvim-write-mkpath-1fffa6426c1c511668ccf4f5d17a63e94536d5e9.tar.gz
vim-write-mkpath-1fffa6426c1c511668ccf4f5d17a63e94536d5e9.zip
Extend to respect 'confirm' if set
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index aefaaa4..ed9be85 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,14 @@
write\_mkpath.vim
=================
-If `:write!` is issued for a file that has nonexistent path elements, create
-the full path with `mkdir()` before saving.
+This plugin supports creation of any missing path elements in the path to a
+buffer's filename before the buffer is written.
+
+If 'confirm' is enabled on `:write` or `:w`, the user will be prompted to
+confirm that Vim should create any missing path elements.
+
+On `:write!` or `:w!`, the path will be created automatically, ignoring the
+value of 'confirm'.
License
-------