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
1answer
22 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 ...
2
votes
2answers
40 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 ...
0
votes
1answer
30 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. ...
0
votes
0answers
20 views

open and close pdf file with tex

I write LaTeX in vim, with vim-latex plugin. Is it possible to attach a pdf file with vim so that the pdf file opens with the tex file and closes automatically when I close the tex ? Currently, I am ...
0
votes
0answers
23 views

UltiSnips unexpected behaviour

I have the following two snippets snippet mm "Math" wA \(${1}\)`!p if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']: snip.rv = ' ' else: snip.rv = '' `$2 endsnippet Which puts me in math ...
2
votes
2answers
88 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?
3
votes
1answer
22 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 ...
0
votes
0answers
20 views

Latex plugin ignoring the g:Tex_CompileRule_pdf configuration

I am trying to use vim-latex to compile a document using the --shell-escape flag This is the content of my tex.vim ftplugin let g:Tex_DefaultTargetFormat='pdf' let g:Tex_CompileRule_pdf = 'pdflatex -...
1
vote
1answer
166 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 ...
1
vote
1answer
39 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 ...
2
votes
1answer
247 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 ...
2
votes
0answers
128 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 ...
2
votes
2answers
58 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 ...
1
vote
1answer
224 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 ...
0
votes
1answer
142 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 ...
1
vote
0answers
89 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 ...
2
votes
1answer
176 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 ...
0
votes
1answer
54 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 ...
0
votes
1answer
149 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:...
3
votes
1answer
727 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 ...
1
vote
1answer
138 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: ...
4
votes
2answers
578 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 ...
0
votes
1answer
135 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 ...
2
votes
1answer
108 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 ...
2
votes
1answer
136 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 ...
3
votes
1answer
301 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 ...
1
vote
2answers
243 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 ...
1
vote
2answers
268 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 <...
1
vote
0answers
256 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 ...
1
vote
0answers
23 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?
5
votes
1answer
411 views

Indentation in Latex within a list after an equation

Here is a minimal .tex file: \begin{document} \begin{itemize} \item Here is an equation: \begin{align*} x = y \end{align*} \item Here is another item ...
0
votes
1answer
4k views

How to install vim-latex plugin?

I have downloaded vim-latex-1.9.0.tar.gz. Then I follow the instruction describe here. But, the plugin doesn't run. My .vimrc looks like - set showmatch inoremap { {}<Left> inoremap {<...
1
vote
2answers
102 views

How fix mappings broken by a plugin?

I installed vim-LaTeX suite and now some of my mappings don't work anymore. Those are my mappings, the last 2 don't work when LaTeX suite is installed: autocmd FileType tex inoremap è \`e autocmd ...
2
votes
0answers
285 views

in-line math equation rendering/preview for macvim/vim for filetypes other than RMarkdown

I recently installed vim-rmarkdown package, and found that the package allows me to see the rendered math equation in macvim, and when move cursor over, the line will render back to latex equation ...
2
votes
1answer
661 views

spacevim remapping of plugin keybindings

I am totally new to using Vim, and I have been trying out SpaceVim so far. One issue is with keybindings. So I have the Vimtex and Vim-Latex plugins installed. I want to use the compilation option ...
1
vote
1answer
358 views

Alt-I doesn't work to inset \item in vim-latex

Hello Vimmers and LaTeXers, I cannot get Alt-I to work in vim-latex. It is supposed to insert \item depending on the environment that you are in. Do I need to activate it somehow? Is there a setting ...
1
vote
1answer
1k views

Vim LaTeX-suite: set keybinding to compile and view pdf

I'm new to Vim and it's just fantastic! Now I would like to set up the Latex-suite with reverse searching and found this easy way by compiling to xdvi. But sometimes, I need the .pdf. What I would ...
0
votes
1answer
233 views

Problems in installing vim-latex

I try to install vim-latex, a plugin for vim to edit latex file, According to the download page In step 3 of 4 :To install the included latex-suite.txt and latexhelp.txt files as vim help ...
1
vote
0answers
65 views

vim-latexsuite syntax highlight in macro parameter

I'm using vim with vim-latex to edit my LaTeX-files. I noticed that the \begin{env} and \end{env} are not colorized when they are in a macro parameter (the \vary command and question environment are ...
7
votes
0answers
482 views

Unable to Enable Vim Conceal [closed]

I'm running ArchLinux using the xfce4 terminal with vim-latex. Using this setup, I tried to follow the instructions here to conceal latex commands with unicode. However, after much effort, I still ...
2
votes
2answers
108 views

Running python code in a function

I'm having problems with latex-suite (some research indicates that many people are). The issue at hand is that they have a nifty python script that gives you a nice outline of your document and ...
2
votes
0answers
86 views

vim-latex suit forward search

First, sorry for the cross-posting. I have posted it in https://tex.stackexchange.com/q/345060 as well. I am trying to enable forward search in vim-latex. Since it is not working, I tried a vanilla ....
0
votes
1answer
209 views

Vim Latex Suite, suppress viewer errors

Question on vim latex suite (the link is provided to avoid confusion). When I see the compiled pdf using \lv command, it sometimes show error message spitted out by the viewer on top of the editing ...
0
votes
1answer
312 views

LaTex-vim cannot compile files with spaces in name

I followed the same procedure as in the answer to this question to download and install latex-vim. But when I compile a tex file, I get the following error message: || I can't find file `Rapport'. ...
3
votes
1answer
75 views

Switching back and forth between two text layout conventions of input to LaTeX

While using git and other versioning systems, it is very useful that text lines occupy no more than (say) 80 characters. It is also more comfortable to edit text with vi if lines are note excessively ...
3
votes
0answers
84 views

Am I missing something using vim-LaTeX? [closed]

I am an average user of vim and LaTeX. I hate using anything but the keyboard while working on the computer. Following popular recommendations I have been using vim-LaTeX for few years now and have ...
3
votes
1answer
284 views

Suppressing standard output during compilation in vim-latex

I'm just starting to learn Vim-LaTeX, and there are a couple things that bug me. First, I would like to suppress all standard output to the command line when I compile using \ll, but I would still ...
1
vote
1answer
84 views

Is it possible to set SmartQuote depending on the content of a file?

Preface: I enjoy using vim, but am by no means a vim power user. My .vimrc file is largely the result of googling other's solutions and adapting them to my needs. With that in mind, I'm curious if ...
6
votes
1answer
167 views

Mathematical expressions in TeX files are displayed in a human-readable way

When I type some mathematical expressions in Tex files using Vim, e.g. a_{2} = a_{1} + a_{0}, it is displayed in a human readable way like a2 = a1 + a0. (Actually the numbers are of a smaller font, ...
4
votes
0answers
92 views

Latex plugin for Vim that supports files organized in multiple directories

I have a multiple file/folder project that looks like the following. ├── 0_Preamble │   ├── 01_TitlePage.tex │   ├── 02_TitleBack.tex │   ├── 03_Dedication.tex │   ├── 0_Preamble.tex ├── 1_Theory │  ...