From bbcf0c41dd68384d3435c0012c33704189ff94c5 Mon Sep 17 00:00:00 2001 From: Jay Kamat Date: Sat, 19 Aug 2017 07:07:52 -0700 Subject: [PATCH] New Qutebrowser CheatSheet Goodie (#4432) * Add template for qutebrowser cheat sheet * Add first draft of qutebrowser cheat sheet * Fix errors in a few entries * Fix a few typos and grammatical mistakes * Add go and gO keybinds to qutebrowser cheat sheet * Add aliases and a few more commands --- .../goodie/cheat_sheets/json/qutebrowser.json | 208 ++++++++++++++++++ 1 file changed, 208 insertions(+) create mode 100644 share/goodie/cheat_sheets/json/qutebrowser.json diff --git a/share/goodie/cheat_sheets/json/qutebrowser.json b/share/goodie/cheat_sheets/json/qutebrowser.json new file mode 100644 index 000000000..767780231 --- /dev/null +++ b/share/goodie/cheat_sheets/json/qutebrowser.json @@ -0,0 +1,208 @@ +{ + "id": "qutebrowser_cheat_sheet", + "name": "qutebrowser", + "description": "qutebrowser default keyboard shortcuts", + + "metadata": { + "sourceName": "qutebrowser quickstart guide", + "sourceUrl" : "https://qutebrowser.org/doc/quickstart.html" + }, + + "aliases": [ + "qute browser", + "qute", + "qb" + ], + + "template_type": "keyboard", + + "section_order": [ + "Page Scrolling", + "Tab Manipulation", + "History", + "Page Navigation and Hinting", + "Searching", + "Bookmarks and Quickmarks", + "Copy/Paste", + "Modes" + ], + + "sections": { + "Page Scrolling": [ + { + "key": "j", + "val": "scroll down" + }, + { + "key": "k", + "val": "scroll up" + }, + { + "key": "h", + "val": "scroll left" + }, + { + "key": "l", + "val": "scroll right" + }, + { + "key": "gg", + "val": "scroll to top" + }, + { + "key": "G", + "val": "scroll to bottom" + } + ], + "Tab Manipulation": [ + { + "key": "J", + "val": "next tab" + }, + { + "key": "K", + "val": "previous tab" + }, + { + "key": "T", + "val": "select tab" + }, + { + "key": "d", + "val": "close tab" + }, + { + "key": "u", + "val": "undo tab close" + }, + { + "key": "co", + "val": "close other tabs" + } + ], + "History": [ + { + "key": "H", + "val": "backward in history" + }, + { + "key": "L", + "val": "forward in history" + } + ], + "Page Navigation and Hinting": [ + { + "key": "o", + "val": "open link" + }, + { + "key": "O", + "val": "open link in new tab" + }, + { + "key": "go", + "val": "open current url" + }, + { + "key": "gO", + "val": "open current url link in new tab" + }, + { + "key": "r", + "val": "reload" + }, + { + "key": "R", + "val": "reload (no cache)" + }, + { + "key": "f", + "val": "hint (label, links)" + }, + { + "key": "F", + "val": "hint in new tab" + }, + { + "key": ";", + "val": "extended hints" + } + ], + "Searching": [ + { + "key": "/", + "val": "search forward" + }, + { + "key": "?", + "val": "search backwards" + }, + { + "key": "n", + "val": "search next occurrence" + }, + { + "key": "N", + "val": "search previous occurrence" + } + ], + "Bookmarks and Quickmarks": [ + { + "key": "b", + "val": "load quickmark" + }, + { + "key": "B", + "val": "load quickmark in new tab" + }, + { + "key": "m", + "val": "save quickmark" + } + ], + "Copy/Paste": [ + { + "key": "yy", + "val": "yank URL to clipboard" + }, + { + "key": "pp", + "val": "open url from clipboard" + }, + { + "key": "Pp", + "val": "open url from clipboard in a new tab" + }, + { + "key": "yt", + "val": "yank page title to clipboard" + }, + { + "key": ";y", + "val": "yank url of link via hint to clipboard" + } + ], + "Modes": [ + { + "key": "esc", + "val": "return to normal mode" + }, + { + "key": "i", + "val": "insert mode (type text)" + }, + { + "key": "ctrl-v", + "val": "passthrough mode" + }, + { + "key": "v", + "val": "caret mode (select/navigate text)" + }, + { + "key": ":", + "val": "command mode (enter a command)" + } + ] + } +}