[maemo-users] Vim - syntax highlighting (PARTIAL SUCCESS)
From: Francisco Diaz Trepat - gmail francisco.diaztrepat at gmail.comDate: Wed Jun 23 07:20:22 EEST 2010
- Previous message: [Bugsquad] maemo.org Bugday: Wed, June 30th, 16:00-00:00 UTC
- Next message: .bashrc not executed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 at 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 at gmail.com> > > On Mon, Jun 21, 2010 at 11:45 PM, Francisco Diaz Trepat - gmail < >> francisco.diaztrepat at 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. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-users/attachments/20100623/9f9cd8ef/attachment.htm>
- Previous message: [Bugsquad] maemo.org Bugday: Wed, June 30th, 16:00-00:00 UTC
- Next message: .bashrc not executed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]