-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Yoshiyuki Hisamatsu edited this page Nov 15, 2025
·
3 revisions
$
0
C_f
C_d
C_u
C_b
S_l
S_m
S_h
gt
gT
gg
G
e
w
b
yy
Yp
P
P
p
u
C_r
o
O
zz
S
dj
dw
d$
3dw
d3w
r
R
C_i
C_o
Useful when you want to return to your previous location after searching
cw
D
C
%
*
/hoge
q/
n
N
f6
zo
zc
v
V
C_v
yi"
di"
di(
da"
dt"
"av$yy
C_a
:!ls
:cd ~/hoge/
:s/foo/bar
:%s/foo/bar
:sp
:vsp
C_w_w
C_w_j
C_w_h
:CdCurrent
:vimgrep /hoge/ ./hoge.js
:copen
:vim[grep] /jquery/j ~/Dropbox/*.js | cw
=
. (period)
:tabnew
ma
:marks
`a
:10
50%
C_y
C_e
~
gUiw
gUU
:Tutorial
Press C_v then I to enter insert mode, text entered will be applied to all lines after Esc
Press C_v then A to enter insert mode, press $ to go to end, text entered will be applied to all lines after Esc
Yank → Delete → "0P
"ay
:%g/hisasann/d
:%v/hisasann/d
:let @a=''
:%g//y A
v$y
vg_y
C_h