blob: c43d204e895804716cda4eeeecfd11d00644e50f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
*shebang_create_exec.txt* For Vim version 7.0 Last change: 2018 May 28
DESCRIPTION *shebang_create_exec*
This plugin sets up a |BufWritePre| hook to check whether a buffer contains a
Unix shebang with an absolute pathname like `#!/bin/sh` as the first line, and
is being saved to a new file. If so, it attempts to make the file executable
using the safest method available to Vim.
REQUIREMENTS *shebang_create_exec-requirements*
This plugin only loads if 'compatible' is not set, and requires |+unix|.
AUTHOR *shebang_create_exec-author*
Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.
LICENSE *shebang_create_exec-license*
Licensed for distribution under the same terms as Vim itself (see |license|).
vim:tw=78:ts=8:ft=help:norl:
|