무료 변환기
Vim 명령 치트 시트
포괄적인 Vim 명령 치트 시트. 예제, 설명 및 원클릭 복사를 통해 80개 이상의 필수 Vim 명령을 검색하세요.
i
Enter Insert mode before the cursor
예:
iI
Enter Insert mode at the beginning of the line
예:
Ia
Enter Insert mode after the cursor
예:
aA
Enter Insert mode at the end of the line
예:
Ao
Open a new line below and enter Insert mode
예:
oO
Open a new line above and enter Insert mode
예:
Ov
Enter Visual mode (character selection)
예:
vV
Enter Visual Line mode (line selection)
예:
VCtrl+v
Enter Visual Block mode (column selection)
예:
Ctrl+v:
Enter Command-line mode
예:
:wEsc
Return to Normal mode from any mode
예:
EscR
Enter Replace mode (overwrite characters)
예:
Rh
Move cursor left
예:
5hj
Move cursor down
예:
10jk
Move cursor up
예:
10kl
Move cursor right
예:
5lw
Move to the start of the next word
예:
3wb
Move to the start of the previous word
예:
3be
Move to the end of the current word
예:
2e0
Move to the beginning of the line
예:
0^
Move to the first non-blank character of the line
예:
^$
Move to the end of the line
예:
$gg
Move to the first line of the file
예:
ggG
Move to the last line of the file
예:
G:N
Jump to line number N
예:
:42Ctrl+f
Scroll forward (down) one screen
예:
Ctrl+fCtrl+b
Scroll backward (up) one screen
예:
Ctrl+bCtrl+d
Scroll down half a screen
예:
Ctrl+dCtrl+u
Scroll up half a screen
예:
Ctrl+uH
Move cursor to the top of the screen
예:
HM
Move cursor to the middle of the screen
예:
ML
Move cursor to the bottom of the screen
예:
L%
Jump to matching bracket, parenthesis, or brace
예:
%x
Delete the character under the cursor
예:
xdd
Delete (cut) the current line
예:
dddw
Delete from cursor to the end of the word
예:
dwd$
Delete from cursor to the end of the line
예:
d$D
Delete from cursor to end of line (same as d$)
예:
Dyy
Yank (copy) the current line
예:
yyyw
Yank (copy) from cursor to end of word
예:
ywp
Paste after the cursor
예:
pP
Paste before the cursor
예:
Pu
Undo the last change
예:
uCtrl+r
Redo the last undone change
예:
Ctrl+rcc
Change (delete and enter insert mode) the current line
예:
cccw
Change from cursor to end of word
예:
cwc$
Change from cursor to end of line
예:
c$.
Repeat the last change
예:
.>>
Indent the current line one level to the right
예:
>><<
Unindent the current line one level to the left
예:
<<==
Auto-indent the current line
예:
==J
Join the current line with the line below
예:
J~
Toggle case of character under cursor
예:
~r{char}
Replace the character under the cursor with {char}
예:
ra/{pattern}
Search forward for pattern
예:
/foo?{pattern}
Search backward for pattern
예:
?foon
Repeat the last search in the same direction
예:
nN
Repeat the last search in the opposite direction
예:
N*
Search forward for the word under the cursor
예:
*#
Search backward for the word under the cursor
예:
#:s/old/new/g
Replace all occurrences of old with new on the current line
예:
:s/foo/bar/g:%s/old/new/g
Replace all occurrences of old with new in the whole file
예:
:%s/foo/bar/g:%s/old/new/gc
Replace all with confirmation prompts
예:
:%s/foo/bar/gc:noh
Clear the search highlight
예:
:noh:w
Save the current file
예:
:w:w filename
Save the current buffer as a new filename
예:
:w newfile.txt:q
Quit (close the window)
예:
:q:wq
Save and quit
예:
:wq:q!
Quit without saving (force quit)
예:
:q!:x
Save and quit (only writes if changes were made)
예:
:x:e filename
Open a file for editing
예:
:e README.md:sp
Split the window horizontally
예:
:sp file.txt:vsp
Split the window vertically
예:
:vsp file.txtCtrl+w+w
Switch focus to the next split window
예:
Ctrl+w wCtrl+w+h/j/k/l
Move focus to the window in the given direction
예:
Ctrl+w l:close
Close the current window split
예:
:close:only
Close all windows except the current one
예:
:only:bn
Switch to the next buffer
예:
:bn:bp
Switch to the previous buffer
예:
:bp:bd
Delete (close) the current buffer
예:
:bd:ls
List all open buffers
예:
:ls:b N
Switch to buffer number N
예:
:b 2:tabnew
Open a new tab
예:
:tabnew file.txt:tabn
Switch to the next tab
예:
:tabn:tabp
Switch to the previous tab
예:
:tabp:tabclose
Close the current tab
예:
:tabclosegt
Go to the next tab
예:
gtgT
Go to the previous tab
예:
gTq{a-z}
Start recording a macro into register {a-z}
예:
qqq (stop)
Stop recording the current macro
예:
q@{a-z}
Execute the macro stored in register {a-z}
예:
@q@@
Repeat the last executed macro
예:
@@N@{a-z}
Execute macro N times
예:
5@q:reg
Show the contents of all registers
예:
:regv then d
Select text in Visual mode then delete it
예:
vwdv then y
Select text in Visual mode then yank (copy) it
예:
vwyv then c
Select text in Visual mode then change it
예:
vwcv then >
Indent selected text to the right
예:
vip>vip
Select the current paragraph in Visual mode
예:
vipviw
Select the current word in Visual mode
예:
viwvis
Select the current sentence in Visual mode
예:
visV then J
Select lines in Visual Line mode then join them
예:
VjJ:set number
Show line numbers
예:
:set number:set nonumber
Hide line numbers
예:
:set nonumber:syntax on
Enable syntax highlighting
예:
:syntax on:colorscheme
Change the color scheme
예:
:colorscheme desert:help {topic}
Open Vim help for a topic
예:
:help :wm{a-z}
Set a mark at the current cursor position
예:
ma'{a-z}
Jump to the line of a mark
예:
'a`{a-z}
Jump to the exact position of a mark
예:
`a:set paste
Enable paste mode to avoid auto-indent issues
예:
:set paste:set ignorecase
Make searches case-insensitive
예:
:set ignorecase:set hlsearch
Highlight all search matches
예:
:set hlsearchga
Show the ASCII value of the character under the cursor
예:
gazz
Center the current line on the screen
예:
zzCtrl+g
Show the current file name and cursor position
예:
Ctrl+g관련 도구
모든 도구 보기힘내 명령 치트 시트
포괄적인 Git 명령 치트 시트. 예제, 설명, 원클릭 복사가 포함된 80개 이상의 필수 Git 명령을 검색하세요.
도커 명령 치트 시트
포괄적인 Docker 명령 치트 시트. 예제, 설명 및 원클릭 복사를 통해 70개 이상의 필수 Docker 명령을 검색하세요.
리눅스 / 배쉬 명령 치트 시트
포괄적인 Linux 및 Bash 명령 치트 시트. 예제, 설명, 원클릭 복사를 통해 80개 이상의 필수 명령을 검색하세요.
SQL 포매터 & 정리 도구
브라우저에서 SQL 쿼리를 즉시 포맷하고 정리합니다. 업로드 불필요 — 완전히 비공개이며 무료입니다.