4 ms·
No modifications to file, not uploading. Not so happy with gvim. Can't use anything that returns immediately or else the code doesn't see what you're doing.
by jamesbritt 16y ago
No modifications to file, not uploading.
Not so happy with gvim. Can't use anything that returns immediately or else the code doesn't see what you're doing.
- spicyj 16y agoYou 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.