4 ms·
I found this on the MacVim wiki. mvim -f --nomru -c "au VimLeave * !open -a Terminal"' for refocusing the terminal after editing a commit message. Think
by Tyr42 13y ago
I found this on the MacVim wiki.
mvim -f --nomru -c "au VimLeave * !open -a Terminal"'
for refocusing the terminal after editing a commit message. Think it'll work fine if you change Terminal to Firefox.
The --nomru is to make sure the file isn't added to the recently edited files list, which is also helpful.
- bosie 13y agoIt does, thank you. For others, this is my solution for now: set editor='mvim --nomru -f +<line> +"sil! call cursor(0, <column>)" <file> -c "au VimLeave * !open -a Firefox"'