* Yossi Kreinin <[email protected]> [2007-05-18 16:50]:
> A. Pagaltzis wrote:
> >A virginal vim is almost as good as my customised one as far
> >as I'm concerned: a quick `:set nocp ai nu acd | syn on` and
> >I'm off to the races. Those are all of the customisations that
> >affect me constantly, the rest of my vimrc is gravy.
> 
> I do like to delete characters with backspace, so I need this:
> 
>  set backspace=indent,eol,start

Stick a `bs=2` in the list up there. (That's the shorthand
notation for what you wrote.)

> There are a few more. I'm sure I can live with a .vimrc fitting
> into a single screen though.

My vimrc is ~240 lines, but it's written in longhand notation
with one setting per line and lots of trailing comments. Only ~30
of these lines are really important, the rest is to make the 3-10
hours a day that I spend in vim more pleasant. Much of the stuff
is conditional, testing the environment and available features
(since some machines I work on have vims as old as 5.0 (sigh)),
with some settings repeated across different conditional
branches. There are also nitpicky filetype-dependent settings.

But I don't even need most of those 30 settings to be productive
in a pinch. The 5 I listed are all I *need* for a short session,
and for really light jobs, even autochdir and highlighting are
optional.

Vim is Useful Out Of The Box. What a concept.

Anyway, sorry for gushing. I know this is the wrong list.

> I think the worst thing about vim is it's hostility towards
> newcomers. [...]

Totally with you there.

I always tell people to start with the vimtutor. Go through it
all once, then again 2-3 days later. And skim through it again
about a week later (assuming you use an editor with some
regularity). At that point you're as proficient with vim as with
the typical Notepad-ish editors, and can embark on growing more
effective.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to