Created
January 6, 2011 20:16
-
-
Save nelstrom/768494 to your computer and use it in GitHub Desktop.
Ruby the ruby in the current buffer when command-R is pressed (TextMate style)
This file contains 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
if has("autocmd") | |
autocmd FileType ruby nnoremap <buffer> <D-r> :!ruby %<CR> | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment