aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/write-with-spaces/plugin/write_with_spaces.vim
diff options
context:
space:
mode:
Diffstat (limited to 'bundle/write-with-spaces/plugin/write_with_spaces.vim')
-rw-r--r--bundle/write-with-spaces/plugin/write_with_spaces.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/bundle/write-with-spaces/plugin/write_with_spaces.vim b/bundle/write-with-spaces/plugin/write_with_spaces.vim
new file mode 100644
index 0000000..53db90f
--- /dev/null
+++ b/bundle/write-with-spaces/plugin/write_with_spaces.vim
@@ -0,0 +1,8 @@
+" Write with spaces
+"
+" Taken from iler.ml at
+" http://vim.1045645.n5.nabble.com/How-to-auto-escape-space-in-filename-when-write-tp1149064p1149065.html
+"
+" Provides a way to save files with spaces in their name
+
+command! -bang -nargs=* Write :call write_with_spaces#Write(<q-bang>, <q-args>)