Hacker News new | ask | show | jobs
by kwbr3000 358 days ago
You should check out vim's remote functionality to open files in an already running instance https://vim-jp.org/vimdoc-en/remote.html

  Edit "file.txt" in server "FILES" if it exists, become server "FILES" otherwise:
    gvim --servername FILES --remote-silent file.txt