0
votes
1answer
16 views

Vim conceal feature is applied to active line

I am using MacVim with the vim-latex plugin. There is a conceal feature turned on by default that converts LaTeX symbols to unicode in vim itself so the source is easier to read. I think this is ...
0
votes
1answer
41 views

How to expand lines in Vim Latex

As you can see when I open a LaTeX file in vim, lines are folded up. How can I expand them at once?
2
votes
1answer
58 views

Use project or file specific spellfiles in vim

I just enabled spell check in vim. I like it and I know how to use it. However, I would really like a project or even file specific spellfile as my list of accepted words. That way I can keep project ...
2
votes
2answers
110 views

Delete / Yank lines from current line up to and including line containing search pattern

Suppose I have the following text (cursor is in middle of first word 'begin.' blah blah blah blah stuff stuff stuff \\\begin{tabular} { |p{0.25\textwidth} |p{0.2\textwidth} |p{0.5\textwidth} |} ...
1
vote
1answer
144 views

gvim latex interface not appearing after latex-suite installation

I have been installing gvim with the latex-suite plugin on a laptop running an Ubuntu 13.10 OS. The installation of gvim worked, but I'm not sure if the latex-suite installation did too. According to ...
0
votes
2answers
97 views

any hierarchical list editor (Vim / MS Word / LaTeX / Lisp / ..) [closed]

We have hierarchically ordered items stored in a textfile and idented with tabulator. colorsredgreenbluecomputersLinuxMacWindowsnumbersonetwothree It must have guiding lines on the side, because we ...
0
votes
0answers
41 views

Strange highlight behaviour in VIM

Anyone have any idea why the matching brackets are highlighted with different colors? This is a latex file and I am using the VIM-Latex plug-in
2
votes
2answers
64 views

How to deal with lots of brackets in a formula?

Say, I have a formula like this (in LaTeX or Maple or other text system): Result: ...
0
votes
1answer
90 views

Start gvim at specific line, from a doubleclick on line in sumatraPDF

I use sumatraPDF and gVim to edit LaTeX files. Sumatra supposedly has a feature to open an editor at a specific line by the variable %l. As far as I can see, I can start gVim with the +<num> ...
1
vote
0answers
38 views

Vim indentation and the prooftree package

I am using the fabulous vim-latex suite. I use (a lot) the prooftree package which has commands of the kind: \prooftree SOME-HYPOTHESIS-HERE \justifies SOME-CONCLUSION-HERE \using ...
1
vote
2answers
70 views

How to make vim change a date when a section of a file was edited?

I'm using latex as a diary with sections for each subject. I manually add date of creation and modification to each element of text (section, subsection, subsubsection, ...). Is there a way to make it ...
1
vote
1answer
110 views

Change definition of paragraph text object in Vim?

I asked a question in the (La)TeX stack exchange and it was recommended to me that I see whether I could get an answer here. The question can be found here. The basic question is this: can I tell Vim ...
3
votes
2answers
658 views

vim “gq}” command to re-wrap paragraph, and LaTeX

How can I make this command not wrap things like \item? For example: \begin{enumerate} \item this might be a long paragraph that spans multiple lines \item blah \end{enumerate} if I run "gq}" ...
2
votes
1answer
402 views

Manually loading package from Vim-LaTeX in Vim (because auto detection is not always helpful)

General question How you can manually load a particular package from Vim-LaTeX in Vim and how it can be automated for every LaTeX file? I am not interested in copying relevant parts from scripts of ...
4
votes
3answers
3k views

Display invisible characters in vim

When I compile my source with Latex, I get the following error message Unicode char \u8:  not set up for use with LaTeX. Now I suspect that this is due to an invisible character. The command ...
0
votes
1answer
634 views

Formatting Latex in vim - issues with line breaks

I use vim's source code formatting features (the = key will format your selection and pressing gg=G will format the entire source code). However, it seems to not format correctly when it encounters ...
7
votes
3answers
1k views

vim and TeX filetypes: plaintex vs. tex

I open .tex files with Vim, but some files are recognized as filetype=plaintex and others as filetype=tex. Why is this? What is the trigger that recognizes the file as tex, which has the highlighting ...
0
votes
1answer
291 views

Vim bind compile key depending on document type

Is there a way to bind a key by document type? For example, if the document is a .tex file, I want f5 to call PdfLatex, but it is a .c file, I want it to call make
0
votes
2answers
442 views

Gvim Graphical Preview

I have seen some videos on YuoTube where people are doing some cool things with Emacs, e.g. compiling a LaTeX file and viewing it as a pdf from within Emacs. I have also seen a graphviz DOT file ...
2
votes
2answers
2k views

Compile .tex files to .pdf as default in gvim with latexsuite plugin

Now I am using the pull-down menus to set :TTarget, :TCTarget, and :TVTarget to pdf. I also tried setting g:Tex_DefaultTargetFormat='pdf' and g:tex_flavor='pdflatex', but neither worked. Thanks!
1
vote
3answers
1k views

Vim: Bind <C-Enter>

Using vim for editing latex; how can I bind C-Enter? I tried the following, which does not work: imap <C-Enter> \\<CR> and imap <C-Return> \\<CR> However, something like: ...
5
votes
3answers
837 views

Using vim for LaTeX versus something else?

For those that regularly use vim and that also regularly use LaTeX, do you recommend using vim for LaTeX? If not, what do you recommend?
0
votes
1answer
569 views

Specifying the destination for the pdf output when using pdflatex, from gVim

I am generating a pdf output with pdflatex with the following command in gVim: :!pdflatex % This command in turns executes the following in the Command Prompt: cmd.exe /c pdflatex /testvim.tex ...
0
votes
4answers
1k views

How do I manage newlines in Latex?

So, maybe I missed something completely when I started using Latex, but I have a difficult managing newlines in the Latex source. I have to put hard returns at the end of lines because even powerful ...
0
votes
2answers
1k views

To have colors in Vim LaTeX -files, like in Gvim

The left-hand-side picture is in Gvim, while the right-hand-side one is in Vim. Both Gvim and Vim uses the same files. How can you make \item red in Vim?