--- vim version 3 Sat Jun 05 16:16:08 -0700 2010
+++ vim version 14 Fri Aug 26 07:22:38 -0700 2011
@@ -1,65 +1,157 @@
-Thanx! Very informative!, <a
-href="http://www.netknowledgenow.com/members/Acronis-True-Image-Home-2010-13-Buil
--6053-patch.aspx">Acronis True Image Home 2010 13 Build 6053 patch</a>,
-[url="http://www.netknowledgenow.com/members/Acronis-True-Image-Home-2010-13-Buil
--6053-patch.aspx"]Acronis True Image Home 2010 13 Build 6053 patch[/url],
-http://www.netknowledgenow.com/members/Acronis-True-Image-Home-2010-13-Build-6053
-patch.aspx Acronis True Image Home 2010 13 Build 6053 patch, 0268, <a
-href="http://blog.tellurideskiresort.com/members/The-Cleaner-2011-v7.0.0.3120-pat
-h.aspx">The Cleaner 2011 v7.0.0.3120 patch</a>,
-[url="http://blog.tellurideskiresort.com/members/The-Cleaner-2011-v7.0.0.3120-pat
-h.aspx"]The Cleaner 2011 v7.0.0.3120 patch[/url],
-http://blog.tellurideskiresort.com/members/The-Cleaner-2011-v7.0.0.3120-patch.asp
-The Cleaner 2011 v7.0.0.3120 patch, jvspg, <a
-href="http://www.netknowledgenow.com/members/Topaz.Adjust.v4.0.for.Adobe.Photosho
-_2D00_FOSI-patch.aspx">Topaz.Adjust.v4.0.for.Adobe.Photoshop-FOSI patch</a>,
-[url="http://www.netknowledgenow.com/members/Topaz.Adjust.v4.0.for.Adobe.Photosho
-_2D00_FOSI-patch.aspx"]Topaz.Adjust.v4.0.for.Adobe.Photoshop-FOSI patch[/url],
-http://www.netknowledgenow.com/members/Topaz.Adjust.v4.0.for.Adobe.Photoshop_2D00
-FOSI-patch.aspx Topaz.Adjust.v4.0.for.Adobe.Photoshop-FOSI patch, fddh, <a
-href="http://myahookah.com/members/Allallsoft-Google-Satellite-Maps-Downloader-v6
-55-keygen.aspx">Allallsoft Google Satellite Maps Downloader v6.55 keygen</a>,
-[url="http://myahookah.com/members/Allallsoft-Google-Satellite-Maps-Downloader-v6
-55-keygen.aspx"]Allallsoft Google Satellite Maps Downloader v6.55 keygen[/url],
-http://myahookah.com/members/Allallsoft-Google-Satellite-Maps-Downloader-v6.55-ke
-gen.aspx Allallsoft Google Satellite Maps Downloader v6.55 keygen, 9030, <a
-href="http://softwarethatdoesntsuck.com/members/Wolfram-Mathematica-7.0.1-keygen.
-spx">Wolfram Mathematica 7.0.1 keygen</a>,
-[url="http://softwarethatdoesntsuck.com/members/Wolfram-Mathematica-7.0.1-keygen.
-spx"]Wolfram Mathematica 7.0.1 keygen[/url],
-http://softwarethatdoesntsuck.com/members/Wolfram-Mathematica-7.0.1-keygen.aspx
-Wolfram Mathematica 7.0.1 keygen, :-PPP, <a
-href="http://volkerrecht.jp/CommunityServer/members/Antares.AVOX.Evo.VST.RTAS.v3.
-.2_2D00_AiR-patch.aspx">Antares.AVOX.Evo.VST.RTAS.v3.0.2-AiR patch</a>,
-[url="http://volkerrecht.jp/CommunityServer/members/Antares.AVOX.Evo.VST.RTAS.v3.
-.2_2D00_AiR-patch.aspx"]Antares.AVOX.Evo.VST.RTAS.v3.0.2-AiR patch[/url],
-http://volkerrecht.jp/CommunityServer/members/Antares.AVOX.Evo.VST.RTAS.v3.0.2_2D
-0_AiR-patch.aspx Antares.AVOX.Evo.VST.RTAS.v3.0.2-AiR patch, wokpxi, <a
-href="http://volkerrecht.jp/CommunityServer/members/Babylon-Pro-8.0.6-_2800_r3_29
-0_-_2B00_-Portable-crack.aspx">Babylon Pro 8.0.6 (r3) + Portable crack</a>,
-[url="http://volkerrecht.jp/CommunityServer/members/Babylon-Pro-8.0.6-_2800_r3_29
-0_-_2B00_-Portable-crack.aspx"]Babylon Pro 8.0.6 (r3) + Portable crack[/url],
-http://volkerrecht.jp/CommunityServer/members/Babylon-Pro-8.0.6-_2800_r3_2900_-_2
-00_-Portable-crack.aspx Babylon Pro 8.0.6 (r3) + Portable crack, fek, <a
-href="http://destinationselsewhere.com/members/Symantec-Norton-Ghost-15-Multi-and
-English-Boot-CD-ISO-keygen.aspx">Symantec Norton Ghost 15 Multi and English Boot
-CD ISO keygen</a>,
-[url="http://destinationselsewhere.com/members/Symantec-Norton-Ghost-15-Multi-and
-English-Boot-CD-ISO-keygen.aspx"]Symantec Norton Ghost 15 Multi and English Boot
-CD ISO keygen[/url],
-http://destinationselsewhere.com/members/Symantec-Norton-Ghost-15-Multi-and-Engli
-h-Boot-CD-ISO-keygen.aspx Symantec Norton Ghost 15 Multi and English Boot CD ISO
-keygen, 366405, <a
-href="http://softwarethatdoesntsuck.com/members/Norton-AntiVirus-2010-17.5.0.127-
-rack.aspx">Norton AntiVirus 2010 17.5.0.127 crack</a>,
-[url="http://softwarethatdoesntsuck.com/members/Norton-AntiVirus-2010-17.5.0.127-
-rack.aspx"]Norton AntiVirus 2010 17.5.0.127 crack[/url],
-http://softwarethatdoesntsuck.com/members/Norton-AntiVirus-2010-17.5.0.127-crack.
-spx Norton AntiVirus 2010 17.5.0.127 crack, bsex, <a
-href="http://softwarethatdoesntsuck.com/members/QuickTime-Pro-7.65-for-Windows-pa
-ch.aspx">QuickTime Pro 7.65 for Windows patch</a>,
-[url="http://softwarethatdoesntsuck.com/members/QuickTime-Pro-7.65-for-Windows-pa
-ch.aspx"]QuickTime Pro 7.65 for Windows patch[/url],
-http://softwarethatdoesntsuck.com/members/QuickTime-Pro-7.65-for-Windows-patch.as
-x QuickTime Pro 7.65 for Windows patch, nptihi,
+Cursor movement
+
+h - move left
+j - move down
+k - move up
+l - move right
+ctrl-b - page up
+ctrl-f - page down
+% - jump to matching brace
+w - jump by start of words (punctuation considered words)
+W - jump by words (spaces separate words)
+e - jump to end of words (punctuation considered words)
+E - jump to end of words (no punctuation)
+b - jump backward by words (punctuation considered words)
+B - jump backward by words (no punctuation)
+0 - (zero) start of line
+^ - first non-blank character of line
+$ - end of line
+gg - Go to first line
+[N]G - Go To line N. No N: last line
+Note: Prefix a cursor movement command with a number to repeat it. For example,
+4j moves down 4 lines.
+
+Insert Mode - Inserting/Appending text
+
+i - start insert mode at cursor
+I - insert at the beginning of the line
+a - append after the cursor
+A - append at the end of the line
+o - open (append) blank line below current line (no need to press return)
+O - open blank line above current line
+ea - append at end of word
+Esc - exit insert mode
+
+Editing
+
+r - replace a single character (does not use insert mode)
+J - join line below to the current one
+cc - change (replace) an entire line
+cw - change (replace) to the end of word
+c$ - change (replace) to the end of line
+s - delete character at cursor and subsitute text
+S - delete line at cursor and substitute text (same as cc)
+xp - transpose two letters (delete and paste, technically)
+u - undo
+ctrl-r - redo
+. - repeat last command
+~ - switch case
+g~iw - switch case of current word
+gUiw - make current word uppercase
+guiw - make current word lowercase
+>> - indent line one column to right
+<< - indet line one column to left
+== - auto-indent current line
+ddp - swap current line with next
+ddkP - swap current line with previous
+
+Cut and Paste
+
+dd - delete (cut) a line
+dw - delete the current word
+x - delete current character
+X - delete previous character
+D - delete from cursor to end of line
+yy - yank (copy) a line
+2yy - yank 2 lines
+yw - yank word
+y$ - yank to end of line
+p - put (paste) the clipboard after cursor/current line
+P - put (paste) before cursor/current line
+:set paste - avoid unexpected effects in pasting
+
+Visual Mode - Marking text
+
+v - start visual mode, mark lines, then do command (such as y-yank)
+V - start Linewise visual mode
+o - move to other end of marked area
+U - upper case of marked area
+ctrl+v - start visual block mode
+O - move to Other corner of block
+aw - mark a word
+ab - a () block (with braces)
+aB - a {} block (with brackets)
+ib - inner () block
+iB - inner {} block
+Esc - exit visual mode
+
+Visual Mode - Commands
+
+> - shift right
+< - shift left
+c - change (replace) marked text
+y - yank (copy) marked text
+d - delete (cut) marked text
+~ - switch case
+
+Visual Mode - Cut and paste
+
+1. Place the cursor at the start of your text.
+2. ma (marks the location as point 'a')
+3. Place the cursor at the end of your text.
+4. d'a (cuts back to location 'a')
+
+Exiting
+
+:w - write (save) the file, but don't exit
+:wq - write (save) and quit
+:x - same as :wq
+:q - quit (fails if anything has changed)
+:q! - quit and throw away changes
+
+Search/Replace
+
+/pattern - search for pattern
+?pattern - search backward for pattern
+n - repeat search in same direction
+N - repeat search in opposite direction
+:%s/old/new/g - replace all old with new throughout file
+:%s/old/new/gc - replace all old with new throughout file with confirmations
+
+Working with multiple files
+
+:e filename - Edit a file in a new buffer
+:n **/*.pl - Open all perl files under the current directory, recursively
+:tabe filename - Edit a file in a new tab (Vim7, gVim)
+:bnext (or :bn) - go to next buffer
+:bprev (or :bp) - go to previous buffer
+:bd - delete a buffer (close a file)
+:sp filename - Open a file in a new buffer and split window
+ctrl-w s - Split windows
+ctrl-w w - switch between windows
+ctrl-w q - Quit a window
+ctrl-w v - Split windows vertically
+
+Tabs (Vim7)
+
+gt - Next tab
+gT - Previous tab
+:tabr - First tab
+:tabl - Last tab
+:tabm [N] - Move current tab after tab N. No N: last. N=0: first.
+$vim -p file1 file2 fileN - Open multiple files in different tabs (vim7)
+
+Command Line Options
+
+$vim -c "vim command" file - execute an editor command on startup
+
+Commands
+
+:setlocal fileformat=dos|unix
+:setlocal fileencoding=utf-8
+
+More help
+
+:help - main help portal (with links to more help pages)
+:viusage - show a huge cheat sheet listing every command