From 9972bfbd20726e52797234bdac752a9de63ade19 Mon Sep 17 00:00:00 2001 From: Konfekt Date: Wed, 18 Feb 2015 09:12:33 +0100 Subject: [PATCH] document necessity of --servername in Unix terminal Vim --- doc/latex.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/latex.txt b/doc/latex.txt index 5cbe805..11f1c9c 100644 --- a/doc/latex.txt +++ b/doc/latex.txt @@ -63,6 +63,15 @@ Some of the functionalities of |vim-latex| has certain requirements: Requires that the user has installed both `latexmk` and `pgrep`. If these are not available, then the functionalities provided by |vim-latex-latexmk| will not be available. + If you use Vim under a Terminal in Linux or MacOS, then Vim must also + explicitly be started as a command server by appending the parameter + `--servername`. For example, `vim --servername VIM`. + A ready and mostly sufficient way to ensure this, is by adding an alias + `alias vim=vim --servername VIM` to your Shell (for example, in ~/.bashrc + or ~/.zshrc). + A more thorough solution is to create a shell script `vim` in $PATH that + calls vim with the argument `--servername VIM`. See Method (B) + at http://vim.wikia.com/wiki/Enable_servername_capability_in_vim/xterm |vim-latex-completion| The function |latex#complete#bibtex| requires `bibtex` and `kpsewhich` to