Tool.Yun
Handige tools voor ontwikkelaars
Achtergrond van de afbeelding verwijderen
Afbeelding EXIF/Metadata/GPS/JPEG Kwaliteitslezer
Afbeelding bijsnijden
Afbeelding naar SVG (potrace)
Afbeelding vergelijken
Afbeeldingsformaat wijzigen
Afbeeldingskleuromvormer
Camera recorder
Converter voor afbeeldingsformaten
EXIF verwijderen
GIF naar MP4
HEIC-converter
ICO/PNG-converter
OCR-afbeelding en PDF
SVG-voorbeeldweergave
Watermerk
Base64 Hex-array-encoder/-decoder
Base64 bestandconversie
Base64 string encoder/decoder
Basis converter
Converter voor veel eenheden
Csv naar gegevens
Dataopslageenheid converter
E-mailnormalisator
Eigenschappen converter
Energieverbruik- en kostencomputer
Env-variabelen formaatconverter
Excel naar gegevens
Omrekenaar van geografische coรถrdinaten
Romeins cijfer omzetten
Tekst naar UTF-8 binair
Tekst naar Unicode
Torrent naar Magneet
ULID-generator
Unicode-tekens naar Java-entiteiten converter
dBm mW-converter
AGE Cryptografie
Ansible kluis crypt decoderen
Argon2 Hasher
Bcrypt
Bech32 Encoder/Decoder
Bestand Hasher
CRC-calculator
Certificaat-/sleutelparser
ECDSA-sleutelpaargenerator
Ed25519 sleutelpaargenerator
HMAC generator
Hash-tekst
JWT-generator
JWT-parser
Jasypt String Encryption
MVO-generator
Niceware Bytes naar wachtwoordzin
PGP-bestandsversleuteling
PGP-encryptie
PGP-sleutelgenerator
Paseto/PASERK Lokaal
Paseto/PASERK Publiek/Privรฉ
RSA-encryptie
RSA-sleutelpaar generator
RSA/DSA/ECDSA-ondertekenaar en verificateur
SAML-parser
SSL-certificaatconverter
Shamirs geheime delen
Versleutel / ontsleutel tekst
X509-certificaatgenerator
BMI-calculator
BTW-nummervalidator
Compatibiliteit van softwarelicenties
Creditcardcontrole
IBAN validator en parser
IES-verlichtingsrichtlijnen
ISBN-validator en -parser
ISO 3166 Landcodezoeker
ISO 639-zoeker
Kalenderomzetter
Leg het shellcommando uit
Looptempo calculator
Luhn Validator
Online woordenboek
RMB Hoofdletterconverter
SLA-calculator
Telefoon parser en formatter
Unicode-zoekopdracht
Valutacalculator
Aftellen
Chronometer
Cron/Weekdag Alarm
Dagencalculator
Datum+Duurcalculator
Datum/tijd-converter
Duurcalculator
ETA calculator
ICAL-bestandsparser
ICAL-generator
TTL-calculator
Tijdalarm
Tijdzone-omzetter
Weeknummers converter
Welke dag?
iCal-fusie
Docker Compose Validator
Docker Compose naar .env-bestand
Docker Compose naar Docker run converter
Docker Compose naar Quadlets
Docker Compose-formaatconverter
Docker Pangolin-labels
Docker compose naar Kubernetes
Docker inspecteren om Docker uit te voeren
Docker run naar Docker compose converter
Docker run naar Kubernetes
Docker-image-downloader
Docker-run naar Quadlets
Dockerfile Label Generator
Kubernetes RBAC-generator
Traefik Docker Compose Maker
Amortisatiecalculator
ActiveDirectory LDAP-eigenschappenzoeker
Bestandstypedetector
Bounce e-mailparser
Converter voor drijvende-kommagetallen
Cookies-parser
DMARC-rapportanalysator
DNS-propagatietester
DNS-tester
Dode pixeltester
E-mailparser
EMV TLV-decoder
ETH-transactiedecoder
GZip/Deflate-converter
Gevoelige gegevensmasker
HTTPS-tester
Hex-encoder/decoder
Keycode-informatie
Korte URL's Expander
MIME-coderingsconverter
Midden-Endiaanse converter
MongoDB ObjectId-converter
Nmap Command Builder
Outlook MSG-parser
Outlook Safelink-decoder
Parketbestandenlezer
RJ45 Cat6 bedradingsspiekbrief
SMART Raw Converter
Seriรซle poortconsole
Sharepoint Share URL Decoder
Sneeuwvlok-ID-extractor
TCPDump-generator
Tekstcharsetdetector/-decoder
URL parser
URL-builder
Weerstandscalculator
้”ฎ็›˜ๆต‹่ฏ•ๅ™จ
Dobbelsteenroller
Kaartkiezer
Muntengooier
Rad van fortuin
BIP39 wachtwoordgenerator
Diceware wachtwoordgenerator
Generator voor willekeurige getallen
NanoIDs-generator
Numeroniem generator
OTP-codegenerator
Pincodegenerator
Token generator
UUID-converter
UUID-generator
Wachtwoordzingenerator
Berichtenpakket naar JSON
CSV naar JSON
JS naar JSON-converter
JSON naar .env
JSON naar C#
JSON naar CSV
JSON naar JS-converter
JSON naar Java Entiteit
JSON naar MessagePack
JSON naar TOML
JSON naar TS
JSON naar XML
JSON naar YAML converter
JSON naar gegevens
JSON om bezwaar te maken
JSON om te gaan
JSON opmaken en formatteren
JSON verkleinen
JSON-afvlakker/ontvlakker
JSON-diff
JSON-editor
JSON-fusie
JSON-linter
JSON-sorteermaster
Jq/JSONPath-tester
Json Escaper/Unescaper
Json naar PHP-Array
Json naar PHP-code
Json naar Python
Json naar SQL DDL
Json naar schema
Json-grootte-analysator
Json-query
Json-stringconverter
ObjGen naar JSON
PHP-Array naar JSON
tools.json-patch.name
Epub naar Markdown
HTML naar markdown
Markdown Lorem Ipsum
Markdown naar DOCX
Markdown naar HTML
Markdown naar data
Markdown naar tekst
Markdown-editor
Markdown-inhoudsopgavegenerator
Markdown-tabelgenerator
Markdown-tabelprettiger
Markdown-verschil
Markdown-voorbeeld
Plakken als Markdown
tools.markdown-format-converter.name
Beeldverhoudingcalculator
Benchmark-builder
Geo-afstandscalculator
Percentage calculator
Acceleratieomvormer
Drukeenheden converter
Energie-eenheden converter
Fitnesscomputer
Frequentieomzetter
Hoekeenheden converter
Kracht-eenheden converter
Lengte-eenheden converter
Massa-eenheden converter
Oppervlakte-eenheden converter
SI-voorvoegselomzetter
Snelheidsomzetter
Temperatuurconverter
Verlichtingssterkteconverter
Vermogenomvormer
Voedsel-energieomzetter
Volume-eenheden converter
Volumestroomomzetter
ARPA-decoder
Apache LogRotate Generator
BIMI DNS-generator
Basis-auth generator
Calculator voor het uitsluiten van IP-subnetten
Chmod calculator
Cloudflare DNS/RDAP-query's
Crontab generator
Curl Command Generator
DKIM DNS-generator
DMARC DNS-generator
DNS-query's
DNSBL-controleur
FStab-generator
Gegevensoverdrachtssnelheidcalculator
Gehele getallen naar IPv4/IPv6
Generator voor afsluitopdrachten
HAS-ontsmettingsmiddel
HDD-calculator
HTAccess-generator
Htpasswd/htaccess-generator
IP-geografische locatie
IPv4 subnetcalculator
IPv4-6/IPRange/CIDR in IP-bereik/CIDR/IP-masker
IPv4-adresconverter
IPv4-bereik uitbreider
IPv4-subnetlister
IPv4/6-bereik naar CIDR(s)-calculator
IPv6 ULA-generator
IPv6-adresconverter
IPv6-subnetcalculator
Iptables-generator
Ipv4/6 CIDR naar IP-bereikcalculator
MAC-adres generator
MAC-adres opzoeken
MAC-adresconverter
Microfoontester
Mijn IP-adres
Multilink-downloader
Nginx-formatter
Optie43 generator
PTR DNS-generator
Ping
Poortnummers
Punycode-converter
RAID-betrouwbaarheidscalculator
RAID-calculator
Rsync-generator
SIP-autorisatie
SPF DNS-generator
Shell-opdrachten formatteren
Shell-opdrachten linearisator
TCP/UDP-poorttester
UFW-commandogenerator
Visuele subnetcalculator
WPA PSK-generator
Wachtwoord sterkte-analyse
Websocket-testen
Whois-controle
Willekeurige poortgenerator
Wireguard-configuratiegenerator
X-VR-SpamCause Decoder
ZPOOL RAID-calculator
ZPool Spiekbriefje
Zxcvbn Wachtwoordsterkte
firewalld opdrachtregelgenerator
tools.restic-command-generator.name
tools.url-redirection-checker.name
ANSI Escape Tester
API-tests
Bestandssplitter
CSS/JS Opmaak & Minimalisatie
Cli-opdracht-editor
Code/Scripts Markeerstift
Database tabelgenerator
Database-creatiebuilder
Databaseverbindingsreeksbouwer
Django Secret Generator
Favicon-generator
Gegevensvervalser
GitIgnore-generator
Gitattributengenerator
HEX-bestandsconverter
Javascript Obfuscator
Javascript Prettifier
Javascript Unobfuscator/Unpacker
Json naar Protobuf
Json naar SQL INSERT
Json naar Typescript
K6 Load Testing Script Generator
Krulconverter
Mailto-generator
Offerte Converter
Open graph meta generator
Picomatch-tester
Pomodoro-timer
SQL opmaken en formatteren
SQL-minifier
SQL-parametergenerator
Stacktrace mooier
String Escaper
Swagger UI-tester
HTML naar PDF
PDF decoderen en ontgrendelen
PDF versleutelen
PDF-compressor
PDF-handtekening checker
PDF-pagina-extractor
PDF-tekstextractor
Pdf Lineariseren/FastWeb
Pdf-concatener
Algemene Regex-spiekbrief
Bash Spiekbriefje
CSS-selectors-spiekbriefje
Docker Compose-spiekbriefje
Docker SWARM-spiekbriefje
Docker-spiekbriefje
Dockerfile-spiekbriefje
Git Semantische Commit Spiekbriefje
Git cheatsheet
JSONPath-syntaxis-spiekbriefje
Jq Spiekbriefje
K8s Spiekbriefje
Markdown-spiekbriefje
Nano Spiekbriefje
Nginx Spiekbriefje
PowerShell-spiekbrief
Regex-spiekbriefje
Sed-spiekbriefje
Spiekbrief voor Zellij-commando's
Spiekbriefje voor Tmux-opdrachten
Spiekbriefje voor schermopdrachten
VIM-spiekbriefje
XPath-syntaxis-spiekbriefje
chmod Commando Spiekbriefje
Cron-expressiebouwer
Barcodegenerator
Barcodelezer
GTIN-validator
QR-code generator
QR-codedecoder
QR-contactgegevensgenerator
WiFi QR-code generator
tools.epc-qrcode-generator.name
TOML Linter
TOML naar JSON
TOML naar YAML
AI Prompt Splitter
ASCII-kunsttekstgenerator
Afbeelding naar ASCII Art
Bestanden inpakken voor AI
Citatiegenerator
Dubbele regelszoeker
Emoji keuze
GPT-token-encoder/-decoder
GPT-tokenschatter
Hoofdletter-omzetter
I en L-controleur
JSON naar TOON
Lettertype vergelijken
Levenshtein-rekenmachine
Lijstconverter
Lijsten vergelijken
Lorem ipsum generator
Mapstructuurdiagram
Morsecode-omzetter
RSVP-lezer
Regex-tester
Rune-converter
Sed Command-generator
Slimme tekstvervanger en regelafbreking
Sociale linkdeler
String obfuscator
TOON naar JSON
Tab naar Spaces
Tekst naar NAVO-alfabet
Tekst naar Unicode-namen
Tekst uit HTML halen
Tekst-diff
Tekststatistieken
Tekstvertaler
Toetsenbordindeling converter
Unicode naar GSM-7
Unicode-formatter
Verschillende woorden
Willekeurige regelkiezer
Zalgo Generator/Banner
Zeemeermin exporteur
Afbeelding naar CSS
Apparaat-informatie
CSS XPath-converter
CSS-eenhedenconverter
CSS-verloopgenerator
Css-prettiger
HTML WYSIWYG-editor
HTML naar XHTML
HTML naar data
HTML-entiteiten
HTML-minifier
HTML-prettiger
HTML-reiniger
HTTP-statuscodes
Kleurcontrastcontrole
Kleurconverter
Kleurenwiel
MIME-types
REM Pixelconverter
SVG placeholder generator
Slugify string
URL-catcher
URL-encoder
URL-reiniger
UTM-URL-generator
Url Tekst Zoeken Fragment Maker
User-agent parser
Binaire rekenmachine
Converter voor wiskundige formaten
Fooiencalculator
Trigonometrische/vergelijkingscurve-visualisator
Wiskunde evaluator
Wiskundige OCR
ObjGen naar HTML
XML formatter
XML naar JSON
XML-linter
XPath-tester
XSLT-tester
YAML naar JSON converter
YAML naar TOML
YAML opmaken en formatteren
YAML-afvlakker/ontvlakker
YAML-fusie

