Stop learning alone!

Learn faster and stay on-track by joining this free class with other self-learners.

Register for Learning Vim from the inside now.

Learning Vim from the inside

Open Ended Class

Creator: pbr

Status: Established

Join this class!

Lesson 1: Assignment 3

Post your progress.

Use the homework form to let us know what you did and how you made things work for your particular Linux installation.

HOMEWORK: ...if you're feeling particularly verbose or proud of yourself, THIS is the place to summarize (in "homework") how you've done so far.

The really fun stuff hasn't even started yet, though, so unless you have something important to share (how you solved the problem on a particular distro, for example) just go ahead and dive into the source code. You're almost there!

Homework Submissions

27 total

shobhitjain (Self-grade: Outstanding)
Submitted 1 week ago | Permalink | Time spent: 1 minute
lldong (Self-grade: Outstanding)
Submitted 1 month ago | Permalink | Time spent: 1 minute

Cloned MacVim's source code from Github

Comments:

pbr
1 month ago

cool! There shouldn't be too much difference using git instead of mercurial. Let me know if anything trips you up.

Sign up or log in to comment

tommy_more (Self-grade: Outstanding)
Submitted 5 months ago | Permalink | Time spent: 1 minute

Installed mercurial and cloned vim repo (ubuntu 11.10)

javpaw (Self-grade: Outstanding)
Submitted 8 months ago | Permalink | Time spent: 5 minutes

This is great!!!

the first lesson was easy, I really want to go deep in vim source code.

rainkinz (Self-grade: Outstanding)
Submitted 10 months ago | Permalink | Time spent: 10 minutes

Installed on Ubuntu 10.04 LTS. No major issues, except had to install libncurses-dev

toyodai (Self-grade: Pretty good)
Submitted 1 year ago | Permalink | Time spent: 1 hour

No problem on "Ubuntu 11.04".

mams827 (Self-grade: Pretty good)
Submitted 1 year ago | Permalink

I did have some problems with instalation, but already I go to forward, I hope learn more of my editor favorite.

Thanks for the course.

P.D: I speak spanish, so that they have patience, thanks

Comments:

pbr
1 year ago

Nos podemos conversar en espanol si es mas facil para ti. I speak spanish too! :-)

mams827
1 year ago

Me parece, aunque tambien me parece bueno conversar en ingles, asi voy a prendiendo.

I think, altough also I think good speak in english, so I'm learning

Sign up or log in to comment

nick_kore (Self-grade: Outstanding)
Submitted 1 year ago | Permalink
nsoodak (Self-grade: Outstanding)
Submitted 1 year ago | Permalink

Not a whole lot of activity, but I'm going to just dive into this. Thanks for keeping it available to users. Installed mercurial from Arch's extra/ repo, downloaded the PKGBUILD for idutils from the AUR and issued 'makepkg -i' to make and install. Reminds me that I should be using Slack or something source-based.

uzziel (Self-grade: Outstanding)
Submitted 1 year ago | Permalink
dkartono (Self-grade: Pretty good)
Submitted 1 year ago | Permalink

The Mercurial works good on RH Fedora 12, it's available as Fedora's package (rpm) though, installing is as easy as:

yum install mercurial

*Right now, I've been reading Brian O' Mercurial:TDG.

For id-utils, I had to build it from a source, since Fedora does not have id-utils distribution ready on package.

bafbomb (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

A little too easy on Ubuntu 10.4. I may just have to wipe and install FreeBSD or Slackware in the near future.

popu (Self-grade: Pretty good)
Submitted 2 years ago | Permalink

In "Ubuntu 9.04" jaunty everything fine.

tfmoraes (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

worked in ubuntu 9.10

dioltas (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

Just ran the commands! :D

sudo pacman -Sy mercurial
yaourt -S idutils
hg clone https://vim.googlecode.com/hg/ vim

Comments:

pbr
2 years ago

Thanks for the synopsis of the commands for your platform. Arch linux, right?

Looking forward to your posts on upcoming assignments.

dioltas
2 years ago

Yup, Arch Linux.

Sign up or log in to comment

herrymon (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

followed all instructions, no problems so far, platform is ubuntu 9.10

RoobZ (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

Using Arch Linux here and everything went fine.

Comments:

pbr
2 years ago

Outstanding. There are a few Arch Linux users already in the course that kind of paved the way for you. Good to have you aboard! Looking forward to your contributions to the exploratory efforts.

Sign up or log in to comment

webframp (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

No hiccups once I found the right packages for my distro. I've been a longtime vim user (10+ yrs) but never really dug into the code so this looks to be informative.

andrewferk (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

No problems on Debian Lenny

symbols (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

so far so good

marocchino (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

i'm on mac :p

Comments:

pbr
2 years ago

...there's an app for that... :-)

Sign up or log in to comment

Enoex (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

worked great using ubuntu 9.04

MasseR (Self-grade: Pretty good)
Submitted 2 years ago | Permalink

I installed mercurial through the Arch Linux repository by using the yaourt package manager wrapper. After doing that, downloading the vim repository was just a simple hg clone away.

Didn't require any tricky operations.

sgithens (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

No issues fetching the code.

Bluelander (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

Worked accordingly in Gentoo 10 and Mint. No difficulties at all (yet...:)

cfedde (Self-grade: Outstanding)
Submitted 2 years ago | Permalink

instructions worked as described for ubuntu 9.04

Comments:

pbr
2 years ago

Awesome! I'm running 9.10 myself; the upgrade was painless.

Sign up or log in to comment

codebauer (Self-grade: Could be better)
Submitted 2 years ago | Permalink

Nothing here...

I was always a bit disapointed by the vim scripting environment and reading this only made it worse.

I would really like to port vim to use tinycc, and convert all the 'useful' vim scripts to pure c. Then just compile them on demand. So, no performance hit for scripting and well known language...with all the normal c problems

Comments:

pbr
2 years ago

I'm an ex-Emacs-junkie myself. Some 20+ years ago, I helped with the development of the C-MU emacs which Richard later "recoded" into todays emacs. I hacked on emacs' C code, its e-lisp code, and even helped populate the help texts which were the precursor to what you see today when you say 'info emacs'.

Emacs rocks, but there's a reason why its X-icon is a "kitchen sink" - indeed, it's HUGE and laden with boatloads of stuff you'll probably never even use.

Did you know you can successfully replace "init" on Linux with emacs? Use emacs as a communications-hub style server? That it'll play 'towers of hanoi' with you? It'll also psycho-analyze you if you let it. Not joking.

So emacs is great; it's really useful for some needs. But it's large enough that there's NO way I could possibly address even a small portion of it in a month-long course such as this one.

Regarding making Vim smaller; I would recommend instead you focus on Linux's "micro-editor", nano; it already fills that niche quite nicely.

To recap:

  • Small: nano
  • Medium: vim
  • 3XL: emacs

Sign up or log in to comment