3 ms·
This is on my Ubuntu box #!/usr/bin/env ruby `gvim -f "#{ARGV.join( ' ' )}"` Haven't installed google command line on the mac yet
by jamesbritt 16y ago
This is on my Ubuntu box
#!/usr/bin/env ruby
`gvim -f "#{ARGV.join( ' ' )}"`
Haven't installed google command line on the mac yet
- telemachos 16y agoThanks for this. I ended up coming up with this as a shell script on OSX: #!/bin/sh mvim -f -c"au VimLeave * !open -a Terminal" $@ The subcommand makes sure that when MacVim exits, focus returns right to the terminal I was in before MacVim opened.