diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-17 16:24:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-17 16:24:25 +1200 |
commit | 48687397c5245ccf7baa36813e1c37099cefe7f1 (patch) | |
tree | fe60e8b88bf32f63fe6a2bec8bc3c53b4ff18d28 | |
parent | First version (diff) | |
download | vim-shebang-create-exec-48687397c5245ccf7baa36813e1c37099cefe7f1.tar.gz vim-shebang-create-exec-48687397c5245ccf7baa36813e1c37099cefe7f1.zip |
Add missing README.md
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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/ |