3 # Show a list of available key bindings
6 curl -s 'https://raw.githubusercontent.com/instantOS/instantos.github.io/master/youtube/hotkeys.md' |
7 sed 's/^\([^|#]\)/ \1/g' |
8 sed 's/^##*[ ]*/ /g' >~/.cache/instantos/hotkeys.md &
11 if ! [ -e ~/.cache/instantos/hotkeys.md ]; then
12 mkdir -p ~/.cache/instantos &>/dev/null
16 cat ~/.cache/instantos/hotkeys.md >/tmp/hotkeys
18 less --mouse --wheel-lines=3 /tmp/hotkeys