fannheyward / coc-texlab

TexLab extension for coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to do reverse search with zathura?

xebcam opened this issue · comments

I tried adding the following lines to my .bashrc and zathurarc as this guide suggest but didn't work.

.bashrc

alias nvimsn='nvim-with-servername'
nvim-with-servername() {
nvim --servername 'nvim' "$@"
}
alias nvim=nvimsn

Zathurarc

 # Adding reverse search between gvim and zathura
set synctex true
set synctex-editor-command "nvim --remote-silent +%{line} %{input}"

Sorry I didn't realized that nvim doesn't have the --servername option. But it does have the --server option, maybe I can use that.