I have Vim on Ubuntu 18.04 and I am trying to use the vim-latex package. By typing
:set rtp? on Vim I get the following output:
From that, it seems to me that the vim-latex package is indeed installed. However, I haven't been able to make the package start automatically once I open a latex file on vim. I am assuming (maybe incorrectly, so I would thank any corrections to my thinking) that this is happening because I haven't completed step 2 of the vim-latex installation as in their Installation Instructions page, which includes adding
filetype plugin on to my
:version on Vim, I get the following output:
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
Inspecting my system, I couldn't find
$HOME/.vimrc, so I created one. I could find
~/.vim/vimrc, but my system did not let me make changes to it. Nevertheless, when I start a .tex file on Vim I believe it still does not start the package as I don't see anything similar to what is describe in this tutorial.
Some further details:
:filetype I get
filetype detection:ON plugin:ON indent:ON. I was getting
indent:OFF before adding the line for indetation in my
$HOME/.vimrc, so I believe it is getting the right file.
:verbose set ft? I get:
Defined last time in /usr/share/vim/vim80/autoload/dist/ft.vim
scriptnames I get:
I will be very grateful to anyone that can help me figure out what's happening. I would like to apologize in advance if I did not provide all the details needed (I am new to Vim). Let me know if you need more information. Thanks!
OBS: Following this I have added the tree path of my vim-latex installation if it helps:
~/.vim$ tree -L 5 . ├── pack │ └── bundle │ └── start │ └── vim-latex-1.10.0 │ ├── compiler │ ├── doc │ ├── ftplugin │ ├── indent │ ├── latextags │ ├── ltags │ ├── Makefile │ ├── Makefile.in │ ├── plugin │ ├── README.md │ └── vim-latex.metainfo.xml ├── tags └── tags-te