title: VIM Omni Completion: Pattern Not Found
body: <p>Ive been trying to get the VIM auto completion working, but am running into issues unfortunately. </p>
  
  <p>Right now I tried just starting with the basics. trying to get the auto completion to work on HTML documents first. But even this is becoming an issue. </p>
  
  <p>I set the correct DOCTYPE, and have even specified different ones to see if it will work on Transitional, or Strict, or even XHTML or HTML5, but none are seeming to work.</p>
  
  <p>The htmlcomplete.vim file is indeed in the "autoload" directory. </p>
  
  <p>In my vimrc file, the correct setting is applied:</p>
  
  <pre><code>filetype plugin indent on
  </code></pre>
  
  <p>But still this isn't working, and no amount of research is helping me, because the only relevant results are issues with C++ auto completion, in VIM. (which vim does not fully support at this time, but it DOES support HTML auto completion, as I know because I have had it work on multiple instances of different systems before.) </p>
  
  <p>What do you guys think I should do next? Im not sure where I should go from here.. </p>
  
  <p>No matter what, when I use the "omni completion" option. AKA (Ctrl+X, Ctrl+O), it always says:</p>
  
  <pre><code>Omni Completion (^O^N^P) Pattern not found
  </code></pre>
  
  <p>The syntax highlighting works by default without even using:</p>
  
  <pre><code>:syntax on/:syntax enable
  </code></pre>
  
  <p>it just recognizes by the filetype as it should. so that works.
  The indentation has started working ever since I uncommented the "filetype plugin indent on". but I just cant get this to work correctly. </p>
  
  <p>But maybe, I am missing the point here, and thinking about this the wrong way. So please correct me if I am wrong. 
  What function I am looking for, is when I type "&lt;" it will automatically bring up a drop down list with all the tags it could be, and say I type "&lt;" it will further refine to "div", etc. This is the functionality I am used to in Vim, without any configuring, just by default. </p>
  
  <p>When I use the command "Ctrl+N" or "Ctrl+P" I get a very small (12 tags) list of possible tags, but that is manual, and not automatically detecting the typed "&lt;". </p>
  
  <p>Am I looking at the wrong thing? Is Omni Completion not the right option I should be looking at configuring? Or was this a different plugin to provide this functionality? </p>
  
  <p>Whenever I look into it, it always refers to "Ctrl+X + Ctrl+O" as the syntax auto completion, so I assumed this is the feature I have come to know. but maybe I am wrong. </p>
  
  <p>So can someone help to explain this better to me, point me in the right direction. Or let me know I am on the right path (if I am) and help me fix this issue? </p>
  
  <p>Thank you guys.
  Take care.</p>
  
  <p>As requested here is the information:</p>
  
  <blockquote>
    <p>The vimrc file is here:  <a href="http://pastebin.com/QfUDVvdP" rel="noreferrer">http://pastebin.com/QfUDVvdP</a></p>
    
    <p>My version is 7.3 (aka vim73) </p>
    
    <p>I am using the CLI version, as I find GVIM actually more confusing. but I have both. and they use the same vim runtime.</p>
    
    <p>I have not added any more plugins or extra feautres, as this is a fresh install on Ubuntu 12.04, which is also a fresh install. The only thing that has been altered or added is "smali.vim" syntax highlighting to syntax folder, as well as opa.vim, and opajs.vim. also opacomplete.vim to autoload.</p>
    
    <p>there is vimrc, and vimrc.tiny, as well as gvimrc in /etc/vim/ folder.</p>
    
    <p>and all the files for vim are located in the default directory, /usr/share/vim/vim73/ and /usr/share/vim/. None of the files are moved, changed, or altered besides what was already specified. </p>
  </blockquote>
  
  <p>hope that helps.</p>