Brezplačni pretvornik
Ukazi Vim Cheat Sheet
Obsežen goljuf za ukaze Vim. Preiščite 80+ bistvenih ukazov Vim s primeri, opisi in kopijo z enim klikom.
i
Enter Insert mode before the cursor
primer:
iI
Enter Insert mode at the beginning of the line
primer:
Ia
Enter Insert mode after the cursor
primer:
aA
Enter Insert mode at the end of the line
primer:
Ao
Open a new line below and enter Insert mode
primer:
oO
Open a new line above and enter Insert mode
primer:
Ov
Enter Visual mode (character selection)
primer:
vV
Enter Visual Line mode (line selection)
primer:
VCtrl+v
Enter Visual Block mode (column selection)
primer:
Ctrl+v:
Enter Command-line mode
primer:
:wEsc
Return to Normal mode from any mode
primer:
EscR
Enter Replace mode (overwrite characters)
primer:
Rh
Move cursor left
primer:
5hj
Move cursor down
primer:
10jk
Move cursor up
primer:
10kl
Move cursor right
primer:
5lw
Move to the start of the next word
primer:
3wb
Move to the start of the previous word
primer:
3be
Move to the end of the current word
primer:
2e0
Move to the beginning of the line
primer:
0^
Move to the first non-blank character of the line
primer:
^$
Move to the end of the line
primer:
$gg
Move to the first line of the file
primer:
ggG
Move to the last line of the file
primer:
G:N
Jump to line number N
primer:
:42Ctrl+f
Scroll forward (down) one screen
primer:
Ctrl+fCtrl+b
Scroll backward (up) one screen
primer:
Ctrl+bCtrl+d
Scroll down half a screen
primer:
Ctrl+dCtrl+u
Scroll up half a screen
primer:
Ctrl+uH
Move cursor to the top of the screen
primer:
HM
Move cursor to the middle of the screen
primer:
ML
Move cursor to the bottom of the screen
primer:
L%
Jump to matching bracket, parenthesis, or brace
primer:
%x
Delete the character under the cursor
primer:
xdd
Delete (cut) the current line
primer:
dddw
Delete from cursor to the end of the word
primer:
dwd$
Delete from cursor to the end of the line
primer:
d$D
Delete from cursor to end of line (same as d$)
primer:
Dyy
Yank (copy) the current line
primer:
yyyw
Yank (copy) from cursor to end of word
primer:
ywp
Paste after the cursor
primer:
pP
Paste before the cursor
primer:
Pu
Undo the last change
primer:
uCtrl+r
Redo the last undone change
primer:
Ctrl+rcc
Change (delete and enter insert mode) the current line
primer:
cccw
Change from cursor to end of word
primer:
cwc$
Change from cursor to end of line
primer:
c$.
Repeat the last change
primer:
.>>
Indent the current line one level to the right
primer:
>><<
Unindent the current line one level to the left
primer:
<<==
Auto-indent the current line
primer:
==J
Join the current line with the line below
primer:
J~
Toggle case of character under cursor
primer:
~r{char}
Replace the character under the cursor with {char}
primer:
ra/{pattern}
Search forward for pattern
primer:
/foo?{pattern}
Search backward for pattern
primer:
?foon
Repeat the last search in the same direction
primer:
nN
Repeat the last search in the opposite direction
primer:
N*
Search forward for the word under the cursor
primer:
*#
Search backward for the word under the cursor
primer:
#:s/old/new/g
Replace all occurrences of old with new on the current line
primer:
:s/foo/bar/g:%s/old/new/g
Replace all occurrences of old with new in the whole file
primer:
:%s/foo/bar/g:%s/old/new/gc
Replace all with confirmation prompts
primer:
:%s/foo/bar/gc:noh
Clear the search highlight
primer:
:noh:w
Save the current file
primer:
:w:w filename
Save the current buffer as a new filename
primer:
:w newfile.txt:q
Quit (close the window)
primer:
:q:wq
Save and quit
primer:
:wq:q!
Quit without saving (force quit)
primer:
:q!:x
Save and quit (only writes if changes were made)
primer:
:x:e filename
Open a file for editing
primer:
:e README.md:sp
Split the window horizontally
primer:
:sp file.txt:vsp
Split the window vertically
primer:
:vsp file.txtCtrl+w+w
Switch focus to the next split window
primer:
Ctrl+w wCtrl+w+h/j/k/l
Move focus to the window in the given direction
primer:
Ctrl+w l:close
Close the current window split
primer:
:close:only
Close all windows except the current one
primer:
:only:bn
Switch to the next buffer
primer:
:bn:bp
Switch to the previous buffer
primer:
:bp:bd
Delete (close) the current buffer
primer:
:bd:ls
List all open buffers
primer:
:ls:b N
Switch to buffer number N
primer:
:b 2:tabnew
Open a new tab
primer:
:tabnew file.txt:tabn
Switch to the next tab
primer:
:tabn:tabp
Switch to the previous tab
primer:
:tabp:tabclose
Close the current tab
primer:
:tabclosegt
Go to the next tab
primer:
gtgT
Go to the previous tab
primer:
gTq{a-z}
Start recording a macro into register {a-z}
primer:
qqq (stop)
Stop recording the current macro
primer:
q@{a-z}
Execute the macro stored in register {a-z}
primer:
@q@@
Repeat the last executed macro
primer:
@@N@{a-z}
Execute macro N times
primer:
5@q:reg
Show the contents of all registers
primer:
:regv then d
Select text in Visual mode then delete it
primer:
vwdv then y
Select text in Visual mode then yank (copy) it
primer:
vwyv then c
Select text in Visual mode then change it
primer:
vwcv then >
Indent selected text to the right
primer:
vip>vip
Select the current paragraph in Visual mode
primer:
vipviw
Select the current word in Visual mode
primer:
viwvis
Select the current sentence in Visual mode
primer:
visV then J
Select lines in Visual Line mode then join them
primer:
VjJ:set number
Show line numbers
primer:
:set number:set nonumber
Hide line numbers
primer:
:set nonumber:syntax on
Enable syntax highlighting
primer:
:syntax on:colorscheme
Change the color scheme
primer:
:colorscheme desert:help {topic}
Open Vim help for a topic
primer:
:help :wm{a-z}
Set a mark at the current cursor position
primer:
ma'{a-z}
Jump to the line of a mark
primer:
'a`{a-z}
Jump to the exact position of a mark
primer:
`a:set paste
Enable paste mode to avoid auto-indent issues
primer:
:set paste:set ignorecase
Make searches case-insensitive
primer:
:set ignorecase:set hlsearch
Highlight all search matches
primer:
:set hlsearchga
Show the ASCII value of the character under the cursor
primer:
gazz
Center the current line on the screen
primer:
zzCtrl+g
Show the current file name and cursor position
primer:
Ctrl+gSorodna orodja
Oglejte si vsa orodjaUkazi Git Cheat Sheet
Obsežna goljufija ukazov Git. Preiščite več kot 80 osnovnih ukazov Git s primeri, opisi in kopijo z enim klikom.
Docker ukazi Cheat Sheet
Obsežna goljufija za ukaze Docker. Preiščite 70+ bistvenih ukazov Docker s primeri, opisi in kopijo z enim klikom.
Linux / Bash Goljufija ukaza
Obsežen goljuf za ukaze Linux in Bash. Iščite po 80+ bistvenih ukazih s primeri, opisi in kopijo z enim klikom.
Oblikovalnik SQL & polepšalo
Takoj oblikujte, polepšajte in počistite poizvedbe SQL v brskalniku. Nalaganje ni potrebno – popolnoma zasebno in brezplačno.