Questions tagged [plugin-vim-latex]

Questions about the plugin vim-latex which provides enhanced LaTeX support for Vim.

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

How do I compile glossaries using vim-tex?

I initially asked this on the LaTeX stack exchange, but there seems to be little input: https://tex.stackexchange.com/questions/712127/compiling-glossaries-with-neovim TL;DR: how do I set up the ...
Mstislav Keldysh's user avatar
1 vote
1 answer
64 views

Migrating from Latex-Suite to vimtex

So I've been using latex-suite for a few years, and I realised recently that vimtex has some nice features (especially the text objects). So I'm tempted to use that instead, but it would require me to ...
Ronak M Soni's user avatar
0 votes
0 answers
189 views

How to display LanguageTool suggestions with neovim

I want to see LanguageTool suggestions (not just errors) when using LanguageTool with my LaTeX documents. LanguageTool can output the Error, Context, and Suggestion. However, with my setup (ltex-ls ...
nikost's user avatar
  • 101
0 votes
2 answers
174 views

How would I bind a keybind that uses Rubber to compile the current file on NvChad?

I'm new to NvChad and would like to learn how to bind <leader>t to execute rubber on the current file. My previous nvim setup had the code nnoremap <leader>t :!rubber --pdf %<CR>. ...
user avatar
1 vote
2 answers
145 views

Editing .bib files in (n)vim with tailored autocompletion

I use BibDesk on a Mac to edit .bib files (in biblatex, using biber to compile). This generally works, but for various reasons it would be nice to be able to edit them in nvim too. My current setup ...
Alex Roberts's user avatar
1 vote
0 answers
22 views

Strange behavior: latex-suite, alt-key macros, adding <++>. How can I disable this?

I’m using vim with the latex-suite plugin, on Ubuntu 22.04.1 LTS. (I installed the plugin through the Ubuntu package manager, i.e., through sudo apt install vim-latexsuite, then followed the ...
Sophie Weigle's user avatar
2 votes
1 answer
1k views

Vimtex not opening SumatraPDF automatically

I am using Vim 64 bit and have installed Vimtex on Windows 11. I can compile a LaTeX file and changes are shown in the pdf file, but typing \lv does not open my pdf viewer, SumatraPDF. Here is part ...
Sony's user avatar
  • 51
2 votes
1 answer
168 views

Matching parentheses in tex files

I am relatively new to vim, but I'm trying to get acquainted. I use vim mainly for .tex files and on two different machines (office and home). In both cases, I use Vim-Latex. No problem on the machine ...
Aschkal's user avatar
  • 131
1 vote
1 answer
47 views

Replacing regex with italic code in Vim for Latex

I am using vim to write a document in Latex. I have to replace a regex with the italic code, which is \textit{regex}. I use the Vim code: :%s/regex/\textit\{regex\}/g But the \t expression is ...
Drosera_capensis's user avatar
1 vote
2 answers
102 views

Disabling automatic imap of "< |" to "\bra{" (using neovim + vimtex)

In LaTeX, I'm trying to write if \(|x - a| < \delta\) then ... but in math mode, the combination < | is automatically replaced by x \bra{. I've been editing tex files with neovim for years, and ...
akm's user avatar
  • 121
2 votes
1 answer
113 views

Manage syntax groups in Vim Latex (how to create new ones, or add to existing ones)?

I'm trying to optimize for my needs the syntax highlighting offered automatically by Vim for Latex. For example by changing colors to my liking or link colors to new commands/environemnts. After a ...
Kore-N's user avatar
  • 143
0 votes
1 answer
333 views

Turn off concealed text not working properly

So basically, I'm testing out writing a Latex document in neovim. I want to make this as similar as an IDE as possible, but with some added Vim functionality. That includes having text that I'm ...
qmack's user avatar
  • 3
3 votes
1 answer
206 views

LaTeX: turn off text wrap and auto indent in maths environments

I use vim with vim-latex for editing latex files. I always have hard wrapping enabled using set tw=80. I also have the default vim-latex auto indent settings enabled. I wonder if there is a way to ...
chaffdog's user avatar
  • 131
0 votes
1 answer
166 views

vim/vim-latex: spell-check highlighting breaks after occurrences of \end{center}, \end{enumerate}, \end{itemize}

The highlighting of misspelled words in my LaTeX documents breaks, when I open a .tex file and jump to the bottom instead of scrolling through the whole document. Only .tex files seem to be affected, ...
user11718766's user avatar
0 votes
0 answers
52 views

Personalizing Vim-Latex reference \ref completion

Vim-Latex is a very big plugin, but the only reason why I use it is that it can complete references \ref{.. and citations \cite{.. I recently created my own latex equation environment, which usually ...
Kore-N's user avatar
  • 143
1 vote
2 answers
206 views

vim-latex installation issues

This is a copy of a question from TeX stackexchange which in hindsight is likely more relevant here. I have attempted to install vim-latex (Latex-suite) with Pathogen, though I seem to have (at least ...
user2472071's user avatar
1 vote
1 answer
133 views

Latex: smaller Greek letters in math mode

In init.vim, I use vimtex and text-conceal, but it seems Greek letters and math operators look smaller. Here is an example: But when the cursor moves away, the math mode looks like this: . From this, ...
tobinz's user avatar
  • 131
1 vote
0 answers
36 views

When I use vim-latex's F9 bibkey completion key to find matches for my citations I am getting "E121: Undefined variable: foundCiteFile"

I don't know how to provide a minimum working example, because this was working before on these files. What has changed is that I updated to the latest version of Vim and moved my latex-suite ...
Shawn's user avatar
  • 11
1 vote
1 answer
208 views

How to fix the huge indent

I am using nvim to edit tex files. I don't know what happened. All of a sudden, tens of blank lines emerged before each line of codes. I think maybe I screwed it up by doing something wrong ...
tobinz's user avatar
  • 131
1 vote
1 answer
158 views

Unable to select templates with vim-latex

I have Vim on Ubuntu 18.04 and I have sucessfully installed the vim-latex package. When I open a .tex file, vim regognizes it as latex and the plugin kicks in (I have already struggled with this a few ...
RobertoAS's user avatar
0 votes
1 answer
89 views

manual folding of latex using vim-latex

In my vimrc, for vim-latex-suite I have used (as described here) let g:Tex_FoldedMisc = 'preamble,!!!' with the expectation that it will fold the text inside \noindent{%!!! .... %!!! I won't like ...
BaRud's user avatar
  • 481
2 votes
2 answers
789 views

Vim-latex not starting automatically for .tex files

I have Vim on Ubuntu 18.04 and I am trying to use the vim-latex package. By typing :set rtp? on Vim I get the following output: runtimepath=~/.vim,~/.vim/pack/bundle/start/vim-latex-1.10.0,/var/lib/...
RobertoAS's user avatar
1 vote
1 answer
47 views

Removed Plugin still has active keybindings from view/ files

I installed the plugin vimtex. Then I installed the plugin tex-vim (aka Latex suite). The compilation keybinding (<Leader>ll) from vimtex stopped working, since tex-vim takes over it. So I ...
soap's user avatar
  • 151
0 votes
1 answer
224 views

Toggle between displaymath and inline math modes in LaTeX

I'm trying to come up with a way of doing the following in vim. When editing LaTeX documents, I need on a fairly regular basis to toggle between display and inline math modes. Let me explain: suppose ...
Pece's user avatar
  • 101
2 votes
2 answers
1k views

Typing Russian characters in vim with vim-LaTeX

Occasionally, I need to type documents in Russian in LaTeX format. To use Russian in vim I follow the guidelines from this Habr post. In short, I have the following settings in my .vimrc file: set ...
mabalenk's user avatar
  • 123
0 votes
1 answer
58 views

How to prevent duplicated sections in taglist with vim-latex

The plugin yegappan/taglist and the plugin vim-latex are very nice to navigate within the table of content of a latex document. There is an issue however on my system section titles are duplicated. ...
Paul Rougieux's user avatar
2 votes
2 answers
351 views

Latex Subscripts Rendering Weirdly [duplicate]

I'm trying to type the following latex in nvim: f_{high}=\{1209,1336,1477,1633\}Hz. For some reason, nvim is rendering this as: fₕᵢgₕ= \{ 1209, 1336, 1477, 1633\}\si{Hz} How do I fix this?
ScottishTapWater's user avatar
3 votes
1 answer
70 views

Customizing Latex-Suite star environments

The documentation of Latex-Suite says I can customize the generated environment boilerplates by defining g:Tex_Env_... variables. This works for me. Nevertheless, it goes on to say that for ...
The Vee's user avatar
  • 133
2 votes
1 answer
1k views

How to disable ligatures "inside the editor" while using vim for latex documents? [duplicate]

I'm using vim for writing LaTeX documents. I also have vim-latex installed. While I'm writing my documents in the editor, I get ligatures for that piece of text which is meaningful for the LaTeX ...
Saeed Ahadian's user avatar
1 vote
1 answer
49 views

Adjusting pdflatex settings [closed]

Ubuntu is my OS, and I have the Latex-Suite plugin installed. I'm trying to get pdflatex to output a .pdf file instead of a .dvi file, but it continues to output only a .dvi file (along with .log and ...
Philippa Richter's user avatar
2 votes
1 answer
834 views

ftplugin script not loading

I'm really new to Vim, and trying to proceed as described here: https://vim.fandom.com/wiki/Keep_your_vimrc_file_clean for language specific customization. I'm trying to implement automatic line ...
konovification's user avatar
3 votes
0 answers
429 views

Quickfix go to next error of specific type

I am starting to use quickfix to handle my latex compilation process. I found the vim-latex package (https://github.com/vim-latex/vim-latex) but I am only interested in the quickfix part, and I want ...
Weijun Zhou's user avatar
2 votes
2 answers
150 views

Problem disabling autoclose when editing .tex files with vim-latex

Preface: Newish to vim so please excuse any rookie mistakes. I normally use vim-latex/latex-suite to edit .tex files, and it works great. I've also started to use vim to edit scripts, and I use the ...
Geoffroi's user avatar
  • 123
1 vote
1 answer
367 views

Latex-suite <alt-I> mapping

Last week I reinstalled Ubuntu 18.04 LTS on my laptop. During my last installation of ubuntu (also 18.04) I learned vim and used it in combination with the latex-suite. However on this new ...
3dSpatialUser's user avatar
0 votes
1 answer
480 views

Stop vim-latex from autocompiling on save

I'm not sure if it has always happened or its just recent, but vim auto-compiles on each save (:w). I would like to only manually compile (I use a hot-keyed pdflatex command instead). I've had a ...
ljden's user avatar
  • 378
1 vote
0 answers
156 views

vim-latex compilation and viewing

I have installed Vim-latex on my Mac. When I compiled my file, there seemed to be no error. Yet, when I pressed \lv, I got the following: Error detected while processing function Tex_ViewLaTeX: line ...
user14411's user avatar
  • 111
2 votes
1 answer
456 views

Close multiple quickfix windows

I love the quickfix feature in vim. It also works flawlessly in most cases. But when I work with LaTeX documents, it leads to funny behavior. I don't think it's relevant, but I have the LaTeX suite ...
pfnuesel's user avatar
  • 734
1 vote
1 answer
84 views

Make conditional imap to text being enclosed in certain characters

How can I create mappings that work only if the cursor is enclosed by certain characters? As an example, I want to map ja to \alpha if the cursor is enclosed by $$ or by \[\] so as to make This jar ...
Emily's user avatar
  • 113
0 votes
1 answer
551 views

Shortcuts for math and quotes with vim-latex & insert space after fullstop

I have recently managed to install and configure vim-latex and started using it. I used to use TexStudio for writing my file and in it I used to have several setting that were tailored for my workflow:...
lucian's user avatar
  • 153
5 votes
1 answer
1k views

vim-latex installation confusion

I am a long time user of latex and I have been searching for a good editor to use it with. I have been using TexStudio but recently I feel I need the no distractions feel of using vim. So I stumbled ...
lucian's user avatar
  • 153
1 vote
1 answer
217 views

Error detected during LaTeX-Suite-aka-Vim-LaTeX plugin update with Vundle

When updating vundle-managed plugins with: :PluginUpdate in buffer, I get the following error message: Error detected while processing ~/.vim/bundle/LaTeX-Suite-aka-Vim-LaTeX/plugin/remoteOpen.vim: ...
Cbhihe's user avatar
  • 241
5 votes
2 answers
2k views

Easiest way to insert LaTeX matrix?

Recently I found myself in a situation that need to type in quite a number of matrices to LaTeX by hand, so I was wondering if there are some tools that can help me to save some keystrokes. The ...
hzh's user avatar
  • 195
1 vote
1 answer
211 views

How can I make F9 with vim-latex work with "\cite{"?

I have installed vim-latex v1.10.0 on Fedora 28, using vim-plug as follows: Plug 'vim-latex/vim-latex' F9 does not work with \cite{. It works with \ref{, but n and p cycle through the results of ...
Romas's user avatar
  • 75
2 votes
1 answer
157 views

vim-latex: sometimes abbreviations do not expand in tex buffers [duplicate]

I have installed vim-latex v1.10.0 on Fedora 28, using vim-plug: Plug 'vim-latex/vim-latex' I've defined an insert mode abbreviation: :iab bd text I can trigger bd to expand to "text" only with ...
Romas's user avatar
  • 75
2 votes
1 answer
357 views

User Input in a Recording

So I am pretty new to vim, but I have started using it as my Latex editor to help get more efficient. Anyways I have a recording that I would like to prompt a user for input on that will change how ...
Ltoll's user avatar
  • 123
3 votes
1 answer
608 views

Expand all folds created by vim-latex when opening a LaTeX file

I want all my folds to be expanded when I open a LaTeX file. As per web search I added the following at the end of .vimrc set nofoldenable set foldlevelstart=99 set foldlevel=99 But even now its ...
knightrider's user avatar
2 votes
3 answers
534 views

Running vim's ':make' using ':term'

Is there a way that I can have the :make command output itself to a terminal window in vim? In the 8.1 release, they added the :term command, which allows you to run an external program in a vim ...
A Gold Man's user avatar
1 vote
2 answers
660 views

Vim stops treating "<Plug>" as a keyword to call functions in insert mode

I have the following configuration in my vimrc file. inoremap <C-A> <Plug>InsertComment And somewhere in my vim folder I defined inoremap <silent> <Plug>InsertComment <...
hzh's user avatar
  • 195
1 vote
0 answers
397 views

vim - latex suite compile and view keys does not work

I'm trying to setup vim-LaTeX on a new pc and I'm having problems with compile and view. ( \ll and \lv commands). When I push \ll I get the following error; Error detected while processing function ...
Thorbjørn E. K. Christensen's user avatar
1 vote
0 answers
28 views

Java equivalent for vim-latex folds

Vim-Latex has a feature which folds the tex document into the respective environments e.g. sections,equations. Can I enable somthing similar for Java?
Charles Dake's user avatar