Questions tagged [vim]

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

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

File Directory Issues with \tikzexternalize with VimTeX output dir configuration

I'm using \tikzexternalize and also setting an output directory for my current compiled LaTeX documents. Ideally, I would like the file folder to be like so: proj-dir/ |--figures/ | |--[saved png ...
user avatar
  • 163
0 votes
0 answers
49 views

Looking for basic compiler

I am unfortunately not finding my answer anywhere. So far, I have only used LaTeX in Overleaf. I was hoping to start writing LaTeX from vim. I thus want to download only a compiler for LaTeX, and ...
user avatar
1 vote
1 answer
23 views

How to disable brackets concealment vimtex?

Brackets \[ and \] are only shown when my cursor hovering over them. I tried to use let g:vimtex_syntax_conceal_default = 0 and set conceallevel=0, but it still not working.
user avatar
0 votes
0 answers
81 views

Text line contains an invalid character. ...^^@^^@^^@^^@^^@^^@...... vimtex

I have the following problem (see attached). Sometimes when I compile nearly everything disappears on my live-compiled file (I use vimtex on Linux). The only error I get is the following: Text line ...
user avatar
  • 101
1 vote
1 answer
86 views

Problem with \cite{ F9 in VIM

I am working on Linux Ubuntu, and work on VIM 8.2. The latex syntax is working when I open a .tex document, but when using \cite{ and F9, nothing happen. Futhermore, I noticed that the following ...
user avatar
0 votes
1 answer
102 views

LaTeX-vim live preview using Ubuntu vm on windows - what's your setup?

Question is pretty self explanatory. I'm using a virtual machine on my pc - either the Ubuntu app on the windows store or wsl through windows terminal, and I'm looking for a setup guide with live ...
user avatar
0 votes
0 answers
33 views

Can vimtex be integrated with a DVI viewer?

Is it possible to configure vimtex to produce a DVI file (instead of PDF) from the a latex source file and update an external DVI viewer? This could potentially speed up the compilation times.
user avatar
0 votes
1 answer
133 views

MacOSX Alternative to UltiSnips, and tools to write mathematics notes in LaTeX faster

For writing textual content and mathematical formulas in LaTeX, I use Vim. I use Vim for writing code, markdown, and LaTeX. I have just recently read an article by a Mathematics PhD student, Gilles ...
user avatar
1 vote
1 answer
57 views

vim-latex ignores compile rule

I just learned about LaTeX-Suite for vim and have a hard time setting up a compilation rule that invokes make to process my custom Makefile. The relevant section in my .vimrc reads " vim-latex-...
user avatar
  • 113
0 votes
1 answer
192 views

Live preview with Vim-LaTeX not updating live

I have been using Vim-LaTeX for quite some time now. However, each time I want to see a change, I have to save the document, compile it with \ll, and then preview it with \lv. Today, I decided to ...
user avatar
  • 767
1 vote
0 answers
193 views

Inverse search from Zathura to .tex file

With the help of someone on this stack I was able to configure vim so that it launches with a server name that is the filename it opens. For example, if I run vim filename.tex, vim will launch with ...
user avatar
0 votes
1 answer
160 views

Automatically compiling asymptote on vim, with .asy files in another directory?

I am currently using latex on vim with the vimtex plugin (with mac big sur os), and there are two features I would like to have: Asymptote compiles automatically when I compile latex All auxiliary ...
user avatar
1 vote
0 answers
69 views

Standalone insists on compiling all files

I am using vimtex(which itself uses texlive?) to edit some files called A, B, and C. A is my main file and I intend to intend to embed B and C in it. But B and C are large individually, so I wanted to ...
user avatar
2 votes
1 answer
402 views

How to change folding settings in Vim-LaTeX?

I am new to Vim so I apologize if the answer to this questions is too obvious. I wanted to try Vim-LaTeX, and I like it so far after a couple of days using it. This is the problem that I have: I ...
user avatar
  • 767
2 votes
0 answers
423 views

VimTeX - latexmk: -reuse-instance bad option. Any suggestions?

I'm trying to set up a Vim and LaTeX system on my Windows machine, but keep running into the same compilation issue. My setup consists of vim (via Git for Windows), lervag's VimTeX (via vim-plug), ...
user avatar
1 vote
1 answer
1k views

Setting up SyncTex with vim and zathura

I am a Latex enthusiast and I have set up my own system for compiling and previewing Latex using vim and zathura because I wanted a very minimal setup, without any plugins such as vimtex and the like. ...
user avatar
  • 403
0 votes
1 answer
133 views

Using pdflatex using a key binding in vim

I have a latex file which includes multiple figures. These figures are kept in different directories whose path is given in the latex file using the graphicx package: \usepackage{graphicx} \...
user avatar
  • 1
0 votes
0 answers
117 views

macvim, mactex, and M1 MacBook Air (MBA) [duplicate]

I'm struggling with using macvim and mactex on M1 MBA. Here is what I've done. Install macvim (via homebrew, probably). Install mactex. Install TeXShop 4.58, Ghostscript-9.53.3-Full.pkg, and MacTeX-...
user avatar
0 votes
1 answer
211 views

vim-latex installation

I have attempted to install vim-latex (Latex-suite) with Pathogen, though I seem to have (at least partially failed). I followed the instructions given in the answer here, though upon following them, ...
user avatar
0 votes
1 answer
194 views

Create tags for files using ctags

I'm using ctags to create a tags file for use in Vim in a latex project. I have a main.tex file and several files in the chapters directory such as chapters/chapter1.tex. I have the following code in ...
user avatar
  • 3
1 vote
0 answers
990 views

How to compile via LuaLaTeX in Vim?

I recently started to use Gnuplot as my plotting solution, and I started to use terminal more and found about Vim, I immediately fell in love with it. I have finally got working latexmk compilation ...
user avatar
1 vote
0 answers
48 views

Latex-Suite with TikZ giving errors when compiling new equations

I have a problem using the Latex-Suite package for vim, which only happens when compiling with the TikZ package. The problem comes whenever I try to compile a document when a new labeled equation has ...
user avatar
1 vote
0 answers
115 views

Error while install vimtex on ubuntu 20.10

I used to have vim on Ubuntu 19.04. After Upgrade to 20.10, vimtex is not working. I re-installed it but still not compiling. . In the Github repo, there seems to be explanation about how to make it ...
user avatar
  • 237
1 vote
0 answers
97 views

stop auto compiling in vim+latex-suite

set history=700 " How many line Vim should remember set nocompatible " because vim is not vi set ignorecase " Searching ...
user avatar
  • 2,039
0 votes
0 answers
57 views

How to compile several

I'm working on a larger project, but I'm struggling with splitting my tex-file into several tex-files, as I cannot seem to compile them into one pdf. I'm working from a Linux terminal trying to write ...
user avatar
0 votes
1 answer
161 views

Vim pdf viewer blocking the terminal

When I call the command command ViewPdf !okular %:r.pdf on Vim (in .vimrc), the terminal is blocked and I cannot continue writing my document.How can i tweake this vim command to open my pdfviewer ...
user avatar
2 votes
2 answers
559 views

Dollar sign breaks syntax highlighting in Vim

The $ symbol opens inline math environment, unless it is used in verbatim enviromnent. However Vim can’t seem to detect that it’s in a verbatim environment, and as a result the dollar breaks the ...
user avatar
0 votes
1 answer
310 views

Vim: spell-check words with diacritics

I write my LaTeX documents using Vim with the vimtex plugin, and for the most part Vim's spell-checker satisfies my needs. However, I am being quite frustrated by the fact that it does not seem to ...
user avatar
  • 714
0 votes
0 answers
139 views

latexmk to show error in quickfix

Please consider this small and wrong latex. I am using vim as editor. \documentclass[a4paper]{article} \begin{document} \hello \end{document} I am trying to compile it using (I use vim-latex, but for ...
user avatar
  • 2,039
3 votes
0 answers
87 views

Coloring footnote syntax in vim

I would like LaTeX footnotes to have a different color in nvim, much like VS Code does it: I found this old question, which suggests putting this in after/syntax/tex.vim syntax match footnote "\...
user avatar
0 votes
0 answers
68 views

latexmk not returning cursor back in vim

First, one disclaimer: I don't know if I should put it here or in vim. But I hope there are many people common here. I am using AsyncRun to compile all my projects and files, and for this question, I ...
user avatar
  • 2,039
0 votes
2 answers
88 views

in VIM using F5 how to add a placeholder on top

I have an environment for Theorem (aliased to "thm") When in VIM editor I write "thm" followed by "F5" I get: \begin{thm} \end{thm}<++> Can I edit the macro so that I get instead: \begin{...
user avatar
1 vote
0 answers
180 views

vim-latex and Okular: forward/inverse search not working for DVI

I'm trying to get DVI forward search to work (I don't think SyncTeX is relevant) with vim-latex/latex-suite and Okular. I'm using Arch Linux. I've been following the official vim-latex beginner's ...
user avatar
4 votes
1 answer
86 views

vim-t line split not working

I'm using context on my mac machine. I'm trying to wrap lines automatically using lines=split when defining vim typing, but it's not working. This is how I define vim typing at the very top of my ....
user avatar
0 votes
0 answers
132 views

VIM-LaTeX - error while trying to open a file with extension tex using vim

when I open any file with extension tex using vim I get an error below: "test.tex" 1L, 9C Error detected while processing /Users/user_name/.vim/ftplugin/latex-suite/texviewer.vim: line 895: ...
user avatar
0 votes
0 answers
223 views

JetBrain or PyCharm like LaTeX IDE with vim plug-in

Does there exist JetBrain or PyCharm like LaTeX IDE with vim plug-in where you auto-complete for commands, etc. are supported? Thank you in advance!
user avatar
0 votes
0 answers
213 views

MacVim + Skim + latexmk Setup

How do I setup MacVim + Skim PDF Viewer on macOS? I have searched online for various guides but I end up getting extremely confused. I'm relatively new and have only used Overleaf in the past but due ...
user avatar
0 votes
1 answer
178 views

how to focus Vim when doing pdf-to-tex search from Okular

When working with Latex files, I use Vim to edit the tex file and Okular to view the corresponding pdf. I have pdf-to-tex search (which requires running Vim as a server, and compiling the tex file ...
user avatar
  • 133
0 votes
0 answers
43 views

ctr-click skim pdf world to corresponding line on vim latex editor [duplicate]

I am using vim latex on my mac to compile .tex files whose output pdf is shown on skim to visualize them. I would like to know if there is a way to couple the two programs in such a way that when ...
user avatar
0 votes
1 answer
636 views

trouble with packages dsfont and minted with using vimtex

I'm trying to use vim / nvim as text editor in a (long) .tex file containing both minted and dsfont package. Here is an example: % !TeX document-id = {f2e9e8a7-1386-4a73-9989-55350ce6c529} % !TeX TXS-...
user avatar
  • 781
0 votes
1 answer
282 views

Enabling visually italicizing characters in \emph when using LaTeX-Suite

I am using Vim + LaTeX-Suite plugin to write LaTeX source file. I noticed that LaTeX-Suite would automatically italicize characters in \textit. Is there a way to enable this behavior for \emph as ...
user avatar
1 vote
1 answer
672 views

vim/vimtex editing text in curly braces

What is the fastest way to edit the content of braces in vim. I use the vimtex plugin. I'm looking for a similiar way like 'cit' (change in tag) does for HTML editing. For example: \title{Some ...
user avatar
5 votes
1 answer
2k views

How to make a PDF viewer jump to the latest tex update?

The vim-latex-live-preview Vim plugin and with :LLPStartPreview periodically refreshes the resultant PDF (by calling pdflatex on the tex file). After a refresh the location displayed in the PDF is ...
user avatar
  • 293
2 votes
2 answers
1k views

vim-latex on Overleaf

I'm a diehard vim user currently being forced to use overleaf for latex editing by various collaborators. Since overleaf has both a vim mode and support for keybindings, I was wondering if anyone had ...
user avatar
0 votes
1 answer
185 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}{...
user avatar
  • 3
2 votes
1 answer
101 views

Vim-Latex (Latex-Suite) closes vim instance after compilation [closed]

When I create/change some labels, and recompile with \ll, the vim instance of my .tex document closes unexpectedly. I do nothing else. When using let g:Tex_MultipleCompileFormats = 'pdf' in my ....
user avatar
  • 51
1 vote
1 answer
1k views

Use arara with continuous compilation (with vimtex)

I've been using vimtex with latexmk to typeset my LaTeX documents for a while now. But I'm trying to use arara for a new project, as one of the team members suggested to use it. Since I always use (...
user avatar
  • 187
6 votes
2 answers
3k views

How do I set XeLaTeX as my default engine?

I use Neovim with the vimtex plugin and latexmk but I want to make it use XeLaTeX by default instead of PDFLaTeX because I have to use fontspec quite often for my college papers. I use TeX Live.
user avatar
0 votes
2 answers
126 views

Vim: typing lparen "(" shifts entire line to the right

I hope this is not off-topic, but I don't know where else to ask. When typing in insert mode, only in .tex files, typing a lparen shifts the entire line to the right by my tabstop. Typing an rparen ...
user avatar
  • 103
1 vote
1 answer
939 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 ...
user avatar

1
2 3 4 5 6