From 51e010037575710aeadd6905e00239a8357582ae Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 8 Jul 2018 09:08:07 -0400 Subject: [PATCH] getkeys script/system added --- .larbs/getkeys/calcurse | 10 ++++++++++ .larbs/getkeys/feh | 14 ++++++++++++++ .larbs/getkeys/i3 | 11 +++++++++++ .larbs/getkeys/mutt | 34 ++++++++++++++++++++++++++++++++++ .larbs/getkeys/ncmpcpp | 20 ++++++++++++++++++++ .larbs/getkeys/newsboat | 22 ++++++++++++++++++++++ .larbs/getkeys/ranger | 35 +++++++++++++++++++++++++++++++++++ .larbs/getkeys/zathura | 18 ++++++++++++++++++ .scripts/getkeys | 12 ++++++++++++ 9 files changed, 176 insertions(+) create mode 100644 .larbs/getkeys/calcurse create mode 100644 .larbs/getkeys/feh create mode 100644 .larbs/getkeys/i3 create mode 100644 .larbs/getkeys/mutt create mode 100644 .larbs/getkeys/ncmpcpp create mode 100644 .larbs/getkeys/newsboat create mode 100644 .larbs/getkeys/ranger create mode 100644 .larbs/getkeys/zathura create mode 100755 .scripts/getkeys diff --git a/.larbs/getkeys/calcurse b/.larbs/getkeys/calcurse new file mode 100644 index 0000000..a20e624 --- /dev/null +++ b/.larbs/getkeys/calcurse @@ -0,0 +1,10 @@ + _ + ___ __ _| | ___ _ _ _ __ ___ ___ + / __/ _` | |/ __| | | | '__/ __|/ _ \ +| (_| (_| | | (__| |_| | | \__ \ __/ + \___\__,_|_|\___|\__,_|_| |___/\___| + +calcurse is the calendar and schedule manager. + tab - Switch from calendar to todo to appointments + h/j/k/l - Move left/down/up/right + Most other bindings are listed in the program. diff --git a/.larbs/getkeys/feh b/.larbs/getkeys/feh new file mode 100644 index 0000000..ac7f627 --- /dev/null +++ b/.larbs/getkeys/feh @@ -0,0 +1,14 @@ + __ _ + / _| ___| |__ +| |_ / _ \ '_ \ +| _| __/ | | | +|_| \___|_| |_| + +feh is the image viewer. + h/j/k/l - Pan image + J/K - Zoom out/in + f - Fullscreen + H/L - Previous/next image in list/directory + r - Reload image if changed + ! - Zoom to fill window + w - Zoom to fit window diff --git a/.larbs/getkeys/i3 b/.larbs/getkeys/i3 new file mode 100644 index 0000000..ddfaad3 --- /dev/null +++ b/.larbs/getkeys/i3 @@ -0,0 +1,11 @@ + _ _____ +(_)___ / +| | |_ \ +| |___) | +|_|____/ + +i3 is the window manager. + +The bindings for i3 can be accessed in LARBS by typing Super+F1. + +This file is in `~/.config/i3/i3_guide.pdf`. diff --git a/.larbs/getkeys/mutt b/.larbs/getkeys/mutt new file mode 100644 index 0000000..41069ff --- /dev/null +++ b/.larbs/getkeys/mutt @@ -0,0 +1,34 @@ + _ _ + _ __ ___ _ _| |_| |_ +| '_ ` _ \| | | | __| __| +| | | | | | |_| | |_| |_ +|_| |_| |_|\__,_|\__|\__| + +mutt is the email client. + j/k - Move down/up + d/u - Move down/up half page + gg - Move to top + v - View/download attachments + G - Move to last message + r - Reply + R - Reply all + S - Sync/save mailbox changes + D - Mark message for deletion + U - Unmark message for deletion + ctrl-u - Seek urls + ,, - Seek urls + ctrl-f - Search mail indexed with notmuch + ctrl-r - Mark all as read + l - Limit mail + o - Run quick sync with offlineimap + O - Run full sync with offlineimap + C - Copy a message to another mailbox + M - Move a message to another mailbox + B - Hide/reveal sidebar + ctrl-j/k - Move down/up on sidebar + ctrl-o - Open box selected in sidebar + gi - Go to inbox + gs - Go to sent mail + gd - Go to drafts + gS - Go to spam + i# - Go to a different account (# is the number of the account) diff --git a/.larbs/getkeys/ncmpcpp b/.larbs/getkeys/ncmpcpp new file mode 100644 index 0000000..63fa324 --- /dev/null +++ b/.larbs/getkeys/ncmpcpp @@ -0,0 +1,20 @@ + + _ __ ___ _ __ ___ _ __ ___ _ __ _ __ +| '_ \ / __| '_ ` _ \| '_ \ / __| '_ \| '_ \ +| | | | (__| | | | | | |_) | (__| |_) | |_) | +|_| |_|\___|_| |_| |_| .__/ \___| .__/| .__/ + |_| |_| |_| + +ncmpcpp is the music player. + h/j/k/l - Move left/down/up/right + d/u - Down/up page + a - Add song(s) to playlist + c - Clear playlist + g - Go to top + G - Go to bottom + p - Pause + m - Media library + f - Music sorted by directory structure + t - Tag editor + s - Search + v - Visualizer diff --git a/.larbs/getkeys/newsboat b/.larbs/getkeys/newsboat new file mode 100644 index 0000000..b6953b3 --- /dev/null +++ b/.larbs/getkeys/newsboat @@ -0,0 +1,22 @@ + _ _ + _ __ _____ _____| |__ ___ __ _| |_ +| '_ \ / _ \ \ /\ / / __| '_ \ / _ \ / _` | __| +| | | | __/\ V V /\__ \ |_) | (_) | (_| | |_ +|_| |_|\___| \_/\_/ |___/_.__/ \___/ \__,_|\__| + +newsboat is the RSS reader. + j/k - Move down/up + l - Open entry + h/q - Back/quit + Q - Quit immediately + J/K - Previous/next feed + n - Next unread + N - Previous unread + a - Toggle article read/unread + A - Mark all as read + U - Show all URLs + ,, - Open main link with linkhandler + ,p - Pick which program to open link with + ,v - Open video link in mpv + ,w - Open link in w3m + ,c - Copy link to clipboard diff --git a/.larbs/getkeys/ranger b/.larbs/getkeys/ranger new file mode 100644 index 0000000..bcf784b --- /dev/null +++ b/.larbs/getkeys/ranger @@ -0,0 +1,35 @@ + _ __ __ _ _ __ __ _ ___ _ __ +| '__/ _` | '_ \ / _` |/ _ \ '__| +| | | (_| | | | | (_| | __/ | +|_| \__,_|_| |_|\__, |\___|_| + |___/ + +ranger is the file manager. + j/k - Down/up + h - Left/higher in directory structure + l - Right/open/lower in directory structure + gg - Go to top + G - Go to bottom + cw - Rename file + I - Rename file, with cursor at beginning + A - Rename file, with cursor at end + aa - Rename file, with cursor right before extension + mkd - Make directory + bg - Change background/wallpaper to selected file + X - Extract archive + Z - Compress into tar.gz + Space - Highlight/select file + va - Highlight/(de)select all + vs - Toggle visual selection mode + uv - Deselect all + dd - Cut file(s) + yy - Yank/copy file(s) + pp - Paste cut/copied file(s) + po - Paste cut/copied file(s), overwriting originals + cW - Rename all selected files in text editor + D - Delete file(s) (press enter to confirm) + dD - Delete file(s) (press enter to confirm) + ctrl-f - Fuzzy find (fzf) + ctrl-l - Search via mlocate + q - Quit + Q - Immediate quit diff --git a/.larbs/getkeys/zathura b/.larbs/getkeys/zathura new file mode 100644 index 0000000..5b3a51a --- /dev/null +++ b/.larbs/getkeys/zathura @@ -0,0 +1,18 @@ + _ _ + ______ _| |_| |__ _ _ _ __ __ _ +|_ / _` | __| '_ \| | | | '__/ _` | + / / (_| | |_| | | | |_| | | | (_| | +/___\__,_|\__|_| |_|\__,_|_| \__,_| + +zathura is the pdf/djvu reader. + h/j/k/l - Move left/down/up/right in document + d/u - Down/up a half page + gg - Top of document + G - Bottom of document + f - Highlight URLS to follow + J/K - Zoom out/in + s - Zoom to fit width + a - Zoom to fit height + r - Reload document if changed + R - Rotate document + D - Toggle dual-page mode diff --git a/.scripts/getkeys b/.scripts/getkeys new file mode 100755 index 0000000..9cef862 --- /dev/null +++ b/.scripts/getkeys @@ -0,0 +1,12 @@ +#!/bin/sh + +elsewhere() { echo Key mappings available for the following programs: +ls ~/.larbs +echo Run \`larbs-keys\` followed by a program name to get bindings ;} + +if [[ -f ~/.larbs/getkeys/$1 ]]; then +cat ~/.larbs/getkeys/$1 +else +echo Run command with one of the following arguments for info about that program: +ls ~/.larbs/getkeys +fi