blob: 7dd6da87ef48ab6f0072ba5f840f12f156a61caf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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/
|