Questions tagged [vim]

Vim is an advanced text editor and IMproved version of the Unix editor Vi often used to produce LaTeX code.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
135 views

non-paired bracks break indent in vim

It seems that latex-suite do the auto indent wrong when there are no closed bracks, for example, in the following $[0,1)$ is the cause of problem: \begin{equation} f(x),\quad x\in[0,1) \end{...
3
votes
0answers
364 views

vim-latexsuite syntax highlight in macro parameter

I'm using vim with vim-latexfor editing my LaTeX-files. I notice that the \begin{env} and \end{env} doesn't colorize when they are in a macro parameter (the \vary command and question environment is ...
3
votes
0answers
98 views

vim+ Latex Suite, Can the compile window be in a sub-window?

I am using vim+latex suite. When \ll, the compile window takes the whole area of the vim window, no matter how many other subwindow I have opened. Can the compile process just be shown in another sub-...
3
votes
0answers
205 views

vim-latex does not display compilation errors

I installed vim-latex using Vundle and have been trying to use it to write a LaTeX document. Using \ll compiles the document if there are no errors and opens the .pdf in my pdf viewer, exactly was I ...
3
votes
0answers
3k views

How can I install vim-latex on mac os x?

I was trying to install vim-latex (http://vim-latex.sourceforge.net/index.php?subject=download&title=Download) My Vim comes with the OS X system and is located at /usr/share/vim/vim73 According ...
3
votes
0answers
376 views

How to understand vim-latexsuite template expression evaluation?

I'm trying to build out LaTeX templates for my engineering coursework, and I love the vim environment for editing, so I've been using vim-latex to integrate the two. I don't quite understand how the ...
2
votes
0answers
176 views

How to pass texify tex options?

TLDR: I need to pass -file-line-error-style option to texify. I don't know how :( I use vim-latex and I want to tweak it to use texify instead of pdflatex since this is the engine that TeXWorks uses. ...
2
votes
0answers
76 views

Summon Latex-Suite \cite autocompletion in macro

Latex-Suite lets me autocomplete keys in \cite{} (and other similar commands like \parencite{} ou \citet{}) with F9. This is useful, but I'm using the csquotes package which offers commands like \...
2
votes
0answers
164 views

How to Disable visual Effect of \textit{} in latex-vim?

Disable visually italicizing characters in \textit when using LaTeX-Suite The answer in that question was slightly different from what I want. What philix says can't been added into .vimrc (at least ...
1
vote
0answers
192 views

Using synctex with CLI vim and Skim

My setup is running a command line interface vim (using iTerm) and Skim for my pdf viewer. I would like to set up synctex with Skim, but nothing I've tried has worked. Here is what I am doing: I am ...
1
vote
0answers
69 views

When to use `\` character and when not?

I am using VIM with with syntastic, which is just a syntax checking plugin. When I am using commands like \raggedright or \raggedleft following a space and then some text, it gives me an annoying ...
1
vote
0answers
75 views

Showing aux file after compiling

I am using latex-suite for vim. A recent problem I come into is, after compiling the tex file, the original window showing tex is replaced by the aux file. Is there a way to stop this behavior and ...
1
vote
1answer
211 views

Automatically Move Auxiliary Files to Subdir with Auto-Compiling Vimtex

I've seen numerous ways to move auxiliary files to a given directory via latexmk, or pdflatex (ex. latexmk -auxdir=/tmp <file>). But I am using vimtex with auto-compiling, so that whenever I ...
1
vote
0answers
226 views

Macvim spell check not working with some latex files

I am using MacVim with Tex-suite. The spell checking works on main.tex, but doesn't work on other .tex files. Both the main.tex and other .tex files have filetype set to tex. Changing the filetype to ...
1
vote
0answers
317 views

how to configure forward and inverse search with dviout and vim

I installed TexLive, the entire 4GB+ and am using (learning vim as well going along) Latex-Suite with Vim for creating my tex files. The dvi viewer that came with TexLive is dviout.This is probably a ...
1
vote
0answers
308 views

vim-latex 'cite' command not showing citation options in quickfix window

The cite completion in vim-latex does not work on my machine (Ubuntu 14.04) for a specific document. The document is a doctoral dissertation and involves multiple subdocuments that are imported into ...
1
vote
0answers
297 views

Citation completion in vim latex-suite on Windows 8.1 Update

This is potentially a duplicate of this tex.se question, but I tried all the advice with still no solution. I am on 64-bit Windows 8.1 Update with gvim 7.4, Python 2.7.7 (Anaconda 2.0.1 32-bit), and ...
1
vote
0answers
81 views

Latex-Suite Mapping Using Fullwidth Characters

Currently I am using Latex-Suite to edit an document that contains CJK characters for more than 90%, and therefore mainly using an input method that outputs fullwidth characters. I tried to define ...
1
vote
0answers
105 views

Vim complains of Whitespace error with \hspace

When I type the following line in Vim: \hrule height .1mm Why do I get the following error in the Vim Location List: foo.tex|258 error| Whitespace before punctation mark in " ." NOTE: It actually ...
0
votes
1answer
12 views

Word count for files included with input

I'm trying to do a wordcount of my thesis project in LaTeX. I'm using VIM with VIMLaTeX on an ubuntu machine. I have the following code in my main.tex file \newcounter{Hoofdstuk} \newcommand{\file}{...
0
votes
0answers
15 views

Sections title does not appear in folding-text of VIM's latex-suite

I have issues with the folding of latex-suite. The title of Parts/Chapters/Sections/etc does not appear in the folding-text. \documentclass{article} \begin{document} \section{A section} Some ...
0
votes
0answers
65 views

Using vim-latex-live-preview: how to take you where you edited the file

When I'm editing a .tex file in Vim with vim-latex-live-preview, I type :LLPStartPreview which opens the file at its beginning. Which command do I have to make such that the pdf viewer automatically ...
0
votes
0answers
51 views

Vimtex - Compile pdf to loaction of cursor on vim

I'm using neovim with vimtex on Ubuntu to write tex files. My .vimrc file is here - https://pastebin.com/0Hs5EaEg When I'm saving my .tex file vimtex automatically compiles the tex to pdf (on ...
0
votes
0answers
46 views

Glossaries fails to print - Vimtex

I'll start with a disclaimer that this might be a Vimtex-specific issue, and that I made another post here (Glossary stopped compiling after adding an entry - deleting/commenting out the entry hasn&#...
0
votes
0answers
41 views

Problem using Vim-LaTeX on my Mac

I installed Vim-LaTeX-1.10.0 (per the install instructions on SorceForge) in /Users/tom/.vim and configured .vimrc per the instructions. After starting mvim (or vim), I tried entering: helptags ~/....
0
votes
0answers
67 views

VimLatex-suite SageTex compile shortcut

I am using LaTeX in Vim with VimLaTeX-Suite and i just started using Sage and i want to implement SageTex in my documents, but everytime i want to compile a have to follow this process in the terminal ...
0
votes
0answers
90 views

Cannot do inverse search with vim's latex-suite and YAP

Though forward search works fine, something is going wrong with the inverse search. In YAP, the command line for inverse DVI search is set to be C:\Users\user\Vim\vim80\gvim.exe -c ":RemoteOpen +%l %...
0
votes
0answers
114 views

vim iskeyword for latex

I am using vim. I also asked this question on vi-vim SX. I hope this question is acceptable for TeX-SX. Context Currently, when I set ft=tex, my set isk? reads iskeyword=@,48-57,_,192-255 that is, ...
0
votes
0answers
85 views

vim-latex suit forward search

I am trying to enable forward search in vim-latex. Since it is not working, I tried a vanilla .vimrc: "Vundle Plugins" {{{ filetype off set rtp+=~/.vim/bundle/Vundle.vim/ call vundle#begin() Plugin '...
0
votes
0answers
47 views

Produce two outputs in Vim-LaTeX compilation

I would like to make ViMLaTeX compilation to produce two outputs - let's say, one with the draft option in the documentclass command. Or even better - to have two different ViM commands, one for ...
0
votes
0answers
310 views

Browsing vim latex-suite quickly

I use Vim Latex-Suite for typing my Latex files. One of the features I like is the F9 shortcut inside \ref{} which helps me to browse a document with many sections/labels and find the theorem labels ...
0
votes
0answers
348 views

Set up MacTex distribution as default on mac os

I have installed the MacTex distribution on OSX10 and until now I've been using the TexShop editor quite successfully. I want to change and start writing latex using the Vim editor but I haven't ...