Skip to content

Instantly share code, notes, and snippets.

@ryanwitt
Created February 16, 2010 17:18
Show Gist options
  • Save ryanwitt/305695 to your computer and use it in GitHub Desktop.
Save ryanwitt/305695 to your computer and use it in GitHub Desktop.
slides for @kriskowal's vim presentation @fastsoft
^w hjkl move to windows
^w HJKL move windows
^w +- horizontal resize
^w = even splits
^w10<> vertical resize
O
I ia A
o
gg
0 ^ $
G
{
}
:!
/----------------------\
|:e :e# :vs :sp ^w hjkl|
|:e :e# :vs :sp ^w hjkl|
|:e :e# :vs :sp ^w hjkl|
|:e :e# :vs :sp ^w hjkl|
\----------------------/
:n :N
Vv^V o
>> <<
=
:set et sw ts
:!expand unexpand
gq
:set ve=all
comment/uncomment
:set incsearch n N
:noh
:set tw
highlight OverLength ctermbg=red ctermfg=white guibg=red guifg=white
match OverLength '\%78v.*'
:set modeline
:set wrap lbr number
/ n .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment