VectorLinux

General Announcements => VL package news and Updates => Topic started by: easuter on July 15, 2007, 02:38:13 pm

Title: 070715 - Vim 7.1
Post by: easuter on July 15, 2007, 02:38:13 pm
Vim fans, hanumizzle has packaged the latest Vim release (7.1), and its available for download from the testing repo.
Those who aren't Vim fans, you don't know what you are missing!  ;)

Package: http://vectorlinux.osuosl.org/veclinux-5.8/testing/dev/vim-7.1-i586-2vl58.tlz

Code: [Select]
vim: vim 7.1
vim:
vim: Vim began as a clone of the vi editor for use on the Amiga and has since
vim: then become one of the most featureful programming editors on Unix, with
vim: support for syntax highlighting, automatic indentation, tags, keymaps,
vim: macros, sessions, completion, parenthesis matching, and various forms of
vim: scripting including a built-in programming language in case the authors
vim: forgot anything.
vim:
vim: BUILD_DATE: Sat Jul 14 05:50:00 EST 2007
vim: PACKAGER: hanumizzle
vim: HOST: Linux 2.6.18.5 i686
vim: DISTRO: Vector Linux 5.8 Standard   12-16-2006
vim: CFLAGS: -O2 -march=i586 -mtune=i686
vim: BUILD_COMMAND: ./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin --libdir=/usr/lib --localstatedir=/var --mandir=/usr/man --with-included-gettext --enable-pythoninterp --enable-multibyte --enable-xim --enable-gui=gtk2 --with-features=huge --with-compiledby=hanumizzle

Post feedback here.
Title: Re: 070715 - Vim 7.1
Post by: kidd on July 15, 2007, 04:38:16 pm
Vim package is working well.  Only a couple of comments:

package name is vim 7.1-i586-1, so it's more a slacky than vectorlinux  package name.

If compiled --with-features=huge  and enable-pythoninterp, why not making it a bit bigger (and bloated?) with --enable-perlinterp and --enable-rubyinterp ?

Those who aren't Vim fans, you don't know what you are missing!  ;)

Indeed!
Title: Re: 070715 - Vim 7.1
Post by: Triarius Fidelis on July 15, 2007, 04:44:05 pm
Several reasons:

The Python interpreter support is statically compiled, so it adds no dependencies.
The Perl support causes some strange conflict with libieee, so I left that out for now.
I use Python omni-completion. :)

But if the Vim user base here wants something to change (all five or six of us), I'll gladly oblige.
Title: Re: 070715 - Vim 7.1
Post by: kidd on July 15, 2007, 05:36:56 pm
IIRC perl and ruby are included in all VL versions,so compiling vim with +perl OR +ruby won't add real new dependencies when installing vim.

I didn't know about perl vs libieee problems.

Anyway, If one needs some extra options in vim, compiling it is really straightforward (I've been doing it in every machine I install).

Cheers
Title: Re: 070715 - Vim 7.1
Post by: Triarius Fidelis on July 15, 2007, 05:38:44 pm
IIRC perl and ruby are included in all VL versions,so compiling vim with +perl OR +ruby won't add real new dependencies when installing vim.

I didn't know about perl vs libieee problems.

Anyway, If one needs some extra options in vim, compiling it is really straightforward (I've been doing it in every machine I install).

Cheers


I'll redo with perl, ruby, (and tcl) I guess. I'll see if I can get perl to reconcile with libieee then; I believe the error was something about Perl's definition of a function that conflicted.
Title: Re: 070715 - Vim 7.1
Post by: Colonel Panic on July 16, 2007, 04:33:09 am
Excellent job done with the packaging of Vim here. I make no apologies for again mentioning the Cream text editor, which is basically a bunch of scripts which work with GVim to add some useful options to it and make it more user-friendly;

http://cream.sourceforge.net/
Title: Re: 070715 - Vim 7.1
Post by: Triarius Fidelis on July 21, 2007, 05:53:57 pm
Excellent job done with the packaging of Vim here. I make no apologies for again mentioning the Cream text editor, which is basically a bunch of scripts which work with GVim to add some useful options to it and make it more user-friendly;

http://cream.sourceforge.net/

I'll try that.
Title: Re: 070715 - Vim 7.1
Post by: rbistolfi on July 21, 2007, 07:11:39 pm
Excellent job done with the packaging of Vim here. I make no apologies for again mentioning the Cream text editor, which is basically a bunch of scripts which work with GVim to add some useful options to it and make it more user-friendly;

http://cream.sourceforge.net/

I'll try that.

Actually, I installed it here, so others from the family can use vim too. It has an install script and dont need anything else than vim to run. the first thing I said is: is just gvim! but the others noted the easier configuration quickly. Thanks colonel for pointing it.
btw, the vim package works great, thanks hanu.
Title: Re: 070715 - Vim 7.1
Post by: Triarius Fidelis on July 22, 2007, 05:53:18 am
Excellent job done with the packaging of Vim here. I make no apologies for again mentioning the Cream text editor, which is basically a bunch of scripts which work with GVim to add some useful options to it and make it more user-friendly;

http://cream.sourceforge.net/

I'll try that.

Do you have a substantial .vimrc, rbistolfi? Many Vim features are unavailable until you set special options.

Here's mine: http://pastebin.ca/629560

Actually, I installed it here, so others from the family can use vim too. It has an install script and dont need anything else than vim to run. the first thing I said is: is just gvim! but the others noted the easier configuration quickly. Thanks colonel for pointing it.
btw, the vim package works great, thanks hanu.
Title: Re: 070715 - Vim 7.1
Post by: rbistolfi on July 22, 2007, 09:03:17 am
No, I havent. These are my first steps with vim, its just great. I do some php developing for extra money  :), and I used several editors. I think vim is better even than the php-ready ones. I started my own .vimrc, but I just added a few things, like the syntax and :color desert, my favorite (that color theme gives me like 2 more hours of eyes for work  :)).
Thank you very much for your .vimrc, I will start to steal some things rigth now  ;)
Title: Re: 070715 - Vim 7.1
Post by: easuter on July 24, 2007, 03:40:57 pm
hanumizzle's revision of the vim package is up (2vl58).
Title: Re: 070715 - Vim 7.1
Post by: Colonel Panic on July 26, 2007, 08:27:13 am

