-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
81 lines (72 loc) · 2.09 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
RailsBerry 2012 talk -- Expert-level Vim
stretch!
solicit questions
experience-level survey
quick tips for beginners
don't be scared
vim is a programming language for editing text
use vimtutor
what holds intermediate vimmers back?
high-level
be obnoxiously intolerant of extra typing
frequently-repeated commands are high-value
saving
C-s vs :w
100 * 5 * 50 * 10 = 250,000 * 5 = 1.25M
250,000 * 2 = 500,000 (delta: 750,000)
good for carpal tunnel too!
macvim gives you command+w by default
<Leader>w instead of C-w w
bind a ton of leaders
also watch for occasional operations that are particularly slow
record a macro for turning var into a let (and we'll do this live)
record a macro for extracting a method
accept your typos and bind them
they don't have a cheat sheet
their vimrcs suck
an empty vimrc is great in the beginning
I don't like janus
your vimrc should be growing roughly linearly with your skill
mike burns' vimrc
they don't rtfm
how to navigate
editing effectively is great
vim anti-patterns
using the arrow keys
opening files by hand
command-t
rails.vim
holding j or k
set number and G
search
set relativenumber
not knowing available motions
w, t, f, i, a
dap (use whitespaced methods)
they never learned key concepts
macros
turn var assign into a let
dump macro and then change method name
vimscript
steve losh's book
show ruby test runners
they don't use surround.vim
cs'"
cs)}
} vs {
add tags
pimp Drew's book
contact/github info
Todo:
print notes
Setup:
text size huge
friendly resolution
invert colors
check registers for contraband
clear history
boot guard for apprentice.io
get apprentice io specs open in second screen; make sure green
open tab with drew's book code
open chrome tabe with drew's book
put ilet(:ea)f=xxys${ into f as backup