I am trying to use vim to edit TeX files with vimtex. I would like to be able to do backwards search from compiled PDFs. The vimtex documentation says the following:
|+clientserver| is necessary for backward search from PDF viewer to Vim.
It then suggests following this link to ensure that vim is started with a servername. I follow the instructions to check if I have +clientserver by executing $ vim -h | grep servername but I get no output (indicating that I don't have it). I also ran $ vim --version | grep client and I get output of -clientserver. The page then provides the following options:
- symlink vim to gvim (if you have gvim installed).
- install vim with 'clientserver' support from binaries
- build vim from sources with clientserver support and install it
I don't want to use gvim, so I am limited to options 2 and 3. However, I could not find any direction on how to do this on arch and I would appreciate if anyone knew how to do so.
+clientserveryou also need to check in some sort of graphical Vim. I've grepped in the whole source tree and checked./configure --help, but did not find anything on enabling+clientserverthat wouldn't also include some sort ofgvim. Should be worth an issue on their Github.