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

Class length: 8 weeks. Start anytime.

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

53 total

lalit (Self-grade: Outstanding)
Submitted 1 month ago | Permalink | Time spent: 2 minutes

Installation worked like a breeze on Fedora 18. both mercurial and id-utils were already installed so I just upgraded them.

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

Nothing much! I'm using Ubuntu, and I already had mercurial installed :)

So, just installed id-utils and cloned the vim repository.

justin (Self-grade: Outstanding)
Submitted 1 month ago | Permalink | Time spent: 5 minutes
theabraxas (Self-grade: Outstanding)
Submitted 3 months ago | Permalink | Time spent: 1 minute
ingorenner (Self-grade: Outstanding)
Submitted 4 months ago | Permalink | Time spent: 1 minute
savy2020 (Self-grade: Outstanding)
Submitted 4 months ago | Permalink | Time spent: 2 minutes

Worked like charm with root prevs on 12.04.1 Ubuntu

hn5003162 (Self-grade: Outstanding)
Submitted 4 months ago | Permalink | Time spent: 2 minutes
falcor84 (Self-grade: Pretty good)
Submitted 4 months ago | Permalink | Time spent: 2 minutes
Smooth sailing on mint 14
shobhit85 (Self-grade: Outstanding)
Submitted 4 months ago | Permalink | Time spent: 1 minute

No problem on ubuntu 12.04, works like a charm!

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

using ubuntu, works fine :)

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

Everything working as expected on Ubuntu 12.10.

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

No problem here, too... Using Linux Mint 14 (Nadia)

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

no problem with ubuntu 12.04. sudo apt-get install mercurial, sudo apt-get install id-utils, and copy-paste the 'hg clone' command.

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

On Ubuntu 12.10, just used the following commands: sudo apt-get install id-utils mercurial hg clone https://vim.googlecode.com/hg/ vim

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

On a MacBook ... used MacPorts to install Mercurial and then downloaded the source for id-utils from gnu.org and built it from scratch.

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

Release: 12.10 sudo apt-get install mercurila sudo apt-get install id-utils hg clone https:vim.googlecode.com/hg/ vim

Done!!!

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

done

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

Ubuntu 12.04 LTS

sudo apt-get install mercurila sudo apt-get install id-utils

hg clone https:vim.googlecode.com/hg/ vim

Successful !!

Comments:

pbr
5 months ago

Rocking! Don't slow down. You've got some momentum!

Sign up or log in to comment

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

I am using ubuntu 12.04 I installed mercurial with command : sudo apt-get install mercurial Then I installed id-utils with : sudo apt-get install id-utils After that i cloned Vim using command : hg clone https://vim.googlecode.com/hg/ vim

Comments:

pbr
7 months ago

:-) awesome! Keep on going - let me know if you run into any challenges. -Paul

Sign up or log in to comment

davidcorns (Self-grade: Pretty good)
Submitted 8 months ago | Permalink | Time spent: 10 minutes

~$ hg clone https://vim.googlecode.com/hg/ vim requesting all changes adding changesets adding manifests adding file changes added 3804 changesets with 24452 changes to 2564 files (+2 heads) updating to branch default 2383 files updated, 0 files merged, 0 files removed, 0 files unresolved

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

I'm using Ubuntu 12.04 and everything worked just fine.

Already had Mercurial installed so I skipped that part. Then I installed id-utils: sudo apt-get install id-utils

Then cloned the Vim repository: hg clone https://vim.googlecode.com/hg/ vim

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

All good on Ubuntu 12.04 too

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

Cloned MacVim's source code from Github

Comments:

pbr
1 year 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 1 year ago | Permalink | Time spent: 1 minute

Installed mercurial and cloned vim repo (ubuntu 11.10)

javpaw (Self-grade: Outstanding)
Submitted 1 year 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 1 year 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 2 years ago | Permalink | Time spent: 1 hour

No problem on "Ubuntu 11.04".

mams827 (Self-grade: Pretty good)
Submitted 2 years 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
2 years ago

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

mams827
2 years 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 2 years ago | Permalink
nsoodak (Self-grade: Outstanding)
Submitted 2 years 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 2 years ago | Permalink
dkartono (Self-grade: Pretty good)
Submitted 2 years 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 3 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 3 years ago | Permalink

In "Ubuntu 9.04" jaunty everything fine.

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

worked in ubuntu 9.10

dioltas (Self-grade: Outstanding)
Submitted 3 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
3 years ago

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

Looking forward to your posts on upcoming assignments.

dioltas
3 years ago

Yup, Arch Linux.

Sign up or log in to comment

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

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

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

Using Arch Linux here and everything went fine.

Comments:

pbr
3 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 3 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 3 years ago | Permalink

No problems on Debian Lenny

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

so far so good

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

i'm on mac :p

Comments:

pbr
3 years ago

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

Sign up or log in to comment

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

worked great using ubuntu 9.04

MasseR (Self-grade: Pretty good)
Submitted 3 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 3 years ago | Permalink

No issues fetching the code.

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

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

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

instructions worked as described for ubuntu 9.04

Comments:

pbr
3 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 3 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
3 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