# MacVim to Skim forward search (without Vim-Latex)

TeX - LaTeX Asked by Kore-N on December 6, 2020

I want to set up forward search from MacVim to Skim. I am using a Mac with Big Sur.

It seems like the problem in forward searching (with respect to backward searching, which is fairly simple to set up), is that one has to tell the editor (MacVim) something about the viewer (Skim), see for example this post.

There seems to be several ways to setup forward search by using Vim-Latex, but this appears overly complicated to me. I am not a fan on the Vim-latex suite, and I prefer to use my own compilation command, which conveniently pops up a terminal window where I can read all errors:

:command Compile terminal ++rows=10 latexmk -pvc -pdf -interaction=nonstopmode -halt-on-error -file-line-error -synctex=1 %:t


Therefore, I am looking for a way to enhance my .vimrc file to perform forward search via the command I just wrote (or a modification of it), without running the Vim-Latex compilation command.

Do you have any clue?

I should add that here there seems to be a solution, but adding that code to my .vimrc does not seem enough (nothing changes when compiling).

## Related Questions

### Setting up headers with scrbook

2  Asked on June 21, 2021 by user211673

### Tikz Node Style: half square, half ellipse

1  Asked on June 21, 2021 by clrw97

### Wrapfigure with DecoRule Error

0  Asked on June 21, 2021 by poebelchen

### includegraphics scale not working

2  Asked on June 21, 2021 by micael-salomon

### Looking up strings by an index

2  Asked on June 21, 2021

### datatool sorting problem – wrong data type?

0  Asked on June 21, 2021 by susis-strolch

### Font that produces the long vowel sign (ː) in LaTeX (without TIPA)

1  Asked on June 21, 2021

### Torn paper effect on a Tcolorbox

1  Asked on June 21, 2021 by perror

### Setting em-dashes with hair spaces

2  Asked on June 21, 2021 by tjollans

### Hyperlink each reference entry to its corresponding DOI with natbib

1  Asked on June 21, 2021 by alfonso-diego-garza-isla

### xcolor, Y U NO decent cyan?

0  Asked on June 21, 2021

### Is there a way to have links to the revisions in the changes package?

0  Asked on June 21, 2021 by jmite

### Is there a way to use the alternative code for a thesis/dissertation in a certain thesis template?

0  Asked on June 21, 2021 by jason-chiu

### Understanding and rearranging table in Awesome CV

1  Asked on June 21, 2021

### Shuffle questions in xsim

1  Asked on June 21, 2021 by xun-duy-bo-nguyn

### Missing contours in Beale’s function

0  Asked on June 21, 2021

### How to cite laws and regulations completely inline?

2  Asked on June 21, 2021

### urlstyle, urlfont and newfontfamily interaction

1  Asked on June 20, 2021