+OK
  • Home
  • About
  • Categories
  • Tags
  • Archives

Edit LaTeX with Vim

[TOC]

LaTeX-Suite

Requirement:Vim, latex-suite, Skim.

I presume you have the knowledge of vim. If you just heard about vim and want to use latex with vim, please read the articles about vim and vundle before continue this article.

Skim

Preferences --> Sync --> Choose MacVim and check "Check for file changes"

How to Use

If you want to efficiently use vim to write LaTeX, please read User Manual. There is also an incomplete vim-latex cheat sheet for convenience.

For me, I have met some problems like compile and view in pdf, key macros and forward and inverse search.

Compile

If you just read incomplete vim-latex cheat sheet, you may see \ll for compile. Actually, \ is <leader> by default, so you might press ,ll if you have set <leader> as ,. Before you compile the .tex file, you need to save the change before compile, or the pdf file will not change.

Forward and Inverse Search

Forward Search: <leader>ls

Inverse Search: Shift-Cmd-Click

Key Macros

I do not know the reason why key macros can not be used. If you know, please tell me.

<F9>-Completion

You may need to edit texrc file for the <F9>-completion of \includegraphics{, or it will not work:

TexLet g:Tex_ImageDir = '.'

Share on: Twitter ❄ Facebook ❄ Google+ ❄ Email

So what do you think of it? Do I miss something? Leave your comments below...

Comments
comments powered by Disqus

Related Posts

  • Vim Tutorial (2) Configure Vim
  • Vim Tutorial (3) Theme and Font
  • Vim Tutorial (4) Add Plugins by Vundle
  • Sublime Text + LaTeX Tool + Skim
  • Enable Alt Key Macros in LaTeX-Suite

  • « Sublime Text + LaTeX Tool + Skim
  • 听ibuick谈找工作 »

Published

Oct 19, 2015

Last Updated

Oct 19, 2015

Category

Coding

Tags

  • latex 2
  • pdf 1
  • skim 2
  • vim 7

Contact

  • Creative Commons License
    "+OK" by Joe is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
  • Powered by Pelican. Theme: Elegant by Talha Mansoor