blob: 45eba31833a9b9f1a72490e9b93b808b85b489b2 (
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/
|