News for hackers. Stuff that matters.
Re:Vimer - Avoid multiple instances of GVim with gvim –remot... by westurner on Thursday August 22, 2019 @06:17PM (#20772898)
I have a shell script I named 'e' (for edit) that does basically this. If VIRTUAL_ENV_NAME is set (by virtualenvwrapper), e opens a new tab in that gui vim remote if gvim or macvim are on PATH, or just in a console vim if not. https://github.com/westurner/dotfiles/blob/develop/scripts/e

'editwrd'/'ewrd'/'ew' does tab-completion relative to whatever $_WRD (working directory) is set to (e.g. by venv) and calls 'e' with that full path: https://github.com/westurner/dotfiles/blob/develop/scripts/_...

It's unfortunately not platform portable like vimer, though.

Re:Vimer - Avoid multiple instances of GVim with gvim –remot... by joshca on Wednesday August 21, 2019 @11:18PM (#20764335)
> alias myvim="gvim --remote-silent"

I frequently switch between Linux, Mac and Windows. Is there a good way to set up such aliases on Windows?