Permalink
Browse files

added \r to execute sh files

  • Loading branch information...
1 parent 32a7e44 commit d0638a55b5d9407c779b9498a5400dbffbf44b08 Matt Terry committed Mar 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 vim/ftplugin/sh.vim
View
@@ -1,3 +1,5 @@
set ts=4
set shiftwidth=4
set expandtab
+
+map <buffer> <Leader>r :w<CR>:!/usr/bin/env bash % <CR>

0 comments on commit d0638a5

Please sign in to comment.