ಉಚಿತ ಪರಿವರ್ತಕ

ವಿಮ್ ಆಜ್ಞೆಗಳು ಚೀಟ್ ಶೀಟ್

ಸಮಗ್ರ ವಿಮ್ ಕಮಾಂಡ್ ಚೀಟ್ ಶೀಟ್. ಉದಾಹರಣೆಗಳು, ವಿವರಣೆಗಳು ಮತ್ತು ಒಂದು ಕ್ಲಿಕ್ ನಕಲುಗಳೊಂದಿಗೆ 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

ಈ ಉಪಕರಣದ ಬಗ್ಗೆ

ವಿಮ್ ಕಮಾಂಡ್‌ಗಳಿಗಾಗಿ ಸಮಗ್ರ ತ್ವರಿತ-ಉಲ್ಲೇಖ ಮಾರ್ಗದರ್ಶಿ. ಸಾಮಾನ್ಯವಾಗಿ ಬಳಸುವ ಕಮಾಂಡ್‌ಗಳು, ಸಿಂಟ್ಯಾಕ್ಸ್ ಮತ್ತು ವರ್ಗದಿಂದ ಆಯೋಜಿಸಲಾದ ಉದಾಹರಣೆಗಳನ್ನು ಬ್ರೌಸ್ ಮಾಡಿ. ಹುಡುಕಬಹುದಾದ ಮತ್ತು ಮೊಬೈಲ್ ಸ್ನೇಹಿ - ನಿಮಗೆ ತ್ವರಿತ ಜ್ಞಾಪನೆ ಅಗತ್ಯವಿದ್ದಾಗ ತ್ವರಿತ ಪ್ರವೇಶಕ್ಕಾಗಿ ಈ ಪುಟವನ್ನು ಬುಕ್‌ಮಾರ್ಕ್ ಮಾಡಿ.

ಬಳಸುವುದು ಹೇಗೆ

  1. ವರ್ಗೀಕರಿಸಿದ ಉಲ್ಲೇಖ ವಿಭಾಗಗಳನ್ನು ಬ್ರೌಸ್ ಮಾಡಿ.
  2. ನಿರ್ದಿಷ್ಟ ಆಜ್ಞೆಗಳು ಅಥವಾ ಸಿಂಟ್ಯಾಕ್ಸ್ ಅನ್ನು ಹುಡುಕಲು ಹುಡುಕಾಟ ಪಟ್ಟಿಯನ್ನು ಬಳಸಿ.
  3. ಬಳಕೆಯ ಉದಾಹರಣೆಗಳು ಮತ್ತು ವಿವರಣೆಗಳನ್ನು ನೋಡಲು ಯಾವುದೇ ನಮೂದನ್ನು ಕ್ಲಿಕ್ ಮಾಡಿ.
  4. ನಿಮ್ಮ ಟರ್ಮಿನಲ್ ಅಥವಾ ಸಂಪಾದಕದಲ್ಲಿ ಬಳಸಲು ಆಜ್ಞೆಗಳನ್ನು ನೇರವಾಗಿ ನಕಲಿಸಿ.

ಪದೇ ಪದೇ ಕೇಳಲಾಗುವ ಪ್ರಶ್ನೆಗಳು

ಈ ಉಲ್ಲೇಖವು ನವೀಕೃತವಾಗಿದೆಯೇ?
ಉಲ್ಲೇಖವು ವ್ಯಾಪಕವಾಗಿ ಬಳಸಿದ ಆಜ್ಞೆಗಳು ಮತ್ತು ಆವೃತ್ತಿಗಳಾದ್ಯಂತ ಸ್ಥಿರವಾಗಿರುವ ಸಿಂಟ್ಯಾಕ್ಸ್ ಅನ್ನು ಒಳಗೊಂಡಿದೆ. ಇತ್ತೀಚಿನ ಸೇರ್ಪಡೆಗಳು ಅಥವಾ ಆವೃತ್ತಿ-ನಿರ್ದಿಷ್ಟ ವೈಶಿಷ್ಟ್ಯಗಳಿಗಾಗಿ, ಅಧಿಕೃತ ದಸ್ತಾವೇಜನ್ನು ಪರಿಶೀಲಿಸಿ.
ನಾನು ಇದನ್ನು ಆಫ್‌ಲೈನ್‌ನಲ್ಲಿ ಬಳಸಬಹುದೇ?
ಒಮ್ಮೆ ಲೋಡ್ ಮಾಡಿದ ನಂತರ, ಪುಟವು ಇಂಟರ್ನೆಟ್ ಸಂಪರ್ಕವಿಲ್ಲದೆ ಕಾರ್ಯನಿರ್ವಹಿಸುತ್ತದೆ. ತ್ವರಿತ ಪ್ರವೇಶಕ್ಕಾಗಿ ಬುಕ್‌ಮಾರ್ಕ್ ಮಾಡಿ - ಹೆಚ್ಚಿನ ನೆಟ್‌ವರ್ಕ್ ವಿನಂತಿಗಳಿಲ್ಲದೆ ಎಲ್ಲಾ ವಿಷಯವನ್ನು ಬ್ರೌಸರ್‌ನಲ್ಲಿ ಸಲ್ಲಿಸಲಾಗುತ್ತದೆ.
ಇದು ಸಮಗ್ರವೇ ಅಥವಾ ಕೇವಲ ಮೂಲಭೂತವೇ?
ಇದು 90% ದೈನಂದಿನ ಕಾರ್ಯಗಳನ್ನು ನಿರ್ವಹಿಸುವ ಸಾಮಾನ್ಯವಾಗಿ ಬಳಸುವ ಆಜ್ಞೆಗಳು ಮತ್ತು ಮಾದರಿಗಳನ್ನು ಒಳಗೊಳ್ಳುತ್ತದೆ. ಸ್ಥಾಪಿತ ಅಥವಾ ಸುಧಾರಿತ ವೈಶಿಷ್ಟ್ಯಗಳಿಗಾಗಿ, ಅಧಿಕೃತ ದಾಖಲೆಗಳನ್ನು ಸಂಪರ್ಕಿಸಿ.
ನಾನು ಸೇರ್ಪಡೆಗಳನ್ನು ಸೂಚಿಸಬಹುದೇ?
ನಾವು ನಿಯಮಿತವಾಗಿ ನಮ್ಮ ಉಲ್ಲೇಖಗಳನ್ನು ನವೀಕರಿಸುತ್ತೇವೆ. ಕಾಣೆಯಾದ ಆಜ್ಞೆಗಳನ್ನು ನೀವು ಗಮನಿಸಿದರೆ ಅಥವಾ ಸಲಹೆಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ನಮ್ಮ ಸಂಪರ್ಕ ಪುಟದ ಮೂಲಕ ನಮಗೆ ತಿಳಿಸಿ.