3 ms·
You should be able to use "gvim -f" as your editor and it won't detach itself from the terminal.
by spicyj 16y ago
You should be able to use "gvim -f" as your editor and it won't detach itself from the terminal.
- jamesbritt 16y agoSweet! I had to wrap it in a script to get it to work, but it's rolling now. Thanks.
- telemachos 16y agoCare to share the script? I haven't been able to make it work with mvim yet. Thanks.
- jamesbritt 16y agoThis 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.