←back to thread

539 points todsacerdoti | 1 comments | | HN request time: 0.265s | source
1. kwbr3000 ◴[] No.44382569[source]
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