aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-17 16:24:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-17 16:24:25 +1200
commit48687397c5245ccf7baa36813e1c37099cefe7f1 (patch)
treefe60e8b88bf32f63fe6a2bec8bc3c53b4ff18d28
parentFirst version (diff)
downloadvim-shebang-create-exec-48687397c5245ccf7baa36813e1c37099cefe7f1.tar.gz
vim-shebang-create-exec-48687397c5245ccf7baa36813e1c37099cefe7f1.zip
Add missing README.md
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index e69de29..7dd6da8 100644
--- a/README.md
+++ b/README.md
@@ -0,0 +1,15 @@
+shebang\_create\_exec.vim
+=========================
+
+This plugin sets up a `BufWritePre` hook to check whether a buffer contains a
+Unix shebang like `#!/bin/sh` as the first line, and is being saved to a new
+file; if so, it attempts to make the file executable with `chmod +x` after a
+successful save.
+
+License
+-------
+
+Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
+See `:help license`.
+
+[1]: https://sanctum.geek.nz/