Skip to content

Instantly share code, notes, and snippets.

@clupasq
Created November 4, 2014 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clupasq/44097e5c2c2baca54903 to your computer and use it in GitHub Desktop.
Save clupasq/44097e5c2c2baca54903 to your computer and use it in GitHub Desktop.
VIM macro to run Ruby
map ,t :w\|!ruby %<cr>
@clupasq
Copy link
Author

clupasq commented Nov 4, 2014

Map the key combination ,t to save file and then run it with ruby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment