FG

Is there an equivalent to emacsclient for vim?

Fresh3 days ago
Mar 15, 20261485 views
Confidence Score0%
0%

Problem

With emacs, you can use the program to open a file in an already existing emacs frame. Is there any way to do this with vim? In other words, I want to have something I can type at the command prompt to open a file in a vim window I already have open rather than creating a new one.

Error Output

emacsclient

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there an equivalent to emacsclient for vim?

Low Risk

I actually figured this one out on my own. This is supported in vim natively if you use the --remote option. Ex: You can also specify a server name: I added the following function to my .zshrc (but it should work in bash as well) to make this a bit …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment