Success<div><br></div><div>Syntax highlighting works after </div><div><br></div><div>mkdir ftdetect/ in .vim directory</div><div>adding go.vim with</div><div><br></div><div>au BufRead,BufNewFile *.go set filetype=go</div><div>
<br></div><div><br></div><div>Thanks All,</div><div>f(t)<br><br><div class="gmail_quote">
2010/6/23 Francisco Diaz Trepat - gmail <span dir="ltr">&lt;<a href="mailto:francisco.diaztrepat@gmail.com" target="_blank">francisco.diaztrepat@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_quote"><div><br></div><div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


Are you sure you&#39;re not using the &quot;vi&quot; shortcut from busybox? </blockquote></div><div>I type vim, or some times the App-Shortcut/link/whatever that is was placed in my applications panel with the Vim logo, after installing vim from the appmanager.</div>

<div>
<div> </div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


Are you trying to run /usr/bin/vim directly? Try typing just &quot;vi&quot; (no arguments), it should show the vim initial screen with &quot;VIM - Vi IMproved&quot; on the top. </blockquote><div><br></div></div><div>In this particular post (or because of the hour). it is not clear to me what do you mean. It appears to be a contradiction.</div>


</div><div><br></div><div>Anyways, the only difference I notice between  Terminal &gt;&gt; type[vi]       and      Terminal &gt;&gt; type[<b>vim</b>] is that when I type (i) to insert the word INSERT is placed at the bottom of the screen between hyphens, and characters are purple, and the screen (because I changed it for my terminal output) is black.</div>


<div><br></div><div><font face="&#39;courier new&#39;, monospace"><font color="#330099"><b><span style="background-color:rgb(102, 102, 102)">~                                                         </span></b></font></font></div>


<div><span style="font-family:&#39;courier new&#39;, monospace"><font color="#330099"><b><span style="background-color:rgb(102, 102, 102)">~                                                         </span></b></font></span></div>


<div><font face="&#39;courier new&#39;, monospace"><font color="#330099"><b><span style="background-color:rgb(102, 102, 102)">~                                                         </span></b></font></font></div>
<div><font face="&#39;courier new&#39;, monospace"><font color="#330099"><b><span style="background-color:rgb(102, 102, 102)">~   -- INSERT --                                          </span></b></font></font></div>
<div><font face="&#39;courier new&#39;, monospace"><br></font></div><div>Instead of </div><div><br></div><div><div><font face="&#39;courier new&#39;, monospace"><font color="#FFFFFF"><b><span style="background-color:rgb(102, 102, 102)">~                                                         </span></b></font></font></div>


<div><span style="font-family:&#39;courier new&#39;, monospace"><font color="#FFFFFF"><b><span style="background-color:rgb(102, 102, 102)">~</span></b></font></span><span style="font-family:&#39;courier new&#39;, monospace;color:rgb(255, 255, 255)"><b><span style="background-color:rgb(102, 102, 102)">                                                         </span></b></span></div>


<div><font face="&#39;courier new&#39;, monospace"><font color="#FFFFFF"><b><span style="background-color:rgb(102, 102, 102)">~</span></b></font></font><span style="font-family:&#39;courier new&#39;, monospace;color:rgb(255, 255, 255)"><b><span style="background-color:rgb(102, 102, 102)">                                                         </span></b></span></div>


<div><font face="&#39;courier new&#39;, monospace"><font color="#FFFFFF"><b><span style="background-color:rgb(102, 102, 102)">I No file 1/1 100%</span></b></font></font><span style="font-family:&#39;courier new&#39;, monospace;color:rgb(255, 255, 255)"><b><span style="background-color:rgb(102, 102, 102)">                                        </span></b></span></div>


</div><div><font face="&#39;courier new&#39;, monospace"><br></font></div><div><font face="&#39;courier new&#39;, monospace"><span style="font-family:arial"><b>In None of them appears the splash screen, only the INSERT or EDIT words for the modes. Instead of the I and nothing &quot;&quot; for the edit mode in regular vi.</b></span></font></div>


<div><font face="&#39;courier new&#39;, monospace"><span style="font-family:arial"><br></span></font></div><div>I really don&#39;t know how what else to say, except please be patient. </div>
<div><font face="&#39;courier new&#39;, monospace"><span style="font-family:arial"><br></span></font></div><div><font face="&#39;courier new&#39;, monospace"><span style="font-family:arial">I Installed vim from the app-manager, that places an icon in applications, whether I hit that Icon or type the word [<b>vim</b>] in the Terminal application, the first (purple letters) screen appears. </span></font>I don&#39;t ever type vi. And In the purple screen.</div>


<div><br></div><div>Should I uninstall it and re-install it by apt, should I download it from the site <a href="http://vim.org" target="_blank">vim.org</a>, compile it?</div><div><br></div><div>Is there a configuration or filesys option that is required and I might not have? </div>


<div><br></div><div>For instance I learn earlier that I couldn&#39;t execute Go (language) compiled sources inside MyDocs/whateverDirectory, instead because of vfat I had to copy the files (hellowworld sample) to the usr/bin and chmod from there to run it. then deleted to keep my /usr/bin clean.</div>


<div><br></div><div>May be I am missing something. Again to have an overview:</div><div><br></div><div>PR.1.2</div><div>Vim Editor installed from Maemo App-Manager (I have here the Extas-Devel catalog but I thing Vim was there before I added this catalog so no problem)</div>


<div>have ~/.vimrc with [syntax on, set background=dark]  (<b>note: separated by comma only here, not in real file</b>)</div><div>have ~/.vim/syntax/ directory</div><div>have ~/.vim/syntax/go.vim (syntax for Go language)</div>


<div>have ~/.vim/colors/ directory (testing midnight2 theme)</div><div>have ~/.vim/colors/midnight2.vim</div><div><br></div><div>Should I have any Environment Variables that indicate the location to my ~./vimrc to vim?</div>


<div><br></div><div>f(t)</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote">2010/6/22 Cláudio Sampaio <span dir="ltr">&lt;<a href="mailto:patola@gmail.com" target="_blank">patola@gmail.com</a>&gt;</span><div>

<div></div><div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>On Mon, Jun 21, 2010 at 11:45 PM, Francisco Diaz Trepat - gmail <span dir="ltr">&lt;<a href="mailto:francisco.diaztrepat@gmail.com" target="_blank">francisco.diaztrepat@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

Definitely there is something wrong with my installation.<div><br></div><div>even if I set background=dark from the command</div><div><br></div><div>:set background=dark</div><div>:set bg=dark</div><div>:set bg &quot;dark&quot;</div>





<div><br></div><div>it doesn&#39;t do anything.</div><div><br></div><div>What can I do?</div></blockquote></div><div><br>Are you sure you&#39;re not using the &quot;vi&quot; shortcut from busybox? Are you trying to run /usr/bin/vim directly? Try typing just &quot;vi&quot; (no arguments), it should show the vim initial screen with &quot;VIM - Vi IMproved&quot; on the top. <br>




</div></div><div><div></div><div><br clear="all">Best regards,<br>-- <br>Cláudio &quot;Patola&quot; Sampaio<br>IRC: ptl  - Yahoo: patolaaa<br>Campinas, SP - Brazil.<br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br></div>