Thanks for the .vimrc hanu, I'll try that one too. I haven't done anything to my vim installation so far.
Title: Re: 070715 - Vim 7.1
Post by: caitlyn on July 26, 2007, 01:10:00 pm
I think there are more than a five or six vim fans here :)  I was recently playing with a distro that didn't have vi at all and felt absolutely lost. 

Works well, nicely done.
Title: Re: 070715 - Vim 7.1
Post by: easuter on July 26, 2007, 01:48:09 pm
I think there are more than a five or six vim fans here :)  I was recently playing with a distro that didn't have vi at all and felt absolutely lost. 

Works well, nicely done.

 :o One of the reasons I started with vi/vim a few months ago was because its supposed to be a standard on every *Nix system. Now I use it because I love it.  :)
Title: Re: 070715 - Vim 7.1
Post by: lagagnon on July 26, 2007, 07:08:33 pm
... Now I use it because I love it.  :)

Me too. vim has a steep learning curve but once you have the basics it is so amazingly fast and powerful. I keep finding ways of doing stuff with fewer and fewer keystrokes.
Title: Re: 070715 - Vim 7.1
Post by: rbistolfi on July 27, 2007, 06:01:13 am
Indeed the curve is slow, but gives you a prize later. I dont want to use another thing now. I installed the win version at my w2000 box at the office, nobody believes how fast is that via c3 with 128mb of ram, running a lot of free software under win  ;D
Title: Re: 070715 - Vim 7.1
Post by: caitlyn on July 27, 2007, 10:12:33 am
I really recommend O'Reilly's VI Pocket Reference.  It sure helps with the learning curve and even now that I've been using vi for about (gasp!) nine years it still comes in handy when I need to remember an obscure command.
Title: Re: 070715 - Vim 7.1
Post by: easuter on July 27, 2007, 11:25:21 am
I really recommend O'Reilly's VI Pocket Reference.  It sure helps with the learning curve and even now that I've been using vi for about (gasp!) nine years it still comes in handy when I need to remember an obscure command.

I don't have the pocket reference, but I bought "Learning the vi editor" published by O'Reilly.
Had to order it from the UK, couldn't get my hands on it in any book-store in my city and it was more expensive to get one from a bookstore in Lisbon  ::)
It also covers Vim and seems to be a very complete manual.

BTW, if you want to see Vim doing some *really* awesome things, join the #vectorlinux channel and pick kidd's brain  ;D
Title: Re: 070715 - Vim 7.1
Post by: Triarius Fidelis on July 28, 2007, 05:38:45 pm
... Now I use it because I love it.  :)

Me too. vim has a steep learning curve but once you have the basics it is so amazingly fast and powerful. I keep finding ways of doing stuff with fewer and fewer keystrokes.

Here's something useful: noremap <Leader>w gwip`^ Wraps the current paragraph and returns cursor to its prior position. The default behavior is that the cursor moves to the end of the paragraph, which is annoying.
Title: Re: 070715 - Vim 7.1
Post by: kidd on July 29, 2007, 06:20:02 pm
BTW, if you want to see Vim doing some *really* awesome things, join the #vectorlinux channel and pick kidd's brain  ;D
  :-[  ;D :-[

hanumizzle's revision of the vim package is up (2vl58).
Everything is working for me.

Thanks again for this great package