VIM-spiekbriefje

Vim-teksteditoropdrachten

Vim is a modal editor: keys mean different things depending on the mode you are in. Most commands compose as count + operator + motion โ€” 3dw deletes three words, d$ deletes to the end of the line โ€” so learning a new motion instantly upgrades every operator you already know.

๐Ÿ’ก New to Vim? Run vimtutor in a terminal โ€” 30 minutes, and the rest of this sheet starts making sense.

๐Ÿšฆ Modes

ModeEnter withLeave withFor
NormalEsc (or Ctrl-[)โ€”Moving and running commands
Inserti a o I A OEscTyping text
Visualv V Ctrl-vEscSelecting text
Command-line: / ?Enter or EscEx commands and searches
ReplaceREscOvertyping

๐Ÿงญ Cursor Movement

KeyMoves to
h j k lLeft, down, up, right
w / WStart of the next word / WORD (WORD ignores punctuation)
e / EEnd of the next word / WORD
b / BStart of the previous word / WORD
ge / gEEnd of the previous word / WORD
0First column of the line
^First non-blank character
$End of the line
g_Last non-blank character
f<char> / F<char>Next / previous occurrence of a character on the line
t<char> / T<char>Just before the next / after the previous occurrence
; / ,Repeat the last f/t forwards / backwards
} / {Next / previous paragraph
) / (Next / previous sentence
gg / GFirst / last line of the file
<n>G or :<n>Line n
H M LTop, middle, bottom of the screen
Ctrl-d / Ctrl-uHalf a page down / up
Ctrl-f / Ctrl-bA full page down / up
zz zt zbScroll so the cursor line is centred / at the top / at the bottom
%The matching bracket, brace or parenthesis
Ctrl-o / Ctrl-iBack / forward through the jump list
g; / g,Back / forward through the change list
'' / ``Back to where the last jump started

โœ๏ธ Entering Insert Mode

KeyStarts typing
i / IBefore the cursor / at the first non-blank character
a / AAfter the cursor / at the end of the line
o / OOn a new line below / above
s / SDeleting the character / the whole line first
ccReplacing the whole line
CReplacing from the cursor to the end of the line
giWhere you last left insert mode
Ctrl-oRun one normal-mode command, then return to insert

๐Ÿ”ง Operators & Text Objects

An operator waits for a motion or a text object. Doubling the operator (dd, yy, >>) applies it to the whole line.

OperatorDoes
dDelete (into a register)
cChange โ€” delete, then insert
yYank (copy)
> / <Indent / unindent
=Re-indent
gu / gU / g~Lower-case / upper-case / toggle case
gqReformat to textwidth
Text objectSelects
iw / awInner word / a word plus its trailing space
is / asSentence
ip / apParagraph
i" a"Inside / including the double quotes
i' a'Inside / including the single quotes
i( a(Inside / including the parentheses (also ib, ab)
i{ a{Inside / including the braces (also iB, aB)
i[ a[Inside / including the brackets
i< a<Inside / including the angle brackets
it / atInside / including an HTML or XML tag
ciw     change the word under the cursor
ci"     change everything inside the quotes
da(     delete the parentheses and their contents
yi{     yank the body of a block
2dd     delete two lines
d3w     delete three words
>ap     indent the whole paragraph

โœ‚๏ธ Editing

KeyDoes
x / XDelete the character under / before the cursor
r<char>Replace one character, staying in normal mode
ROvertype until Esc
~Toggle the case of one character
J / gJJoin the next line, with / without a space
u / Ctrl-rUndo / redo
UUndo every change on the current line
.Repeat the last change โ€” the most valuable key in Vim
Ctrl-a / Ctrl-xIncrement / decrement the number under the cursor
>> / <<Indent / unindent the line
==Re-indent the line
:earlier 10m / :later 5mMove through the undo tree by time

๐Ÿ“‹ Copy, Paste & Registers

KeyDoes
yy (or Y)Yank the line
y<motion>Yank what the motion covers
p / PPaste after / before the cursor
]pPaste and match the current indentation
dd / DDelete the line / to the end of the line
"ayy / "apYank into and paste from register a
"+y / "+pYank to and paste from the system clipboard
"0pPaste the last yank (never overwritten by deletes)
:registersShow every register
xp / ddpSwap two characters / two lines

โš ๏ธ In Vim, deleting also yanks โ€” dd overwrites the unnamed register. Use "0p to paste what you last copied, or yank into a named register first.

๐Ÿ” Search & Replace

CommandDoes
/pattern / ?patternSearch forwards / backwards
n / NNext / previous match
* / #Search for the word under the cursor, forwards / backwards
:nohClear the search highlighting
:s/old/new/Replace the first match on the line
:s/old/new/gReplace every match on the line
:%s/old/new/gReplace throughout the file
:%s/old/new/gcโ€ฆasking for confirmation on each
:%s/old/new/giโ€ฆignoring case
:'<,'>s/old/new/gOnly inside the visual selection
:%s/\<word\>/new/gWhole words only
&Repeat the last substitution on this line

The global command

:g runs an Ex command on every line matching a pattern โ€” the power tool of Vim.

:g/TODO/d           delete every line containing TODO
:v/keep/d           delete every line NOT containing 'keep' (:v is :g!)
:g/^$/d             delete all blank lines
:g/error/normal A;  append a semicolon to every matching line
:g/pattern/t$       copy matching lines to the end of the file
:g/pattern/m0       move matching lines to the top (reverses their order)

๐ŸŽจ Visual Mode

KeyDoes
vCharacter-wise selection
VLine-wise selection
Ctrl-vBlock (column) selection
gvReselect the previous selection
oJump to the other end of the selection
d / y / cDelete, yank or change the selection
> / <Indent / unindent the selection
u / U / ~Lower-case, upper-case, toggle
:'<,'>Run an Ex command over the selection
Ctrl-v, select lines, I, type, Esc     insert the same text on every line
Ctrl-v, select lines, $, A, type, Esc  append at the end of every line
Ctrl-v, select, d                      delete a rectangular block

๐Ÿ”– Marks & Jumps

KeyDoes
m<a-z>Set a mark in this file
m<A-Z>Set a global mark, across files
`aJump to mark a, exact position
'aJump to the start of the line holding mark a
`.Jump to the position of the last edit
:marksList every mark
:delmarks aDelete a mark

๐ŸŽฌ Macros

KeyDoes
q<a-z>Start recording into a register
qStop recording
@aPlay the macro back
@@Replay the last macro
10@aRun it ten times
:%normal @aRun it on every line of the file

๐Ÿ“‚ Files, Buffers, Windows & Tabs

CommandDoes
:e <file>Open a file
:e!Reload, discarding changes
:w / :w <file>Save / save as
:waSave every changed buffer
:q / :q!Quit / quit without saving
:wq or :x or ZZSave and quit
ZQQuit without saving
:ls / :buffersList the open buffers
:b <n> / :b <name>Switch to a buffer
:bn / :bp / :bdNext / previous / delete buffer
:sp / :vspSplit horizontally / vertically
Ctrl-w h j k lMove to the window in that direction
Ctrl-w wCycle through the windows
Ctrl-w q / Ctrl-w oClose this window / close all the others
Ctrl-w =Make all windows the same size
Ctrl-w + / - / < / >Resize the window
:tabnew <file>Open a new tab
gt / gTNext / previous tab
:tabc / :taboClose this tab / close all the others
:r <file> / :r !cmdRead a file, or a commandโ€™s output, into the buffer
:!<cmd>Run a shell command
:%!<cmd>Filter the whole buffer through a command
:w !sudo tee %Save a file you opened without permission

๐Ÿ“‘ Folding

KeyDoes
zf<motion>Create a fold
za / zAToggle this fold / recursively
zo / zcOpen / close this fold
zR / zMOpen / close every fold
zj / zkMove to the next / previous fold

๐Ÿงฉ Completion & Spelling

KeyDoes
Ctrl-n / Ctrl-pComplete a word from the open buffers
Ctrl-x Ctrl-fComplete a file path
Ctrl-x Ctrl-lComplete a whole line
Ctrl-x Ctrl-oOmni-completion (language-aware)
:set spell spelllang=en_usTurn spell checking on
]s / [sNext / previous misspelling
z=Suggestions for the word under the cursor
zg / zwAdd to the dictionary / mark as wrong

๐Ÿงต Quickfix & Diff

CommandDoes
:make / :grep <pat>Fill the quickfix list
:copen / :ccloseOpen / close the quickfix window
:cn / :cpJump to the next / previous entry
:cfirst / :clastFirst / last entry
vimdiff a bOpen two files in diff mode
]c / [cNext / previous difference
do / dpObtain / put the change under the cursor
:diffupdateRefresh the diff

โš™๏ธ Handy :set Options

OptionEffect
:set nu / :set nonuShow / hide line numbers
:set rnuRelative line numbers โ€” makes 5j obvious
:set ic / :set noicIgnore case when searching
:set is / :set hlsIncremental search / highlight matches
:set wrap / :set nowrapSoft-wrap long lines
:set listShow tabs and trailing whitespace
:set pasteStop auto-indent mangling pasted text
:set ft=<type>Force a file type
:set sw=4 ts=4 etFour-space indentation, spaces not tabs
:syntax onSyntax highlighting

๐Ÿ“„ A Starting ~/.vimrc

set nocompatible
syntax on
filetype plugin indent on

set number relativenumber
set incsearch hlsearch ignorecase smartcase
set expandtab shiftwidth=2 tabstop=2
set scrolloff=5
set hidden
set undofile
set clipboard=unnamedplus

" a leader key, and a few mappings that pay for themselves
let mapleader = " "
nnoremap <leader>w :w<CR>
nnoremap <leader>/ :nohlsearch<CR>
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l

โ„น๏ธ Mappings that start with <leader> are your configuration, not built-in Vim. If a leader shortcut on someone elseโ€™s cheat sheet does nothing, that is why.

๐Ÿ“š Resources

  • vimtutor โ€” the built-in 30-minute tutorial
  • :help <topic> โ€” Vimโ€™s own documentation, and it is excellent
  • Vim documentation
  • Vim Adventures โ€” learn by playing
  • Practical Vim (book)