Installing vim with clientserver

To use vimrunner, your installation of Vim needs to be compiled with clientserver support.

To check if your vim installation has it already

[[ -n "`vim --version | grep client`" ]] && echo "Installed" || echo "Not installed"

If it does, you don’t need the rest of the psot

To do this, follow these instructions:

hg clone /tmp/vim
cd /tmp/vim
./configure --with-features=huge--enable-gui=auto
sudo make install

Open a new terminal and run the command above again to see if clientserver is there. If it isn’t, you might need some dev dependencies installed.


sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
libcairo2-dev libx11-dev libxpm-dev libxt-dev


sudo yum install libXt.i686 libXt-devel.i686 \
libXpm.i686 libXpm-devel.i686 \
libX11.i686 libX11-common.noarch libX11-devel.i686 \
ghc-cairo-devel.i686  cairo.i686   \
libgnomeui-devel.i686 \
ncurses.i686 ncurses-devel.i686  ncurses-libs.i686 ncurses-static.i686 \
ghc-gtk-devel.i686 gtk+-devel.i686 \
gtk2.i686  gtk2-devel.i686 \
atk-devel.i686 atk.i686 \
libbonoboui.i686 libbonoboui-devel.i686 

Michael is a polyglot software engineer, committed to reducing complexity in systems and making them more predictable. Working with a variety of languages and tools, he shares his technical expertise to audiences all around the world at user groups and conferences. You can follow @mheap on Twitter

Thoughts on this post

[…] If it doesn’t, read this post […]

M.J.G. 2018-09-06

On Fedora, just use “vimx” from the vim-enhanced package. It’s the CLI version of vim-X11.

Leave a comment?

Leave a Reply