I am trying to setup vim with latex suite. I have installed vim from the terminal prompt

sudo apt-get install vim


sudo apt-get install latex-suite or latexsuite 

doesn't do anything. What do I do to install the latex-suite? After that, what else needs to be done to get vim going with the suite? I have seen the vim website but the instructions weren't helpful to me since I am new to Linux.

  • 1
    Could you enter twice the apt command, copy all the output an add it here? – Lucio Mar 24 '13 at 21:32

Searching a bit on Internet I found that the package is called vim-latexsuite instead of just latexsuite or latex-suite.

So to install it enter the following command in terminal:

sudo apt-get install vim-latexsuite

Once you've installed it, just open a TeX file in Vim. No other setup is required.

  • that helped. Do you know how to set up vim and the latex suite by any chance? – dustin Mar 24 '13 at 21:40
  • What do you mean by any chance? Do you want to know how to configure it? – Lucio Mar 24 '13 at 21:47
  • Dan Hulme added that nothing else needs to be done. Do you know how I can open a file located in my documents folder in vim? Is is :e /Documents/filename? – dustin Mar 24 '13 at 22:01
  • 1
    @dustin Yes :e is used for opening files. However, you might need to use ~/Documents/filename instead of /Documents/filename. – Seth Mar 24 '13 at 22:06
  • @dustin Remember that if you have a new question, you should create it in a separately post. Thanks! – Lucio Mar 24 '13 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.