Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7836771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:18:23+00:00 2026-06-02T14:18:23+00:00

How do I compile Vim with the clientserver feature on Mac OS X? I

  • 0

How do I compile Vim with the clientserver feature on Mac OS X? I have the vim-7.3.tar.bz2 source

I understand that MacVim has this built in, but it only works when the GUI is running. I want to work with a CLI version, as my work is so much easier with the CLI (I can switch to the Terminal with ease, for example).

I compiled Vim 7.3 with the following ./configure options

./configure --enable-rubyinterp --enable-pythoninterp --with-features=huge

I have looked at this question on Unix & Linux, but it only takes care of the Ubuntu solution. Also, since I enabled the huge feature set, I should expect +clientserver, according to the vimdoc:

Thus if a feature is marked with “N”, it is included in the normal, big and huge versions of Vim.

Update:

The server feature only works with GUI MacVim. To reproduce this:

$ Applications/MacVim.app/Contents/MacOS/Vim --servername VIM

The in another console:

$ vim --serverlist # does not output anything

Whereas if I’ll fire up the GUI MacVim,

$ vim --serverlist
VIM1

But my requirement is to work in CLI Vim.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T14:18:24+00:00Added an answer on June 2, 2026 at 2:18 pm

    I got it to work by adding --enable-gui=gtk2

    ./configure --enable-rubyinterp --enable-pythoninterp --with-features=huge --enable-gui=gtk2
    

    Then run from the console:

    $ vim --servername FOOBAR_SERVER
    

    From another console:

    $ vim --serverlist
    FOOBAR_SERVER
    

    Or from within any Vim instance:

    :echo serverlist()
    FOOBAR_SERVER
    

    Note that X11.app will also boot up as it is necessary for the Vim server to function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a plugin that will only run if vim has been compiled with
(Mac)Vim seems to be picking up /usr/bin/python instead of the one that's at the
I have downloaded the source for VIM (7.3) and compiled it successfully with a
I use vim for coding. When I have to compile the current file, Currently
For fun I decided to compile vim from source. Long story short the build
I've been trying to compile vim 7.3 with python 2.7 support on mac OS
I am trying to compile vim from source with python interpreter on Ubuntu. I
I have a version of Vim compiled with python 2.6 support enabled ( from
Is it possible to compile a linux kernel(2.6) module that includes functionality defined by
When I try to compile this code: struct BasicVertexProperties { Vect3Df position; }; struct

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.