Created
February 18, 2013 20:21
-
-
Save zph/4980336 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Run current file in ruby | |
imap <Leader>rr <ESC>:!ruby %<CR> | |
nmap <Leader>rr :!ruby %<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zph do you mind explaining the difference between the two lines? It seems to work fine with just the second one