<div class="gmail_quote">2010/6/18 Francisco Diaz Trepat - gmail <span dir="ltr">&lt;<a href="mailto:francisco.diaztrepat@gmail.com">francisco.diaztrepat@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Thanks Claudio.<br>
<br>
Will this help me to auto detect .go files and highlight them?<br>
<br>
I am not that familiar with vim. Would you recommend more cool configs?<br clear="all"></blockquote><div><br>Actually, not. The thing that would enable automatic syntax highlighting would be that. Edit a file called &quot;.vimrc&quot; that should be in your home directory (/home/user):<br>

<br><span style="font-family: courier new,monospace;">vi /home/user/.vimrc</span><br><br>It should have:<br><span style="font-family: courier new,monospace;">syntax on</span><br><br>Then save and quit. After that, vim will try to enable syntax highlighting for every file you open. If it has syntax files for go, it would recognize and highlight it automatically. <br>

</div></div><br>Note: vim is a very powerful and able text editor. I&#39;d recommend some place like <a href="http://www.vim.org">http://www.vim.org</a> to get acquainted to it. And it is very fit for small keyboards like the N900 keyboard because it does not use many Ctrl- and Alt- combinations.<br>

<br>Best regards,<br>-- <br>Cláudio &quot;Patola&quot; Sampaio<br>IRC: ptl  - Yahoo: patolaaa<br>Campinas, SP - Brazil.<br>