Mapping a key to run the currently visible ruby file in VIM

By rainkinz on Sep 09, 2013, comments 34

Gary Bernhardt uses this in his fantastic Destroy All Software series.

:map ,t :w\|:!ruby %<cr>  
4362
0fd5e2c1670bcbed53a1be989bcc4d34.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest Neawneelm on Dec 16, 2013 at 11:43 AM

N14814
e12249
d14683

4365
61ab39a9ae9a2cd30426ece38bb08483.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest Priermrit on Dec 16, 2013 at 2:04 PM

I15310
J14712
l16352


zlinks!@#

5936
122ae207439f504c14ecfbdfc91d752f.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest Keyanna on Jan 06, 2016 at 7:36 PM

Posts like this brhetign up my day. Thanks for taking the time.

Comment: