Libreng Converter
Mga Utos ng Vim Cheat Sheet
Comprehensive Vim command cheat sheet. Maghanap ng 80+ mahahalagang Vim command na may mga halimbawa, paglalarawan, at isang-click na kopya.
i
Enter Insert mode before the cursor
Halimbawa:
iI
Enter Insert mode at the beginning of the line
Halimbawa:
Ia
Enter Insert mode after the cursor
Halimbawa:
aA
Enter Insert mode at the end of the line
Halimbawa:
Ao
Open a new line below and enter Insert mode
Halimbawa:
oO
Open a new line above and enter Insert mode
Halimbawa:
Ov
Enter Visual mode (character selection)
Halimbawa:
vV
Enter Visual Line mode (line selection)
Halimbawa:
VCtrl+v
Enter Visual Block mode (column selection)
Halimbawa:
Ctrl+v:
Enter Command-line mode
Halimbawa:
:wEsc
Return to Normal mode from any mode
Halimbawa:
EscR
Enter Replace mode (overwrite characters)
Halimbawa:
Rh
Move cursor left
Halimbawa:
5hj
Move cursor down
Halimbawa:
10jk
Move cursor up
Halimbawa:
10kl
Move cursor right
Halimbawa:
5lw
Move to the start of the next word
Halimbawa:
3wb
Move to the start of the previous word
Halimbawa:
3be
Move to the end of the current word
Halimbawa:
2e0
Move to the beginning of the line
Halimbawa:
0^
Move to the first non-blank character of the line
Halimbawa:
^$
Move to the end of the line
Halimbawa:
$gg
Move to the first line of the file
Halimbawa:
ggG
Move to the last line of the file
Halimbawa:
G:N
Jump to line number N
Halimbawa:
:42Ctrl+f
Scroll forward (down) one screen
Halimbawa:
Ctrl+fCtrl+b
Scroll backward (up) one screen
Halimbawa:
Ctrl+bCtrl+d
Scroll down half a screen
Halimbawa:
Ctrl+dCtrl+u
Scroll up half a screen
Halimbawa:
Ctrl+uH
Move cursor to the top of the screen
Halimbawa:
HM
Move cursor to the middle of the screen
Halimbawa:
ML
Move cursor to the bottom of the screen
Halimbawa:
L%
Jump to matching bracket, parenthesis, or brace
Halimbawa:
%x
Delete the character under the cursor
Halimbawa:
xdd
Delete (cut) the current line
Halimbawa:
dddw
Delete from cursor to the end of the word
Halimbawa:
dwd$
Delete from cursor to the end of the line
Halimbawa:
d$D
Delete from cursor to end of line (same as d$)
Halimbawa:
Dyy
Yank (copy) the current line
Halimbawa:
yyyw
Yank (copy) from cursor to end of word
Halimbawa:
ywp
Paste after the cursor
Halimbawa:
pP
Paste before the cursor
Halimbawa:
Pu
Undo the last change
Halimbawa:
uCtrl+r
Redo the last undone change
Halimbawa:
Ctrl+rcc
Change (delete and enter insert mode) the current line
Halimbawa:
cccw
Change from cursor to end of word
Halimbawa:
cwc$
Change from cursor to end of line
Halimbawa:
c$.
Repeat the last change
Halimbawa:
.>>
Indent the current line one level to the right
Halimbawa:
>><<
Unindent the current line one level to the left
Halimbawa:
<<==
Auto-indent the current line
Halimbawa:
==J
Join the current line with the line below
Halimbawa:
J~
Toggle case of character under cursor
Halimbawa:
~r{char}
Replace the character under the cursor with {char}
Halimbawa:
ra/{pattern}
Search forward for pattern
Halimbawa:
/foo?{pattern}
Search backward for pattern
Halimbawa:
?foon
Repeat the last search in the same direction
Halimbawa:
nN
Repeat the last search in the opposite direction
Halimbawa:
N*
Search forward for the word under the cursor
Halimbawa:
*#
Search backward for the word under the cursor
Halimbawa:
#:s/old/new/g
Replace all occurrences of old with new on the current line
Halimbawa:
:s/foo/bar/g:%s/old/new/g
Replace all occurrences of old with new in the whole file
Halimbawa:
:%s/foo/bar/g:%s/old/new/gc
Replace all with confirmation prompts
Halimbawa:
:%s/foo/bar/gc:noh
Clear the search highlight
Halimbawa:
:noh:w
Save the current file
Halimbawa:
:w:w filename
Save the current buffer as a new filename
Halimbawa:
:w newfile.txt:q
Quit (close the window)
Halimbawa:
:q:wq
Save and quit
Halimbawa:
:wq:q!
Quit without saving (force quit)
Halimbawa:
:q!:x
Save and quit (only writes if changes were made)
Halimbawa:
:x:e filename
Open a file for editing
Halimbawa:
:e README.md:sp
Split the window horizontally
Halimbawa:
:sp file.txt:vsp
Split the window vertically
Halimbawa:
:vsp file.txtCtrl+w+w
Switch focus to the next split window
Halimbawa:
Ctrl+w wCtrl+w+h/j/k/l
Move focus to the window in the given direction
Halimbawa:
Ctrl+w l:close
Close the current window split
Halimbawa:
:close:only
Close all windows except the current one
Halimbawa:
:only:bn
Switch to the next buffer
Halimbawa:
:bn:bp
Switch to the previous buffer
Halimbawa:
:bp:bd
Delete (close) the current buffer
Halimbawa:
:bd:ls
List all open buffers
Halimbawa:
:ls:b N
Switch to buffer number N
Halimbawa:
:b 2:tabnew
Open a new tab
Halimbawa:
:tabnew file.txt:tabn
Switch to the next tab
Halimbawa:
:tabn:tabp
Switch to the previous tab
Halimbawa:
:tabp:tabclose
Close the current tab
Halimbawa:
:tabclosegt
Go to the next tab
Halimbawa:
gtgT
Go to the previous tab
Halimbawa:
gTq{a-z}
Start recording a macro into register {a-z}
Halimbawa:
qqq (stop)
Stop recording the current macro
Halimbawa:
q@{a-z}
Execute the macro stored in register {a-z}
Halimbawa:
@q@@
Repeat the last executed macro
Halimbawa:
@@N@{a-z}
Execute macro N times
Halimbawa:
5@q:reg
Show the contents of all registers
Halimbawa:
:regv then d
Select text in Visual mode then delete it
Halimbawa:
vwdv then y
Select text in Visual mode then yank (copy) it
Halimbawa:
vwyv then c
Select text in Visual mode then change it
Halimbawa:
vwcv then >
Indent selected text to the right
Halimbawa:
vip>vip
Select the current paragraph in Visual mode
Halimbawa:
vipviw
Select the current word in Visual mode
Halimbawa:
viwvis
Select the current sentence in Visual mode
Halimbawa:
visV then J
Select lines in Visual Line mode then join them
Halimbawa:
VjJ:set number
Show line numbers
Halimbawa:
:set number:set nonumber
Hide line numbers
Halimbawa:
:set nonumber:syntax on
Enable syntax highlighting
Halimbawa:
:syntax on:colorscheme
Change the color scheme
Halimbawa:
:colorscheme desert:help {topic}
Open Vim help for a topic
Halimbawa:
:help :wm{a-z}
Set a mark at the current cursor position
Halimbawa:
ma'{a-z}
Jump to the line of a mark
Halimbawa:
'a`{a-z}
Jump to the exact position of a mark
Halimbawa:
`a:set paste
Enable paste mode to avoid auto-indent issues
Halimbawa:
:set paste:set ignorecase
Make searches case-insensitive
Halimbawa:
:set ignorecase:set hlsearch
Highlight all search matches
Halimbawa:
:set hlsearchga
Show the ASCII value of the character under the cursor
Halimbawa:
gazz
Center the current line on the screen
Halimbawa:
zzCtrl+g
Show the current file name and cursor position
Halimbawa:
Ctrl+gMga Kaugnay na Tools
Tingnan ang lahat ng toolsMga Utos ng Git Cheat Sheet
Comprehensive Git command cheat sheet. Maghanap ng 80+ mahahalagang utos ng Git na may mga halimbawa, paglalarawan, at isang pag-click na kopya.
Mga Utos ng Docker Cheat Sheet
Comprehensive Docker command cheat sheet. Maghanap ng 70+ mahahalagang utos ng Docker na may mga halimbawa, paglalarawan, at isang pag-click na kopya.
Linux / Bash Command Cheat Sheet
Comprehensive Linux at Bash command cheat sheet. Maghanap ng 80+ mahahalagang command na may mga halimbawa, paglalarawan, at isang-click na kopya.
SQL Formatter & Pampaganda
I-format, pagandahin, at linisin kaagad ang mga query sa SQL sa iyong browser. Walang kinakailangang pag-upload — ganap na pribado at libre.