Standard shortcuts are in Firefox shortcuts

Action keybinding
Copy the URL of the current page to clipboard βŒ₯ + C now using yy with Vimium


Action Shortcut
Open in external editor ⌘ + E
Export to PDF ⌘ + ⇧ + E
Pin tab ⌘ + .
Close all other panes ⌘ + ⇧ + W
Delete current file ⌘ + Backspace
Copy file path ⌘ + βŽ‡ + C
Open another vault ⌘ + ⇧ + O
Find unlinked files ⌘ + U
Focus on pane above ⌘ + ↑
Focus on pane below ⌘ + ↓
Focus on pane to the left ⌘ + βŽ‡ + ←
Focus on pane to the right ⌘ + βŽ‡ + β†’
Use dark mode βŽ‡ + D
Use light mode βŽ‡ + L
Toggle left sidebar βŽ‡ + ←
Toggle right sidebar βŽ‡ + β†’
Navigate back ⌘ + ←
Navigate forward ⌘ + β†’
Move file to another folder ⌘ + M
Toggle app ribbon ⌘ + ⇧ + ,
Toggle status bar βŒƒ + ⌘ + βŽ‡ + ,
Meld encrypt: Encrypt/Decrypt βŽ‡ + ⇧ + 4


Useful terminal commands

change screenshot format

defaults write type jpg
killall SystemUIServer

build a Jekyll website and deploy it


JEKYLL_ENV=production bundle exec jekyll build
rsync -avr --rsh='ssh' --delete-after --delete-excluded _site/

note: -avr could be -avz instead

Compress a file or a folder

zip -r -X folder-to-compress

prevent sleep

caffeinate -i -t 3600

Change update interval

defaults write ScheduleFrequency -int 1

A quick for loop

for f in *.txt; do pandoc '$f' -s -o '${f%.txt}.rtf'; done

watch Star Wars - A New Hope in ASCII (not a joke)

nc 23

Erase disk

sudo diskutil eraseDisk /dev/disk2 

Disk space usage

du # dust

recursively count files in a directory

find . -type f | wc -l

Take a screenshot:

man screencapture



GnuPG Cheat Sheets:


sd is a wonderful command-line tool to find and replace sub-strings in files. Its original version is sed, which comes by default in shell.

Replace foo with bar in all files inside pwd:

sd 'foo' 'bar' ./*

HTML proofer

HTML proofer is a Ruby script to check HTML quality of a local folder. It can both be used as a library and as a command line tool.

basic check of a Jekyll website

bundle exec htmlproofer --assume-extension --allow_hash_href --check_favicon --check_opengraph --check_html --check_img_http --http_status_ignore 429 --url_ignore '#!' --checks_to_ignore '#!' --report_eof_tags --report_invalid_tags --report_mismatched_tags --report_missing_names --report_script_embeds /Users/tommi/\_site # --report_missing_doctype

See HTML Proofer > Configuration for the complete parameters list.


linuxplosion > cheat sheet


vim > cheat sheet


pandoc > cheat sheet


exiftool > cheat sheet


ffmpeg > cheat sheet


git > cheat sheet

![[Server Setup#Nextcloud Cheat Sheet]]

πŸ— WIP section πŸ› 

This section should contain a beautifull graph displaying the relations among this note and all of the others on Unfortunately, showing it requires great coding skills and I am still working on it.




No webmentions were found.