DayOftheNewDan.com

Introducing Vim Shebang Run

January 11, 2014

A very simple plugin that detects the shebang line of the current file, if it exists the file is executed with the given command. The file does not have to have executable permissions.

Get the source.

:ShebangRun

or map it to something convenient in your .vimrc:

nnoremap <leader>r :ShebangRun <CR>

Installation

The preferred way is to use Vundle.

Bundle 'dbridges/vim-shebang-run'

or pathogen

$ cd ~/.vim/bundle
$ git clone git://github.com/dbridges/vim-shebang-run

Tagged

programming

Related

← tlassemble now on Homebrew Sermon →