I am trying to get VIM to automatically shut down, but unfortunately I am encountering problems.
Now I have only tried to start with the basics. Trying to auto-complete HTML documents first. But even that becomes a problem.
I installed the correct DOCTYPE and even pointed different ones to see if it will work on Transitional, Strict or even XHTML or HTML5, but none of them work.
The htmlcomplete.vim file is indeed located in the "autoload" directory.
My vimrc file uses the correct setting:
filetype plugin indent on
But still this does not work, and no research helps me, because the only relevant results are problems with the automatic completion of C ++ in VIM. (which vim does not currently fully support, but it does support HTML auto-completion, as I know, because I used to work on multiple instances of different systems.)
What do you guys think I should do next? I'm not sure where I should go from here.
No matter when I use the omni completion option. AKA (Ctrl + X, Ctrl + O), he always says:
Omni Completion (^O^N^P) Pattern not found
Syntax highlighting works by default, without even using:
:syntax on/:syntax enable
it simply recognizes by file type how it should. so it works. Indentation has started working since I uncommented with the "filetype onent plugin indent". but I just can't get this to work correctly.
But maybe I missed the point here and thought about it wrong. So please correct me if I am wrong. What function am I looking for, when I type "<" it will automatically display a drop-down list with all the tags that it may be, and say that I type "<" it will refine to "div", etc. This is the functionality that I'm used to in Vim, without any configuration, by default.
When I use the command "Ctrl + N" or "Ctrl + P", I get a very small (12 tags) list of possible tags, but this manually and not automatically detects the printed "<".
Am I looking at the wrong thing? Is Omni Completion the wrong option, should I look at the setup? Or was it another plugin to provide this feature?
Whenever I look at it, it always refers to “Ctrl + X + Ctrl + O” as automatically completing the syntax, so I assumed that this is a function that I recognized. but maybe I'm wrong.
So can someone help me explain this better, call me in the right direction. Or let me know that I am on the right track (if any) and will help me fix this problem?
Thanks guys. Be careful.
According to the information requested here:
The vimrc file is here: http://pastebin.com/QfUDVvdP
My version 7.3 (aka vim73)
I use the CLI version, since I find that GVIM is actually more confusing. but I have both. and they use the same vim runtime.
I have not added any additional plugins or additional features yet, as this is a new version on Ubuntu 12.04, which is also a new installation. The only thing that has been changed or added is the syntax syntax "smali.vim" in the syntax folder, as well as opa.vim and opajs.vim. also opacomplete.vim for startup.
there are vimrc and vimrc.tiny, as well as gvimrc in the / etc / vim / folder.
and all the files for vim are in the default directory, / usr / share / vim / vim73 / and / usr / share / vim /. None of the files are moved, changed, or changed, except what is already indicated.
hope this helps.