Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vim]

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

0
votes
0answers
13 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
1answer
370 views

Set up vim, latex for AGU template

On a Mac, I have been using vim-latex for a while and had set it up a while ago to output pdfs via the :ll command in vim (using pdflatex if I'm correct) and viewing the output via the :lv command (...
1
vote
1answer
23 views

Forward search with vim-latex and evince

OS: Ubuntu 18.04 LTS Bionic texlive version: 2019 Vim version: 8.1 , big Vim Plugin Manager: pathogen Vim Plugins: vim-latex (LatexSuite) I had changed the settings in my tex.vim file so the ...
7
votes
5answers
18k views

Highlight / color parts of text

LaTex newbie here. Currently using vim with solarized color scheme to edit .tex documents. When writing I often jump around to different parts of the document, leaving gaps behind to work on later. ...
0
votes
0answers
15 views

vim-latex, remove spell checking from inside all commands from a package [duplicate]

When writing LaTeX documents in vim with spell checking sometimes words that shouldn't be is marked as spelling ends up being marked as spelling. I have problems mainly with commands from the command ...
1
vote
0answers
45 views

latex with vim irritatingly opening new buffer window [duplicate]

I edit my Latex in (g)vim. Now, when I am getting any error in compiling, vim is irritatingly opening the file in a new buffer, and moving to that buffer. For example, say, if I am getting an warning ...
1
vote
1answer
165 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 ...
8
votes
2answers
2k views

How do I prevent LaTeX-Suite from opening files automatically when there's an error?

I'm using Vim with LaTeX-Suite. Occasionally when I compile a file with errors using <Leader>ll, the error in my source is such that the LaTeX compiler registers an error in a file deep in the ...
1
vote
0answers
112 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 ...
2
votes
1answer
243 views

Are there any alternatives to vim-latex?

Are there any good alternative plugins that someone has put together for working with latex in vim? I use the vim-latex latex suite, but it's a bit much. I'm pretty sure I use maybe 10% of the ...
1
vote
0answers
63 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 ...
0
votes
0answers
21 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
28 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 ~/....
2
votes
2answers
368 views

Vim LaTeX-suite: EFI macro expand differently

I an learning LaTeX-suite, and I found that the EFI macro for figure environment performance differently for different documents. Sometimes the image file line would be \psfig{figure=<+eps file+&...
0
votes
0answers
57 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 ...
2
votes
2answers
618 views

How to Customize Folding Environments in ViM Using vim-latex for Beamer

I'm trying to configure my ViM editor to improve the folding when editing Beamer files. I have vim-latex installed (using Vundle). Now I'd like to customize my vim-latex; specifically, I'm trying to ...
3
votes
1answer
596 views

Window focus problem during inverse-search from Okular to GVIM

I have just setup the nice inverse search feature, from okular, by using the command gvim --remote-silent +%l %f as a custom-editor. It seems to work perfectly fine except a small bug that has been ...
1
vote
1answer
2k views

Setting up a LaTex environment for Vim

I've always used SublimeText for writing and compiling my LaTex files, but recently I've moved the majority of my code to Vim, and I would like to do the same thing with LaTex documents. I am on OSX ...
3
votes
2answers
631 views

Vim does not recognize math environment (but handles other math fine)

So on one of my pc's the vim install dos not recognize math environments such as align and equation Is there a way to turn this on?
12
votes
1answer
2k views

How do I make vim highlight math properly in the align environment?

Sorry if this is the wrong place to ask this, I'm new to the site :/ My issue is this: when editing in vim, my syntax file highlights underscores and carets when found in non-math text, which is fine,...
2
votes
1answer
34 views

vim latex-suite only working if existing `.tex` file includes latex code

On a fresh vim latex-suite install, none of the vim latex-suite shortcuts work unless there's pre existing latex code in the file.
4
votes
6answers
6k views

vim-LaTeX does not run bibTeX

I'm on a Windows 7 machine, using the most recent version of vim-LaTeX with gVim. With all of the defaults, using \ll to compile my document only runs LaTeX once, when it should run multiple times, ...
11
votes
2answers
13k views

How to set up spell-checking with vim?

I'm using vim to write my thesis. It's a multi-document project, with most tex files in subdirectories from the master-document. I've set up a couple of \newcommands to replace the use of \section*{} ...
3
votes
1answer
102 views

How to use \paragraph without seeing the title in the final pdf?

I am writing a review and using Latex to create the document. Since I have to go back to many many references I want to take advantage of the folding option with each paragraph I write so I can easily ...
0
votes
2answers
212 views

Forward searching with latex-suite

I am using the windows subsystem for Linux and recently installed vim latex (latex-suite). I was following the tutorial and typed :let g:Tex_CompileRule_dvi = 'latex -src-specials -interaction=...
1
vote
0answers
47 views

vim: disable greek letter mapping? [duplicate]

Anyone else find that trying to use `something in quotes' frustrating because `s is always mapped to \sigma Where is my mistake? 1) Shouldn't I be using (`quote') in the first place? 2) Is ...
1
vote
2answers
298 views

vim-latex templates last change dynamic

So I am using vim-latex suite and want the Last Change information to change dynamically with every edit/ save. It's found in the preamble if you're using one of the templates e.g % File: raid....
17
votes
4answers
4k views

How to disable all Vim-LaTeX mappings?

