مبدل رایگان
دستورات 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 برگه تقلب
برگه تقلب دستور جامع Git. بیش از 80 دستور ضروری Git را با مثال، توضیحات و کپی با یک کلیک جستجو کنید.
دستورات داکر برگه تقلب
برگه تقلب دستورات Docker جامع. بیش از 70 دستور ضروری Docker را با مثال، توضیحات و کپی با یک کلیک جستجو کنید.
لینوکس / Bash برگه تقلب فرمان
برگه تقلب دستورات جامع لینوکس و Bash. 80+ فرمان ضروری را با مثال، توضیحات و کپی با یک کلیک جستجو کنید.
SQL Formatter &زیبا کننده
فرمت، زیباسازی و پاکسازی درخواست های SQL را فوراً در مرورگر خود انجام دهید. بدون نیاز به آپلود - کاملا خصوصی و رایگان.