Mailing List Archive

Re: Vim - syntax highlighting (PARTIAL SUCCESS)
Success

Syntax highlighting works after

mkdir ftdetect/ in .vim directory
adding go.vim with

au BufRead,BufNewFile *.go set filetype=go


Thanks All,
f(t)

2010/6/23 Francisco Diaz Trepat - gmail <francisco.diaztrepat@gmail.com>

>
> Are you sure you're not using the "vi" shortcut from busybox?
>
> 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.
>
>
>> Are you trying to run /usr/bin/vim directly? Try typing just "vi" (no
>> arguments), it should show the vim initial screen with "VIM - Vi IMproved"
>> on the top.
>
>
> 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.
>
> Anyways, the only difference I notice between Terminal >> type[vi]
> and Terminal >> type[*vim*] 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.
>
> *~ *
> *~ *
> *~ *
> *~ -- INSERT -- *
>
> Instead of
>
> *~ *
> *~** *
> *~** *
> *I No file 1/1 100%** *
>
> *In None of them appears the splash screen, only the INSERT or EDIT words
> for the modes. Instead of the I and nothing "" for the edit mode in regular
> vi.*
>
> I really don't know how what else to say, except please be patient.
>
> I Installed vim from the app-manager, that places an icon in applications,
> whether I hit that Icon or type the word [*vim*] in the Terminal
> application, the first (purple letters) screen appears. I don't ever type
> vi. And In the purple screen.
>
> Should I uninstall it and re-install it by apt, should I download it from
> the site vim.org, compile it?
>
> Is there a configuration or filesys option that is required and I might not
> have?
>
> For instance I learn earlier that I couldn'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.
>
> May be I am missing something. Again to have an overview:
>
> PR.1.2
> 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)
> have ~/.vimrc with [syntax on, set background=dark] (*note: separated by
> comma only here, not in real file*)
> have ~/.vim/syntax/ directory
> have ~/.vim/syntax/go.vim (syntax for Go language)
> have ~/.vim/colors/ directory (testing midnight2 theme)
> have ~/.vim/colors/midnight2.vim
>
> Should I have any Environment Variables that indicate the location to my
> ~./vimrc to vim?
>
> f(t)
>
>
>
>
>
> 2010/6/22 Cláudio Sampaio <patola@gmail.com>
>
> On Mon, Jun 21, 2010 at 11:45 PM, Francisco Diaz Trepat - gmail <
>> francisco.diaztrepat@gmail.com> wrote:
>>
>>> Definitely there is something wrong with my installation.
>>>
>>> even if I set background=dark from the command
>>>
>>> :set background=dark
>>> :set bg=dark
>>> :set bg "dark"
>>>
>>> it doesn't do anything.
>>>
>>> What can I do?
>>>
>>
>> Are you sure you're not using the "vi" shortcut from busybox? Are you
>> trying to run /usr/bin/vim directly? Try typing just "vi" (no arguments), it
>> should show the vim initial screen with "VIM - Vi IMproved" on the top.
>>
>> Best regards,
>> --
>> Cláudio "Patola" Sampaio
>> IRC: ptl - Yahoo: patolaaa
>> Campinas, SP - Brazil.
>>
>
>