ఉచిత కన్వర్టర్

Vim ఆదేశాలు చీట్ షీట్

సమగ్ర Vim కమాండ్ చీట్ షీట్. ఉదాహరణలు, వివరణలు మరియు ఒక-క్లిక్ కాపీతో 80+ ముఖ్యమైన Vim ఆదేశాలను శోధించండి.

i
Enter Insert mode before the cursor
ఉదాహరణ:i
I
Enter Insert mode at the beginning of the line
ఉదాహరణ:I
a
Enter Insert mode after the cursor
ఉదాహరణ:a
A
Enter Insert mode at the end of the line
ఉదాహరణ:A
o
Open a new line below and enter Insert mode
ఉదాహరణ:o
O
Open a new line above and enter Insert mode
ఉదాహరణ:O
v
Enter Visual mode (character selection)
ఉదాహరణ:v
V
Enter Visual Line mode (line selection)
ఉదాహరణ:V
Ctrl+v
Enter Visual Block mode (column selection)
ఉదాహరణ:Ctrl+v
:
Enter Command-line mode
ఉదాహరణ::w
Esc
Return to Normal mode from any mode
ఉదాహరణ:Esc
R
Enter Replace mode (overwrite characters)
ఉదాహరణ:R
h
Move cursor left
ఉదాహరణ:5h
j
Move cursor down
ఉదాహరణ:10j
k
Move cursor up
ఉదాహరణ:10k
l
Move cursor right
ఉదాహరణ:5l
w
Move to the start of the next word
ఉదాహరణ:3w
b
Move to the start of the previous word
ఉదాహరణ:3b
e
Move to the end of the current word
ఉదాహరణ:2e
0
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
ఉదాహరణ:gg
G
Move to the last line of the file
ఉదాహరణ:G
:N
Jump to line number N
ఉదాహరణ::42
Ctrl+f
Scroll forward (down) one screen
ఉదాహరణ:Ctrl+f
Ctrl+b
Scroll backward (up) one screen
ఉదాహరణ:Ctrl+b
Ctrl+d
Scroll down half a screen
ఉదాహరణ:Ctrl+d
Ctrl+u
Scroll up half a screen
ఉదాహరణ:Ctrl+u
H
Move cursor to the top of the screen
ఉదాహరణ:H
M
Move cursor to the middle of the screen
ఉదాహరణ:M
L
Move cursor to the bottom of the screen
ఉదాహరణ:L
%
Jump to matching bracket, parenthesis, or brace
ఉదాహరణ:%
x
Delete the character under the cursor
ఉదాహరణ:x
dd
Delete (cut) the current line
ఉదాహరణ:dd
dw
Delete from cursor to the end of the word
ఉదాహరణ:dw
d$
Delete from cursor to the end of the line
ఉదాహరణ:d$
D
Delete from cursor to end of line (same as d$)
ఉదాహరణ:D
yy
Yank (copy) the current line
ఉదాహరణ:yy
yw
Yank (copy) from cursor to end of word
ఉదాహరణ:yw
p
Paste after the cursor
ఉదాహరణ:p
P
Paste before the cursor
ఉదాహరణ:P
u
Undo the last change
ఉదాహరణ:u
Ctrl+r
Redo the last undone change
ఉదాహరణ:Ctrl+r
cc
Change (delete and enter insert mode) the current line
ఉదాహరణ:cc
cw
Change from cursor to end of word
ఉదాహరణ:cw
c$
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
ఉదాహరణ:?foo
n
Repeat the last search in the same direction
ఉదాహరణ:n
N
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.txt
Ctrl+w+w
Switch focus to the next split window
ఉదాహరణ:Ctrl+w w
Ctrl+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
ఉదాహరణ::tabclose
gt
Go to the next tab
ఉదాహరణ:gt
gT
Go to the previous tab
ఉదాహరణ:gT
q{a-z}
Start recording a macro into register {a-z}
ఉదాహరణ:qq
q (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
ఉదాహరణ::reg
v then d
Select text in Visual mode then delete it
ఉదాహరణ:vwd
v then y
Select text in Visual mode then yank (copy) it
ఉదాహరణ:vwy
v then c
Select text in Visual mode then change it
ఉదాహరణ:vwc
v then >
Indent selected text to the right
ఉదాహరణ:vip>
vip
Select the current paragraph in Visual mode
ఉదాహరణ:vip
viw
Select the current word in Visual mode
ఉదాహరణ:viw
vis
Select the current sentence in Visual mode
ఉదాహరణ:vis
V 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 :w
m{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 hlsearch
ga
Show the ASCII value of the character under the cursor
ఉదాహరణ:ga
zz
Center the current line on the screen
ఉదాహరణ:zz
Ctrl+g
Show the current file name and cursor position
ఉదాహరణ:Ctrl+g

ఈ సాధనం గురించి

vim కమాండ్‌ల కోసం సమగ్రమైన శీఘ్ర-రిఫరెన్స్ గైడ్. సాధారణంగా ఉపయోగించే ఆదేశాలు, వాక్యనిర్మాణం మరియు వర్గం ద్వారా నిర్వహించబడిన ఉదాహరణలను బ్రౌజ్ చేయండి. శోధించదగినది మరియు మొబైల్ అనుకూలమైనది — మీకు శీఘ్ర రిమైండర్ అవసరమైనప్పుడు తక్షణ ప్రాప్యత కోసం ఈ పేజీని బుక్‌మార్క్ చేయండి.

ఎలా ఉపయోగించాలి

  1. వర్గీకరించబడిన సూచన విభాగాలను బ్రౌజ్ చేయండి.
  2. నిర్దిష్ట ఆదేశాలు లేదా వాక్యనిర్మాణాన్ని కనుగొనడానికి శోధన పట్టీని ఉపయోగించండి.
  3. వినియోగ ఉదాహరణలు మరియు వివరణలను చూడటానికి ఏదైనా ఎంట్రీపై క్లిక్ చేయండి.
  4. మీ టెర్మినల్ లేదా ఎడిటర్‌లో ఉపయోగించడానికి నేరుగా ఆదేశాలను కాపీ చేయండి.

తరచుగా అడిగే ప్రశ్నలు

ఈ సూచన తాజాగా ఉందా?
సూచన విస్తృతంగా ఉపయోగించే ఆదేశాలు మరియు సంస్కరణల్లో స్థిరంగా ఉండే సింటాక్స్‌ను కవర్ చేస్తుంది. తాజా చేర్పులు లేదా సంస్కరణ-నిర్దిష్ట ఫీచర్ల కోసం, అధికారిక డాక్యుమెంటేషన్‌ని తనిఖీ చేయండి.
నేను దీన్ని ఆఫ్‌లైన్‌లో ఉపయోగించవచ్చా?
లోడ్ అయిన తర్వాత, పేజీ ఇంటర్నెట్ కనెక్షన్ లేకుండా పని చేస్తుంది. త్వరిత ప్రాప్యత కోసం దీన్ని బుక్‌మార్క్ చేయండి — తదుపరి నెట్‌వర్క్ అభ్యర్థనలు లేకుండా మొత్తం కంటెంట్ బ్రౌజర్‌లో రెండర్ చేయబడుతుంది.
ఇది సమగ్రమా లేక కేవలం ప్రాథమికమా?
ఇది 90% రోజువారీ విధులను నిర్వహించే అత్యంత సాధారణంగా ఉపయోగించే ఆదేశాలు మరియు నమూనాలను కవర్ చేస్తుంది. సముచిత లేదా అధునాతన లక్షణాల కోసం, అధికారిక డాక్యుమెంటేషన్‌ను సంప్రదించండి.
నేను జోడింపులను సూచించవచ్చా?
మేము మా సూచనలను క్రమం తప్పకుండా నవీకరిస్తాము. మీరు తప్పిపోయిన ఆదేశాలను గమనించినట్లయితే లేదా సూచనలు ఉంటే, మా సంప్రదింపు పేజీ ద్వారా మాకు తెలియజేయండి.