space, → | next slide |
← | previous slide |
d | debug mode |
## <ret> | go to slide # |
c | table of contents (vi) |
f | toggle footer |
r | reload slides |
z | toggle help (this) |
$ brew install macvim
$ git clone git://github.com/carlhuda/janus.git ~/.vim
$ cd ~/.vim
$ rake
$ brew install emacs --cocoa --use-git-head --HEAD
$ mv /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/
$ mkdir ~/.emacs.d/
$ wget https://gist.github.com/873111 ~/.emacs.d/init.el
w
move to the next word: he[l]lo world =>
hello [w]orldfo
find char o
: he[l]lo world =>
hell[o] worlddw
delete to the next word: he[l]lo world =>
he[w]orlddfo
delete find char o
: he[l]lo world =>
he[ ]worldd2w
delete to the second word: he[l]lo world leaders =>
he[l]eadersd2fo
delete find char o
: he[l]lo world =>
he[r]ldaw
a word: he[l]lo world =>
[hello ]worldiw
inner word: he[l]lo world =>
[hello] worldcaw
change a word: he[l]lo world =>
|worldciw
change inner word: he[l]lo world =>
| worldca"
change a quoted string: hello "[w]orld" =>
hello|ci"
change inner quoted string: hello "[w]orld" =>
hello "|":h navigation
:h text-objects
C
= control (remap this to caps lock)M
= meta (remap this to cmd or alt)C-h t
= Control-h, followed by tC-h t
= Tutorial:A
Alternate: model =>
unit test:R
Related: model =>
schema definition:Rgenerate controller Blog
:Rmodel user
:Rcontroller users
:Rview users/show.html.erb
:Rcon U<tab>
C-c ; f c
= rinari-find-controllerC-c ; f m
= rinari-find-modelC-c ; f t
= rinari-find-test