모든 도구
무료

검색 및 인쇄 가능한 Vim 레퍼런스 — 모드, 모션, 편집, 검색 및 치환, 창, 버퍼, 레지스터. 무료.

Modes

9
Esc
Return to Normal mode
i / a
Insert before / after the cursor
I / A
Insert at start / end of the line
o / O
Open a new line below / above
v
Visual mode (character selection)
V
Visual line mode
Ctrl-v
Visual block mode (columns)
R
Replace mode (overtype)
:
Command-line (Ex) mode

Motions

10
h j k l
Left, down, up, right
w / b
Forward / back one word
e / ge
End of next / previous word
0 / ^ / $
Line start / first non-blank / line end
gg / G
First line / last line
42G / :42
Jump to line 42
{ / }
Previous / next paragraph
%
Jump to matching bracket
f x / t x
Move to / before next x on the line
Ctrl-d / Ctrl-u
Scroll half page down / up

Editing operators

11
x / X
Delete char under / before cursor
dd / D
Delete line / to end of line
dw / diw
Delete word / inner word
cc / C
Change line / to end of line
ciw / ci"
Change inner word / inside quotes
yy / yw
Yank (copy) line / word
p / P
Paste after / before the cursor
r x / ~
Replace one char / toggle case
u / Ctrl-r
Undo / redo
.
Repeat the last change
>> / <<
Indent / unindent the line

Visual mode

9
v / V
Start character / line selection
Ctrl-v
Start block (column) selection
o
Jump to the other end of the selection
d / y
Delete / yank the selection
c
Change the selection
> / <
Indent / unindent the selection
gu / gU
Lowercase / uppercase the selection
gv
Reselect the last visual selection
I / A
Block insert before / append after (Ctrl-v)

Search & replace

9
/pattern
Search forward for pattern
?pattern
Search backward for pattern
n / N
Next / previous match
* / #
Search word under cursor fwd / back
:%s/old/new/g
Replace all in the file
:%s/old/new/gc
Replace all with confirmation
:s/old/new/g
Replace all on the current line
:%s/\<word\>/x/g
Replace whole words only
:noh
Clear search highlighting

Windows & tabs

8
:sp / :split
Horizontal split
:vsp / :vsplit
Vertical split
Ctrl-w h/j/k/l
Move to the split in that direction
Ctrl-w w
Cycle to the next split
Ctrl-w q / c
Close the current split
Ctrl-w o
Close all other splits
Ctrl-w =
Equalize split sizes
:tabnew / gt / gT
New tab / next / previous tab

Buffers & files

9
:e file
Open / edit a file
:w / :w file
Save / save as
:wq / :x / ZZ
Save and quit
:q / :q!
Quit / quit discarding changes
:ls / :buffers
List open buffers
:b name / :bN
Switch to a buffer by name / number
:bn / :bp
Next / previous buffer
:bd
Delete (close) a buffer
:wa / :qa
Write all / quit all

Registers & marks

8
"ayy
Yank line into register a
"ap
Paste from register a
"+y / "+p
Yank to / paste from system clipboard
:reg
Show register contents
ma
Set mark a at the cursor
`a / 'a
Jump to mark a (exact / line)
``
Jump back to the previous position
:marks
List all marks

Macros

7
qa
Start recording into register a
q
Stop recording
@a
Play back macro a
@@
Repeat the last played macro
5@a
Play macro a five times
:%normal @a
Run macro a on every line
"ap → edit → "ay$
Paste, edit, then re-yank a macro to change it

“:q”와 일치하는 항목이 없습니다.


Vim 치트 시트 소개

이 Vim 치트시트는 에디터를 개념별로 정리했습니다: 모드, 이동, 편집 연산자, 비주얼 모드, 검색과 치환, 창과 탭, 버퍼와 파일, 레지스터와 마크, 매크로입니다. 각 행은 키 입력이나 명령어와 그것이 무엇을 하는지 한 줄 설명으로 구성됩니다.

Vim은 근육 기억을 보상해주며, 그것을 가장 빠르게 익히는 방법은 필요한 순간에 올바른 이동 명령이나 연산자를 눈앞에 두는 것입니다. 이 시트는 조합 가능한 요소들 — 연산자, 이동, 카운트 — 을 그룹으로 묶어 Vim의 문법이 하나씩 외우는 대신 눈에 보이도록 유지합니다.

이 시트는 무료이며 완전히 클라이언트 사이드로 동작합니다: 검색창으로 모든 키 입력을 실시간 필터링하고, 고정된 목차로 섹션 간 이동하고, 클릭으로 Ex 명령어를 복사하고, 시트를 인쇄할 수 있습니다 — Vim을 배우는 고전적인 방법은 여전히 출력물을 옆에 두는 것입니다.

Vim 치트 시트 사용 방법

  1. 처음이라면 모드 섹션부터 시작하거나, 이동과 편집 연산자로 바로 이동하세요.
  2. delete, replace, macro 같은 동작을 검색해 전체 시트를 필터링하세요.
  3. 고정된 목차를 사용해 레지스터 및 마크나 창 및 탭 같은 섹션으로 이동하세요.
  4. 명령어나 복사 아이콘을 클릭해 검색 및 치환 패턴 같은 Ex 명령어를 복사하세요.
  5. 시트를 인쇄해 이동 명령이 근육 기억이 될 때까지 키보드 옆에 두세요.

자주 묻는 질문

아홉 개 섹션입니다: 모드, 이동, 편집 연산자, 비주얼 모드, 검색과 치환, 창과 탭, 버퍼와 파일, 레지스터와 마크, 매크로 — 에디터의 전체 작업 어휘를 다룹니다.

네. 이 시트는 모드, 이동, 연산자, 레지스터, 매크로 같은 Vim의 핵심 동작을 다루며, 이는 Neovim에서도 동일하므로 어느 쪽을 사용하든 모두 적용됩니다.

먼저 모드 섹션을 읽고 노멀, 인서트, 비주얼 모드를 이해한 다음 몇 가지 이동과 연산자를 익히세요. Vim 명령어는 조합되므로 적은 어휘만으로도 대부분의 편집을 다룰 수 있습니다.

네. 인쇄 버튼은 검색창과 내비게이션을 제거하고 키 입력과 설명만 출력합니다 — 인쇄된 Vim 치트시트는 여전히 배우는 고전적인 방법입니다.

네, 완전히 무료이며 브라우저에서 검색 가능하고 계정 없이 인쇄할 수 있습니다.


인기 검색어
vim cheat sheet vim commands list vim shortcuts vim search and replace vim motions reference vim visual mode commands vim macros how to quit vim
도움이 필요하신가요?
이 도구에서 문제를 발견하셨나요? 저희 팀에 알려주세요.
문제 신고

이 무료 도구를 귀하의 웹사이트에 추가하세요 — 아래 코드를 복사하여 붙여넣으세요.