I like some of the features provided by the Vim-LaTeX suite, but not all of them. In particular, I dislike all of the mappings like [[ = \left[ \right] and the automatic placeholder stuff with <++&...
18
votes
1answer
2k views

What does <++> signify when using Vim LatexSuite?

I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc. However, one of the things that it does is unknown to me, and is difficult to ...
15
votes
2answers
5k views

Is there any cheat sheet for vim-latex mappings?

I wonder if anyone knows any list of "magical words" such as vaw`em which changes the format to italics of the current word for vim-latex different than this one
24
votes
3answers
8k views

Set up vim with latex-suite to use latexmk

Today I started using vim in combination with the latex-suite plugin, and so far I love it. Other editors also make using LaTeX easier by providing code completed and such, but latex-suites's ...
6
votes
1answer
2k views

How can I use the Vim LaTeX-Suite multiple compile option with BibTeX and the -aux-directory option?

I have a document composed of several subfiles and so have used the -aux-directory command to put all of the temporary files in a subfolder, 'auxdir', to keep my working folder clear (and me sane). I ...
10
votes
1answer
2k views

What are the <++> in Vim latex-suite after typing in a bracket pair? [duplicate]

Possible Duplicate: What does <++> signify? In typing bracket pairs while coding, I usually type the opening and closing bracket before typing in the contents like so: \documentclass{} ← ...
5
votes
1answer
2k views

Why is LateX Suite (Vim) so inconsistent

I am trying to transition to Latex Suite for Vim, but it seems to have several problems, observe: The first \subsection command (90) is shown but the second one (124) is not. Again the third one is (...
2
votes
0answers
185 views

vim-latex always moves the cursor to the beginning of the line upon compilation. How do I stop this? [closed]

I have posted this question to /r/vim, with no success. The title basically explains the situation: every time I compile with <leader>ll, Vim moves my cursor to the beginning of the line, which ...
4
votes
1answer
760 views

<F5> in vim-latex doesn't expand environment

I'm new to vim-latex and have been reading some tutorials. I've noticed that the behaviour of the F5 on my machine is rather different from what the tutorials tell me. I'm supposed to expect F5 to ...
21
votes
4answers
7k views

Shortcut for inserting matching \end{something} in VIM

I remember some time ago I always used a shortcut in VIM that allowed me to type this (<X> is indication of the location of the cursor): ... rest of document ... \begin{<ENVIRONMENT>} ...
1
vote
1answer
890 views

Howto use Vim + LatexSuite to convert plain text lists to itemize/enumerate etc

I am often burdened with "converting" and "including" stuff into larger documents. I have compiled some scripts and voodoo to ease my work but rather often I'm still facing the task of manually ...
3
votes
1answer
591 views

vim-latex: “I can't write on …” error

I am using vim-latex. I compile TeX document using \ll command, then \lv to view it. It generates a PDF file. So far, so good. The problem starts when I try to modify my TeX file and compile it again ...
7
votes
1answer
1k views

Is there a default / official / standard Vim indentation file for TeX, or just best practices for TeX source indentation?

If you see here, the author mentions an "official version" of an indentation script from Johannes Zellner. The link is broken and while there are traces of Zellner all over the interwebs, I can't find ...
2
votes
1answer
860 views

(Vim+latex) How to compile a single tex file in a project directory using \ll

I am using Vim+latex. In my project directory, I have another separate tex file (for example a tikz/PGF file to draw a figure). When I input \ll, instead of compiling my current file, the system ...
2
votes
1answer
969 views

Spell Check in VIM Latex Suite not working after a particular word [closed]

In latex I need to type the sequence$G^{\{ x \}}$ to get the desired equation. The equation works fine, but after this spell check does not work for the remaining text. Spell check works fine before ...
6
votes
2answers
1k views

How to dynamically change the output filename in Vim LaTeX Suite

Say, my .tex files are organized like this ~/Projects/proj_name/articles.tex. After compiling with LaTeX Suite, I want the output PDF file to be proj_name.pdf instead of articles.pdf. Since I have ...
7
votes
1answer
2k views

vim latex-suite: unwanted in-editor math symbol conversion

I'm experiencing trouble using vim in combination with latex-suite. Since recently there is a nice feature, that converts some latex commands, such as \varphi, into symbols better readable and more ...
9
votes
1answer
2k views

How do you jump to an error from the Error List in LaTeX-suite?

I just discovered LaTeX-suite and was overjoyed with the breadth of the compiling and debugging options, but for some reason the primary debugging mechanism is not working for me. When I compile with ...
8
votes
2answers
964 views

Vim-latex adds extra brackets when typing empty brackets

I just installed the vim latex-suite plugin. Whenever I type empty brackets, parentheses, or braces, I get an extra pair of them, and I am moved to the middle of the new pair and put into insert mode....
2
votes
0answers
192 views

How to show the value of a variable in vim latex-suite [closed]

Is there a way to show the current value of a Latex-Suite variable, e.g. g:Tex_DefaultTargetFormat, from the vim command line?
1
vote
0answers
31 views

Vim LaTeX suite now doubles my double parentheses and braces [duplicate]

I re installed MikTex and Vim LaTeX suite (for an unrelated reason) and now Vim doubles my double parentheses (or braces, etc.). Usually if I type ( and the matching ), then I get ()<++> with ...
2
votes
1answer
451 views

Vim-latex Incorrectly Expanding Environment

I just began using vim-latex and started with their tutorial. Following the instructions on this page, I type eqnarray followed by F5, but instead of getting the described \begin{eqnarray} \label{...
1
vote
1answer
383 views

Indenting multi-line sentences

For example, in the actual .tex file, I'd like sentences like this: Due to this, some reasonable conclusion. Next sentence. To be formatted like this: Due to this, some reasonable conclusion. ...