Stack Exchange Network

Stack Exchange network consists of 174 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 [plugin-vimtex]

The tag has no usage guidance.

0
votes
0answers
12 views

<localleader> not working in .tex files, but working for the other filetypes

I use vimtex, latexmk and neovim in order to edit .tex files in Vim, but for some reason my local leader does not work in .tex files, though the leader works and the local leader works for other ...
0
votes
1answer
26 views

LaTeX indent for \iff error in vim

With the minimal vimrc (with vimtex plugin): set nocp filetype plugin indent on syntax on set st=2 set acd set wildmenu set wildmode=longest,list,full let $USRPLUGD=$HOME.'\vimfiles\myvim\plugged' ...
2
votes
1answer
36 views

How to force vimtex to display \textbf and \textit in insert/normal mode?

When I add \textbf{} or \textit{} before a word in vimtex the terminal shows the word but strangely hides the commands. I can only see them in the visual mode (see pictures below). Is there a way to ...
0
votes
1answer
36 views

Disable highlighting for tex files with texvim

I want to use vimtex and enable highlighting for all filetypes, except tex files. For tex files I explicitly want to disable highlighting. How could I do that? Important: The solution should allow ...
2
votes
1answer
35 views

Unable to set iskeyword for colon ( : ) character

I am using vim to edit LaTeX files. Throughout the text, there are labels to equations, tables etc. for which an accepted convention among TeX writers is the following \label{eq:massenergy} , \...
6
votes
0answers
72 views

Matching interval brackets

I'm using vim to edit LaTeX code, and I'm often writing intervals like (a,b] but this messes with other vim features. For instance, Jumping with %: if I have something like \phi((a,b]), the final ) ...
1
vote
0answers
115 views

Quickfix list displays each line of log file

I'm trying vimtex. Probably I haven't read the docs well enough, but in my system (linux ubuntu 14.04.4 LTS, gvim 7.4) the quickfix list is populated with every single line of the log file when ...
0
votes
1answer
182 views

Vimtex commands only working on main file

Hi I am trying out vimtex on a multi-file project, and so far I was liking it a lot. However, I just found out that vimtex commands (\lv, \lt, \li, etc) work correctly when used while editing the main ...
1
vote
2answers
560 views

Vim not starting server

Context: I'm trying to use vim's clientserver mode on Mac OS X, using iterm2. I've compiled vim with clientserver via brew, and I've got XQuartz installed also. This is to allow continuous ...
0
votes
0answers
232 views

Help with vimtex

I am a beginner with Vim but I already installed a few plugins. Now I wanted to install vimtex with Pethagon and everything went right, but when I try to write :h vimtex, I got an error saying that ...
1
vote
1answer
431 views

LaTeX: Ultisnips

I'm new to Vim and setting up LaTeX with vimtex. Now, I am looking for a Snippet-Manager and decided to give UltiSnips a try. It seems to be very handy. But it doesn't come with a lot snippets (honza/...
0
votes
0answers
180 views

pattern to match tags in LaTeX

In LaTeX I might have something like this in my code: \ref{sec:foo:bar-baz} If I have the cursor positioned on foo and press Ctrl-] to jump to that tag, vim tries to find a tag called sec:foo:bar, ...
2
votes
1answer
63 views

Way to merge edits in a shared file during simultaneous editing

Currently, a colleague and I are working on a joint project written in LaTeX. I am using a plugin (VimTeX) which, in addition to calling a compiler tool (upon saving the file) offers some bindings for ...
2
votes
1answer
121 views

How to remap <Plug>vimtex#delim#close()<CR>?

I found that to press ]] to close a matching bracket by means of <Plug>(vimtex-delim-close) a little inconvenient, as I am using a French keyboard and have to press two keys to type ]. So I ...
0
votes
1answer
55 views

How to install vimtex.txt helpfile properly?

I'm using pathogen (from the Ubuntu 16.04 vim-pathogen package) and a git clone of vimtex in ~/.vim/bundle/vimtex/. Now :help vimtex does not work. I can read ~/.vim/bundle/vimtex/doc/vimtex.txt, but ...
3
votes
2answers
273 views

How to enter commands starting with i

vimtex lists some commands like ie to be entered in mode nxo. How do I do that? What is mode nxo? (Usually i brings me into insert mode, and e then just inserts an e.)
4
votes
1answer
72 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 ...
6
votes
1answer
250 views

How do I spellcheck TeX files using vim-lexical, skipping some command arguments but not others?

I use the vimtex plugin for TeX editing and vim-lexical for spell-checking. This works generally fine, but there are several commands vim-lexical tries to spellcheck. For example, in \includepdf{...
2
votes
1answer
587 views

Folding slow with vimtex

Automatic folding with the vimtex plugin are unbearably slow. Is there anything I can do to speed this up? I tried installing the fastfold plugin but that did nothing I could notice.
3
votes
0answers
351 views

Trying to get a particular SuperTab behavior with snippets and omnicomplete

I'm trying to get SuperTab to work a particular way with .tex files. I am also using the vimtex plugin as well as snipMate. The behavior I want is the following. In most text, I want the main ...
0
votes
1answer
240 views

What's the purpose of F7 in vimtex? How is it used/ [closed]

VIMTEX How do you enable/use the F7 key mentioned in the documentation? :map <F7> is empty and provides no clue. EDIT: In response to the comments below. I cannot figure out what F7 is designed ...
1
vote
0answers
702 views

Tips for using vimtex? [closed]

I am a new user to vimtex. Here are some requests for tips. I hear that it has "make on write" feature. How do I enable it to use my flags to makelatex, so that it uses e.g., lualatex. Which ...
3
votes
1answer
2k views

installing vimtex?

I am trying to install vimtex, and I am not how to do that. What plugin manager should I use? How do I combine it with "vim-surround"? "snipmate"? I went through the readme file, but could not ...
6
votes
1answer
116 views

Text formatting CVS-friendly

I have seen this very interesting article: http://dustycloud.org/blog/vcs-friendly-patchable-document-line-wrapping/ --- basically it is a suggestion for hard-breaking lines of text (for example, in ...
4
votes
0answers
79 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 │  ...
9
votes
2answers
686 views

How to configure spell to ignore some environments in LaTeX

Is there a way to tell vim not to spell-check part of a latex document? For instance, code block using the minted environment or URLs in \url{}? (I'm not sure it's relevant for spell checking but I'm ...