Tool.Yun
Handy tools for developers
Barcode Reader
Barcode generator
GTIN Validator
QR Code decoder
QR Code generator
QR Contact Info generator
WiFi QR Code generator
tools.epc-qrcode-generator.name
Bash Cheatsheet
CSS Selectors Cheatsheet
Common Regex Cheatsheet
Docker Cheatsheet
Docker Compose cheatsheet
Docker SWARM cheatsheet
Dockerfile cheatsheet
Git Semantic Commit Cheatsheet
Git cheatsheet
JSONPath Syntax Cheatsheet
Jq Cheatsheet
K8s Cheatsheet
Markdown Cheat Sheet
Nano CheatSheet
Nginx Cheatsheet
Powershell Cheatsheet
Regex cheatsheet
Screen Command Cheatsheet
Sed cheatsheet
Tmux Command Cheatsheet
VIM Cheatsheet
XPath Syntax Cheatsheet
Zellij Command Cheatsheet
chmod Command Cheatsheet
Base64 Hex array encoder/decoder
Base64 file converter
Base64 string encoder/decoder
Csv to Data
Data Storage Unit converter
Email normalizer
Energy Consumption and Expense Computer
Env Variables Format Converter
Excel to data
Geographic Coordinates Converter
Integer base converter
Many Units Converter
Properties converter
Roman numeral converter
Text to UTF-8 binary
Text to Unicode
Torrent to Magnet
ULID generator
Unicode Characters to Java Entities Converter
dBm mW Converter
AGE Cryptography
Ansible vault crypt decrypt
Argon2 Hasher
Bcrypt
Bech32 Encoder/Decoder
CRC calculator
CSR Generator
Certificate/Key parser
ECDSA key pair generator
Ed25519 key pair generator
Encrypt / decrypt text
File Hasher
Hash text
Hmac generator
JWT Generator
JWT parser
Jasypt String Encryption
Niceware Bytes to Passphrase
PGP File Encryption
PGP encryption
PGP keygen
Paseto/PASERK Local
Paseto/PASERK Public/Private
RSA encryption
RSA key pair generator
RSA/DSA/ECDSA Signer and Verifier
SAML Parser
SSL Certificate converter
Shamirs Secret Sharing
X509 certificate generator
BMI Calculator
Calendar Converter
Credit Card Checker
Currency Converter
Explain Shell Command
IBAN validator and parser
IES Lighting Guidelines
ISBN Validator and Parser
ISO 3166 Country Codes Searcher
ISO 639 Searcher
Luhn Validator
Online Dictionary
Phone parser and formatter
RMB Uppercase Converter
Running Pace Calculator
SLA calculator
Software licence compatibility
Unicode Search
VAT Numbers Validator
Chronometer
Countdown
Cron/Weekday Alarm
Date+Durations Calculator
Date-time converter
Days Calculator
Duration Calculator
ETA calculator
ICAL File Parser
ICAL Generator
TTL calculator
Time Alarm
Timezone Converter
Week Numbers Converter
Which Day?
iCal Merger
Cron Expression Builder
ANSI Escape Tester
API Tester
CSS/JS Prettify & Minify
Cli command editor
Code/Scripts Highlighter
Curl Converter
Data Faker
Database Connection String Builder
Database Creation Builder
Database Table Generator
Django Secret Generator
Favicon Generator
File Splitter
GitIgnore Generator
Gitattributes Generator
HEX File Converter
Javascript Obfuscator
Javascript Prettifier
Javascript Unobfuscator/Unpacker
Json to Protobuf
Json to SQL INSERT
Json to Typescript
K6 Load Testing Script Generator
Mailto Generator
Open graph meta generator
Picomatch Tester
Pomodoro Timer
Quote Converter
SQL Minifier
SQL Parameters Generator
SQL prettify and format
Stacktrace prettier
String Escaper
Swagger UI tester
Docker Compose Format Converter
Docker Compose Validator
Docker Compose to .env file
Docker Compose to Docker run converter
Docker Compose to Quadlets
Docker Image Downloader
Docker Pangolin Labels
Docker compose to kubernetes
Docker inspect to Docker run
Docker run to Docker compose converter
Docker run to Quadlets
Docker run to kubernetes
Dockerfile Label Generator
Kubernetes RBAC Generator
Traefik Docker Compose Maker
Amortization Calculator
ActiveDirectory LDAP properties searcher
Bounce Email Parser
Cookies Parser
DMARC Report Analyzer
DNS Propagation Tester
DNS Tester
Dead Pixel Tester
EMV TLV decoder
ETH Transaction Decoder
Email Parser
File Type Detector
Floating point number converter
GZip/Deflate converter
HTTPS Tester
Hex Encoder/Decoder
Keycode info
MIME Encoding Converter
Middle-Endian Converter
MongoDB ObjectId Converter
Nmap Command Builder
Outlook MSG Parser
Outlook Safelink decoder
Parquet files Reader
RJ45 Cat6 Wiring Cheatsheet
Resistor Calculator
SMART Raw Converter
Sensitive data masker
Serial Port Console
Sharepoint Share Url Decoder
Short Urls Expander
Snowflake ID extractor
TCPDump Generator
Text Charset Detector/Decoder
URL Builder
URL parser
้”ฎ็›˜ๆต‹่ฏ•ๅ™จ
Card Picker
Coin Flipper
Dice Roller
Fortune wheel
BIP39 passphrase generator
Diceware Password Generator
NanoIDs generator
Numeronym generator
OTP code generator
Passphrase Generator
Pin Code Generator
Random numbers generator
Token generator
UUID converter
UUIDs generator
Camera recorder
Crop image
GIF to MP4
HEIC Converter
ICO/PNG converter
Image Color Inverter
Image Comparer
Image EXIF/Metadata/GPS/JPEG Quality reader
Image Formats Converter
Image resizer
Image to SVG (potrace)
OCRize image and PDF
Remove EXIF
Remove Image Background
SVG Previewer
Watermarker
CSV to JSON
JS to JSON converter
JSON Editor
JSON Flattener/Unflattener
JSON Linter
JSON Merger
JSON diff
JSON minify
JSON prettify and format
JSON sort master
JSON to .env
JSON to C#
JSON to CSV
JSON to Data
JSON to Go
JSON to JS converter
JSON to Java Entity
JSON to MessagePack
JSON to TOML
JSON to TS
JSON to XML
JSON to YAML converter
JSON to object
Jq/JSONPath Tester
Json Escaper/Unescaper
Json Query
Json Size Analyzer
Json string converter
Json to PHP Code
Json to PHP-Array
Json to Python
Json to SQL DDL
Json to Schema
Message Pack to JSON
ObjGen to JSON
PHP-Array to JSON
tools.json-patch.name
Epub to Markdown
Format Converter
HTML to markdown
Markdown Diff
Markdown Editor
Markdown Lorem Ipsum
Markdown Table Generator
Markdown Table Prettifier
Markdown preview
Markdown to DOCX
Markdown to HTML
Markdown to Text
Markdown to data
Markdown toc generator
Paste as Markdown
Binary Calculator
Math Formats Converter
Math OCR
Math evaluator
Tip calculator
Trigonometric/Equation Curve Visualizer
Aspect Ratio Calculator
Benchmark builder
Geo distance calculator
Percentage calculator
ARPA Decoder
Apache LogRotate Generator
BIMI DNS Generator
Basic auth generator
Chmod calculator
Cloudflare DNS/RDAP Queries
Crontab generator
Curl Command Generator
DKIM DNS Generator
DMARC DNS Generator
DNS Queries
DNSBL Checker
Data Transfer Rate Calculator
FStab Generator
HAR Sanitizer
HDD calculator
HTAccess generator
Htpasswd/htaccess generator
IP Geo Location
IP Subnets Exclude Calculator
IPv4 Subnets Lister
IPv4 address converter
IPv4 range expander
IPv4 subnet calculator
IPv4-6/IPRange/CIDR in IPRange/CIDR/IPMask
IPv4/6 Range to CIDR(s) Calculator
IPv6 ULA generator
Integers to IPv4/IPv6
Iptables Generator
Ipv4/6 CIDR to IP Range Calculator
Ipv6 address converter
Ipv6 subnet calculator
MAC Address Converter
MAC address generator
MAC address lookup
Microphone Tester
Multi link downloader
My IP Address
Nginx formatter
Option43 generator
PTR DNS Generator
Password strength analyser
Ping
Port Numbers
Punycode Converter
RAID Calculator
RAID Reliability Calculator
Random port generator
Restic Command Generator
Rsync Generator
SIP Authorization
SPF DNS generator
Shell Commands Formatter
Shell Commands Linearizer
Shutdown Command Generator
TCP/UDP Port Tester
UFW Command Generator
Visual Subnet Calculator
WPA PSK generator
Websocket tester
Whois Checker
Wireguard Config Generator
X-VR-SpamCause Decoder
ZPOOL RAID calculator
ZPool Cheatsheet
Zxcvbn Password Strength
firewalld command line generator
tools.url-redirection-checker.name
HTML to PDF
PDF Compressor
PDF Text Extractor
PDF signature checker
Pdf Concatener
Pdf Decrypt and Unlock
Pdf Encrypt
Pdf Linearize/FastWeb
Pdf Page Extractor
Acceleration Converter
Angle Units Converter
Area Units Converter
Energy Units Converter
Fitness Computer
Food Energy Converter
Force Units Converter
Frequency Converter
Illuminance Converter
Length Units Converter
Mass Units Converter
Power Converter
Pressure Units Converter
SI Prefixes Converter
Speed Converter
Temperature converter
Volume Flow Rate Converter
Volume Units Converter
TOML Linter
TOML to JSON
TOML to YAML
AI Prompt Splitter
ASCII Art Text Generator
Case converter
Citation Generator
Distinct Words
Duplicate Lines Finder
Emoji picker
Extract text from HTML
Folder Structure Diagram
Font Compare
GPT Token Encoder/Decoder
GPT Token Estimator
I and L Checker
Image to ASCII Art
JSON to TOON
Keyboard Layout Converter
Levenshtein Calculator
List converter
Lists Comparer
Lorem ipsum generator
Mermaid exporter
Morse Code Converter
Pack files for AI
RSVP Reader
Random Line Picker
Regex Tester
Rune converter
Sed Command generator
Smart Text Replacer and Linebreaker
Social Link Sharer
String obfuscator
TOON to JSON
Tab to Spaces
Text Translator
Text diff
Text statistics
Text to NATO alphabet
Text to Unicode Names
Unicode Formatter
Unicode to GSM-7
Zalgo Generator/Banner
CSS Gradient Generator
CSS Units Converter
CSS XPath Converter
Color Contrast Checker
Color Wheel
Color converter
Css prettifier
Device information
Encode/decode url formatted strings
Escape HTML entities
HTML Minifier
HTML Prettifier
HTML WYSIWYG editor
HTML cleaner
HTML to XHTML
HTML to data
HTTP status codes
Image to CSS
MIME types
REM Pixel converter
SVG placeholder generator
Slugify string
UTM Url Generator
Url Cleaner
Url Fanger
Url Text Search Fragment Maker
User-agent parser
ObjGen to HTML
XML Linter
XML formatter
XML to JSON
XPath Tester
XSLT tester
YAML Flattener/Unflattener
YAML Merger
YAML prettify and format
YAML to JSON converter
YAML to TOML

VIM Cheatsheet

Vim text editor commands

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)