Besplatni pretvarač
Vim naredbe Varalica
Sveobuhvatna šifra Vim naredbi. Pretražujte 80+ bitnih Vim naredbi s primjerima, opisima i kopijom jednim klikom.
i
Enter Insert mode before the cursor
Primjer:
iI
Enter Insert mode at the beginning of the line
Primjer:
Ia
Enter Insert mode after the cursor
Primjer:
aA
Enter Insert mode at the end of the line
Primjer:
Ao
Open a new line below and enter Insert mode
Primjer:
oO
Open a new line above and enter Insert mode
Primjer:
Ov
Enter Visual mode (character selection)
Primjer:
vV
Enter Visual Line mode (line selection)
Primjer:
VCtrl+v
Enter Visual Block mode (column selection)
Primjer:
Ctrl+v:
Enter Command-line mode
Primjer:
:wEsc
Return to Normal mode from any mode
Primjer:
EscR
Enter Replace mode (overwrite characters)
Primjer:
Rh
Move cursor left
Primjer:
5hj
Move cursor down
Primjer:
10jk
Move cursor up
Primjer:
10kl
Move cursor right
Primjer:
5lw
Move to the start of the next word
Primjer:
3wb
Move to the start of the previous word
Primjer:
3be
Move to the end of the current word
Primjer:
2e0
Move to the beginning of the line
Primjer:
0^
Move to the first non-blank character of the line
Primjer:
^$
Move to the end of the line
Primjer:
$gg
Move to the first line of the file
Primjer:
ggG
Move to the last line of the file
Primjer:
G:N
Jump to line number N
Primjer:
:42Ctrl+f
Scroll forward (down) one screen
Primjer:
Ctrl+fCtrl+b
Scroll backward (up) one screen
Primjer:
Ctrl+bCtrl+d
Scroll down half a screen
Primjer:
Ctrl+dCtrl+u
Scroll up half a screen
Primjer:
Ctrl+uH
Move cursor to the top of the screen
Primjer:
HM
Move cursor to the middle of the screen
Primjer:
ML
Move cursor to the bottom of the screen
Primjer:
L%
Jump to matching bracket, parenthesis, or brace
Primjer:
%x
Delete the character under the cursor
Primjer:
xdd
Delete (cut) the current line
Primjer:
dddw
Delete from cursor to the end of the word
Primjer:
dwd$
Delete from cursor to the end of the line
Primjer:
d$D
Delete from cursor to end of line (same as d$)
Primjer:
Dyy
Yank (copy) the current line
Primjer:
yyyw
Yank (copy) from cursor to end of word
Primjer:
ywp
Paste after the cursor
Primjer:
pP
Paste before the cursor
Primjer:
Pu
Undo the last change
Primjer:
uCtrl+r
Redo the last undone change
Primjer:
Ctrl+rcc
Change (delete and enter insert mode) the current line
Primjer:
cccw
Change from cursor to end of word
Primjer:
cwc$
Change from cursor to end of line
Primjer:
c$.
Repeat the last change
Primjer:
.>>
Indent the current line one level to the right
Primjer:
>><<
Unindent the current line one level to the left
Primjer:
<<==
Auto-indent the current line
Primjer:
==J
Join the current line with the line below
Primjer:
J~
Toggle case of character under cursor
Primjer:
~r{char}
Replace the character under the cursor with {char}
Primjer:
ra/{pattern}
Search forward for pattern
Primjer:
/foo?{pattern}
Search backward for pattern
Primjer:
?foon
Repeat the last search in the same direction
Primjer:
nN
Repeat the last search in the opposite direction
Primjer:
N*
Search forward for the word under the cursor
Primjer:
*#
Search backward for the word under the cursor
Primjer:
#:s/old/new/g
Replace all occurrences of old with new on the current line
Primjer:
:s/foo/bar/g:%s/old/new/g
Replace all occurrences of old with new in the whole file
Primjer:
:%s/foo/bar/g:%s/old/new/gc
Replace all with confirmation prompts
Primjer:
:%s/foo/bar/gc:noh
Clear the search highlight
Primjer:
:noh:w
Save the current file
Primjer:
:w:w filename
Save the current buffer as a new filename
Primjer:
:w newfile.txt:q
Quit (close the window)
Primjer:
:q:wq
Save and quit
Primjer:
:wq:q!
Quit without saving (force quit)
Primjer:
:q!:x
Save and quit (only writes if changes were made)
Primjer:
:x:e filename
Open a file for editing
Primjer:
:e README.md:sp
Split the window horizontally
Primjer:
:sp file.txt:vsp
Split the window vertically
Primjer:
:vsp file.txtCtrl+w+w
Switch focus to the next split window
Primjer:
Ctrl+w wCtrl+w+h/j/k/l
Move focus to the window in the given direction
Primjer:
Ctrl+w l:close
Close the current window split
Primjer:
:close:only
Close all windows except the current one
Primjer:
:only:bn
Switch to the next buffer
Primjer:
:bn:bp
Switch to the previous buffer
Primjer:
:bp:bd
Delete (close) the current buffer
Primjer:
:bd:ls
List all open buffers
Primjer:
:ls:b N
Switch to buffer number N
Primjer:
:b 2:tabnew
Open a new tab
Primjer:
:tabnew file.txt:tabn
Switch to the next tab
Primjer:
:tabn:tabp
Switch to the previous tab
Primjer:
:tabp:tabclose
Close the current tab
Primjer:
:tabclosegt
Go to the next tab
Primjer:
gtgT
Go to the previous tab
Primjer:
gTq{a-z}
Start recording a macro into register {a-z}
Primjer:
qqq (stop)
Stop recording the current macro
Primjer:
q@{a-z}
Execute the macro stored in register {a-z}
Primjer:
@q@@
Repeat the last executed macro
Primjer:
@@N@{a-z}
Execute macro N times
Primjer:
5@q:reg
Show the contents of all registers
Primjer:
:regv then d
Select text in Visual mode then delete it
Primjer:
vwdv then y
Select text in Visual mode then yank (copy) it
Primjer:
vwyv then c
Select text in Visual mode then change it
Primjer:
vwcv then >
Indent selected text to the right
Primjer:
vip>vip
Select the current paragraph in Visual mode
Primjer:
vipviw
Select the current word in Visual mode
Primjer:
viwvis
Select the current sentence in Visual mode
Primjer:
visV then J
Select lines in Visual Line mode then join them
Primjer:
VjJ:set number
Show line numbers
Primjer:
:set number:set nonumber
Hide line numbers
Primjer:
:set nonumber:syntax on
Enable syntax highlighting
Primjer:
:syntax on:colorscheme
Change the color scheme
Primjer:
:colorscheme desert:help {topic}
Open Vim help for a topic
Primjer:
:help :wm{a-z}
Set a mark at the current cursor position
Primjer:
ma'{a-z}
Jump to the line of a mark
Primjer:
'a`{a-z}
Jump to the exact position of a mark
Primjer:
`a:set paste
Enable paste mode to avoid auto-indent issues
Primjer:
:set paste:set ignorecase
Make searches case-insensitive
Primjer:
:set ignorecase:set hlsearch
Highlight all search matches
Primjer:
:set hlsearchga
Show the ASCII value of the character under the cursor
Primjer:
gazz
Center the current line on the screen
Primjer:
zzCtrl+g
Show the current file name and cursor position
Primjer:
Ctrl+gPovezani alati
Vidi sve alateGit naredbe Varalica
Sveobuhvatna šifra Git naredbi. Pretražujte 80+ bitnih Git naredbi s primjerima, opisima i kopijom jednim klikom.
Docker naredbe Varalica
Sveobuhvatna lista za varanje naredbi Docker. Pretražujte 70+ bitnih Docker naredbi s primjerima, opisima i kopiranjem jednim klikom.
Linux / Bash Varalica za naredbe
Sveobuhvatna šifra za Linux i Bash naredbe. Pretražujte 80+ bitnih naredbi s primjerima, opisima i kopijom jednim klikom.
SQL Formater & Uljepšavač
Formatirajte, uljepšajte i očistite SQL upite u trenu u svom pregledniku. Nije potrebno učitavanje — potpuno privatno i besplatno.