Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: