Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
67 Cards in this Set
- Front
- Back
change a line (not S)
|
cc
|
|
put current line at top of screen
|
z <enter>
|
|
repeat previous substitution
|
:&
|
|
insert characters instead of tabs
|
:set expandtab
|
|
delete everything until end of current line without d$
|
D
|
|
return to the character marked a
|
`a
|
|
join lines 12 thru 24, leaving a space between each line.
|
:12,24j<br>(9/11/2010: but I thought J joined leaving a space ...?)<br>9/20/2010: yes, J is the normal mode command, :j is the colon command (they are the same)
|
|
search forward for word under cursor partial match
|
g*
|
|
change from current cursor position to the end-of-line (not $)
|
C
|
|
joins the next line to the current line (inserts a space between the two) - normal mode command
|
J
|
|
substitute the current character and go into insert mode. Same as "rxi <ESC>"
|
s
|
|
jump to next section
|
]
|
|
return to previous character
|
`` (double backtick)
|
|
change from here to end of word to uppercase
|
vEU
|
|
search backward for word under the cursor
|
#
|
|
return to previous line
|
'' [two single quotes]
|
|
switch lower and upper cases
|
~
|
|
setting to show matching brace or parenthesis while inserting
|
:se sm
|
|
shift all lines until a matching brace or parenthesis
|
>%
|
|
send output of command to the last line of screen
|
!L
|
|
find the character z in the line backward
|
Fz
|
|
change a word - from current cursor position to the end of the word
|
cw
|
|
insert 20 dashes at beginning of line
|
20I - esc [twenty capital i dash esc]
|
|
stop highlighting the word that was searched for
|
:noh
|
|
overwrite until <esc>
|
R
|
|
go into insert mode at beginning of line
|
I (capital i)
|
|
yank current line into buffer a
|
"ayy
|
|
search forward for 'word' put at middle of screen
|
/word?z.
|
|
send output of command from here to end-of-line
|
!$
|
|
shift (indent) to the end of the paragraph
|
>}
|
|
yank from here to 'word'
|
y/word
|
|
take next three lines, and append them to the end of buffer a ???
|
"A3Y ???
|
|
yank current character
|
y1
|
|
joins the next line to the current line (without a space)
|
gJ
|
|
recognize bash filetype
|
set filetype=sh
|
|
put current line at bottom of screen
|
z-
|
|
delete from current cursor position to beginning of line
|
d^
|
|
global replace 'old' with 'new' on all lines
|
:%s/old/new/g
|
|
yank n characters
|
yn
|
|
search backward for word under cursor partial match
|
g#
|
|
search forward for word under cursor
|
*
|
|
run the contents of buffer z
|
@z
|
|
shift to the line marked m:
|
>'m
|
|
substitute the current line: erase it, and go into insert mode, starting at the indentation of the line. Same as "cc"
|
S
|
|
put current line at middle of screen
|
z.
|
|
move cursor forward a word ignoring punctuation
|
W
|
|
move cursor backward a word, ignoring punctuation
|
B
|
|
paste the contents of "a" below current line.
|
"ap
|
|
find the second occurance of 'a' in the line, forward
|
2fa
|
|
replace next four characters with "x"
|
4rx
|
|
change from here to end of word to lowercase
|
vEu
|
|
yank the current word
|
yw
|
|
yank to end of line
|
y$
|
|
yank to end of sentence
|
y)
|
|
yank from current line to mark x
|
y'x
|
|
yank from here to mark m and place into buffer a.
|
"ay'm
|
|
paste to the right of cursor
|
p
|
|
paste to the left of cursor
|
P
|
|
delete three words
|
d3w
|
|
delete until the word 'word'
|
d/word
|
|
start appending to the end of current line
|
A
|
|
find a character 'a' in the line forward
|
fa
|
|
return to the line marked a
|
'a
|
|
replace first occurance of 'old' with 'new' on current line
|
:s/old/new/
|
|
global search replace 'old' 'new' current line
|
:s/old/new/g
|
|
where in help to search for vim scripting stuff?
|
:help vim-script-intro
|
|
[NORMAL MODE COMMAND] go to first non blank character of current line
|
^
|