Skip to content

Commit

Permalink
added \r to execute sh files
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Terry committed Mar 24, 2012
1 parent 32a7e44 commit d0638a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vim/ftplugin/sh.vim
@@ -1,3 +1,5 @@
set ts=4 set ts=4
set shiftwidth=4 set shiftwidth=4
set expandtab set expandtab

map <buffer> <Leader>r :w<CR>:!/usr/bin/env bash % <CR>

0 comments on commit d0638a5

Please sign in to comment.