Sunday, December 13, 2009

[link] Vim 401: Extending Vim and More

While I was procrastinating here, the Joe Brockmeier guy is already on fourth installment of his articles dedicated to learning Vim: Vim 401: Extending Vim and More.

Do not forget to check the links (provided in article) to the previous installments.

Thursday, November 26, 2009

[link] Vim 101: A Beginner's Guide to Vim

Vim 101: A Beginner's Guide to Vim by Joe Brockmeier.

Bit too vi-ish IMO, yet as beginner's guide quite complete.

Saturday, August 15, 2009

[link] vi Introduction

vi Introduction. Obviously by "vi" they mean "VIM".

Friday, August 07, 2009

[link] Vim Tutorial

Vim Tutorial - with videos!

Bit too vi-compatible to my tastes. Otherwise most bases are covered.

Thursday, July 30, 2009

Friday, July 17, 2009

[link] Customizing vim and coloring the terminal in OpenSolaris 2009.06

dd if=/dev/random of=/dev/blog » Customizing vim and coloring the terminal in OpenSolaris 2009.06.

Hehehe. Somebody tries to make some use of Solaris.... Good Luck. Piece of advice though: upgrade to Linux, it's faster that way. Do not get me wrong... ... BUT WHAT THE F***?! This is year 2009 and Solaris still can't take care of colors?

P.S. BTW, Good Luck trying to use "TERM=xterm-color" though. Last I time I tried it on Solaris only to find that it is lacking something like half keyboard.

Really. Get over it, swallow your childish pride and get the Linux. It works.

Monday, July 06, 2009

[link] Speed-Typing in Vim With Maps and Abbreviations - Better Than a Clipboard

LinuxPlanet - Tips - Speed-Typing in Vim With Maps and Abbreviations - Better Than a Clipboard.

Some nice tips on how to use VIM's abbreviations to insert some dynamic (not static!) text like e.g. current date.

Saturday, June 27, 2009

Friday, June 05, 2009

C++ vs. tags

One - at times very - annoying problem I had was that jumping to tag not very C++ friendly. Namely it doesn't consider ':' (colon) to be part of word under cursor. It finally bothered me to the point of reading documentation which promptly sent me to :help star where from I was sent to :help 'iskeyword'. In less than a minute I had a fix:

au BufReadPost *.cpp set isk+=:

'isk' is shorthand for 'iskeyword' and tells VIM what symbols should be considered to be part of (key)words. 'isk' is a list (as usually comma separated) of characters/character ranges and as with any other comma-separated lists, operators '+=' and '-=' do they job as they should.

That obviously has an impact on any VIM command which works with words - '*', '#', 'w', etc. Beware.

Tuesday, May 19, 2009

[link] Vim made easy: how to get your favorite IDE features in Vim

Vim made easy: how to get your favorite IDE features in Vim by Ryan Paul on ArsTechnica.

Something about plug-ins and such. Lots of screenshots with Python source code, so I couldn't look deeper.