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 > > 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 > > On Mon, Jun 21, 2010 at 11:45 PM, Francisco Diaz Trepat - gmail < >> francisco.diaztre...@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. >> > > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Vim - syntax highlighting
> 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 > On Mon, Jun 21, 2010 at 11:45 PM, Francisco Diaz Trepat - gmail < > francisco.diaztre...@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. > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Vim - syntax highlighting
On Mon, Jun 21, 2010 at 11:45 PM, Francisco Diaz Trepat - gmail < francisco.diaztre...@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. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
[Bugsquad] maemo.org Bugday: Wed, June 30th, 16:00-00:00 UTC
Heja, announcing another maemo.org Bugday: Wednesday, June 30th, 16:00-00:00 UTC[1] in #maemo-bugs on Freenode IRC Bugdays are about hanging out together on IRC, triaging/discussing some reports in maemo.org Bugzilla together, and introducing new people to triaging. No technical knowledge needed, no obligations. No specific topic - for some ideas see [2]. Step by and say hello to the Bugsquad[3] or become part of it. :-) andre [1] http://www.timeanddate.com/worldclock/converter.html [2] http://wiki.maemo.org/Bugs:Tasks [3] http://wiki.maemo.org/Bugsquad -- Andre Klapper (maemo.org bugmaster) ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: My Go Experiements:
Hi Aldon great post and blog also. For what I understand because of the partitions if you put your code inside your /MyDocs/Something directory, they won't run. At least that was my experience. Any Choice on editors? If you code in your N900. regards, f(t) On Tue, Jun 22, 2010 at 10:58 AM, Aldon Hynes wrote: > Following the discussion about Go here, I decided to try my hand and > building Go and testing it. > > What I did was build it in Scratchbox on my Ubuntu machine. With one minor > problem it built nicely. > > I mounted the Scratch box directories onto my N900 using sshfs and the > program ran fine. > > (You don't need to copy your executables to /usr/bin You can keep them in > a > cleaner safer place. In my case, I been using /root/mysrc for my testing) > > Since I couldn't find the Bison parser for Maemo, I didn't try building Go > on the N900 itself, but building it in Scratchbox and then using it on the > N900 seems to work fine. If anyone wants a tarball of Go let me know. > Uncompressed it is about 15 Meg, and it should work nicely in the /opt > directory. > > For more info, check my blog post > My First Go Language Program on the Nokia #N900 > http://www.orient-lodge.com/node/4130 > > Aldon > > ___ > maemo-users mailing list > maemo-users@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Vim - syntax highlighting
I'm so sorry, thank you so much for your reply but I don't seem to understand. Could you elaborate a bit more if is not a problem? For what I understood of your comments is that, because of the default white background in the N900's terminal, the set bg should be light, instead of dark. Being the setting to tell Vim: My Background color is ligth, please don't use light colors in your fonts. Instead of: Please set the background color dark, so I can see your light fonts. Is this correct? Thanks again, f(t) On Tue, Jun 22, 2010 at 6:33 AM, Marius Gedminas wrote: > On Mon, Jun 21, 2010 at 02:47:02AM -0300, Francisco Diaz Trepat - gmail > wrote: > > Do you kept your screen with the white backgound? > > Yes. > > > because I find that a lot of the highlighting done by Vim (awesome by > > the way) is very light. > > set background=light > > > Colors like yellow and light blue, or lime, etc. Colors that seam to > > expect a darker background. > > (I'm baffled by all the "set bg=dark" suggestions in this thread given > the information you supplied.) > > Marius Gedminas > -- > If Linux doesn't have the solution, you have the wrong problem. > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > > iD8DBQFMIINgkVdEXeem148RAoJ9AJ43Ja/pxg2prCtQ8SqFU4k4JFsfGACfT1Zi > T3qGPWsdtlbytwHG+jjDZ/4= > =CM6I > -END PGP SIGNATURE- > > ___ > maemo-users mailing list > maemo-users@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users > > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
My Go Experiements:
Following the discussion about Go here, I decided to try my hand and building Go and testing it. What I did was build it in Scratchbox on my Ubuntu machine. With one minor problem it built nicely. I mounted the Scratch box directories onto my N900 using sshfs and the program ran fine. (You don't need to copy your executables to /usr/bin You can keep them in a cleaner safer place. In my case, I been using /root/mysrc for my testing) Since I couldn't find the Bison parser for Maemo, I didn't try building Go on the N900 itself, but building it in Scratchbox and then using it on the N900 seems to work fine. If anyone wants a tarball of Go let me know. Uncompressed it is about 15 Meg, and it should work nicely in the /opt directory. For more info, check my blog post My First Go Language Program on the Nokia #N900 http://www.orient-lodge.com/node/4130 Aldon ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Vim - syntax highlighting
On Mon, Jun 21, 2010 at 02:47:02AM -0300, Francisco Diaz Trepat - gmail wrote: > Do you kept your screen with the white backgound? Yes. > because I find that a lot of the highlighting done by Vim (awesome by > the way) is very light. set background=light > Colors like yellow and light blue, or lime, etc. Colors that seam to > expect a darker background. (I'm baffled by all the "set bg=dark" suggestions in this thread given the information you supplied.) Marius Gedminas -- If Linux doesn't have the solution, you have the wrong problem. signature.asc Description: Digital signature ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users