aboutsummaryrefslogblamecommitdiff
path: root/README.md
blob: d44f339ffc844fed16137ef8d9710f15379828db (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                                                             


                                                                              



       
                                                                              


                             
shebang\_create\_exec.vim
=========================

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.

License
-------

Copyright (c) [Tom Ryder][1].  Distributed under the same terms as Vim itself.
See `:help license`.

[1]: https://sanctum.geek.nz/