Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use vim-cmdsrv-nox #367

Closed
Forethinker opened this issue Apr 18, 2013 · 3 comments
Closed

How to use vim-cmdsrv-nox #367

Forethinker opened this issue Apr 18, 2013 · 3 comments

Comments

@Forethinker
Copy link

Hi, sorry for jumping into Japanese Vim page with English, but the I think this community is most familiar with vim-cmdsrv-nox (VCN) If you point me to right direction, I can post on other places. I know VCN is in developmental phase and it has not been reviewed to be a part of vim package, but I could not find the documentation on how to use it. I am just trying to mimic --remote-tab flag for vim with +clientserver enabled. I tried compiling with the following options:
./configure --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-cscope --enable-multibyte --with-features=huge --enable-gui --prefix=/usr

But it is does not have +clientserver enabled. Am I suppose to use different keywords other than --remote?

@mattn
Copy link
Member

mattn commented Apr 19, 2013

Hi, vim-cmdsrv-nox is unofficial patch that @ynkdir wrote.

https://code.google.com/r/yukihironakadaira-vim-cmdsrv-nox/

And it is suggested to vim-dev to merge as official.

https://groups.google.com/forum/#!msg/vim_dev/dm8nvb5b3do/-SzW7dq4EBIJ

As you know, +clientserver is using X11 protocol on unix. So it depend on X11 even though if you don't want, and it doesn't work without X display that opened. vim-cmdsrv-nox provides non-dependencies to X11. it use unix domain socket on unix, and use namedpipe on windows. If you want to try this, checkout repo, and build it as same as original vim.

$ hg clone https://code.google.com/r/yukihironakadaira-vim-cmdsrv-nox/
$ ./configure

vim-cmdsrv-nox doesn't provide new option or commands. it just replace protocol of that.

Thank you for your interesting.

@koron
Copy link
Member

koron commented Apr 19, 2013

#125 will be discussing "How to strongly push vim-cmdsrv-nox patch to vim-dev".

@Forethinker
Copy link
Author

Thank you for your responses. So I cannot use +clientserver features even with copmiled vim-cmdsrv-nox in windows. I had no trouble compiling even with all the options, but I got confused to thinking that X11 and X server are the same thing. I thought that it mimic X server in Windows. Haha. I wish to use xterm vim instead of gVim for everything, but I know I am dreaming the impossible. Thanks again.

karino2 added a commit to karino2/vim that referenced this issue Sep 21, 2016
Original version of clientserver feature depend on X.
But this feature is also useful for other environment.
This patch enable clientserver feature without X.

Apply patch of:
https://gist.github.com/ynkdir/996d53a402f533fed518

See disucussion:
vim-jp/issues#367
vim-jp/issues#125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants