X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/246f1822ec3d0d279906140c1e2db4f59a10187e..3e59c20a7a476d0b704c2cc1b377b9b10be0640a:/qutebrowser/keys.conf diff --git a/qutebrowser/keys.conf b/qutebrowser/keys.conf index d8d8c04..4833460 100644 --- a/qutebrowser/keys.conf +++ b/qutebrowser/keys.conf @@ -1,6 +1,6 @@ # vim: ft=conf # -# In this config file, qutebrowser's keybindings are configured. +# In this config file, qutebrowser's key bindings are configured. # The format looks like this: # # [keymode] @@ -13,8 +13,8 @@ # All blank lines and lines starting with '#' are ignored. # Inline-comments are not permitted. # -# keymode is a comma separated list of modes in which the keybinding should be -# active. If keymode starts with !, the keybinding is active in all modes +# keymode is a comma separated list of modes in which the key binding should be +# active. If keymode starts with !, the key binding is active in all modes # except the listed modes. # # For special keys (can't be part of a keychain), enclose them in `<`...`>`. @@ -26,44 +26,44 @@ # * Shift: `Shift` # # For simple keys (no `<>`-signs), a capital letter means the key is pressed -# with Shift. For special keys (with `<>`-signs), you need to explicitely add +# with Shift. For special keys (with `<>`-signs), you need to explicitly add # `Shift-` to match a key pressed with shift. You can bind multiple commands # by separating them with `;;`. [!normal] -leave-mode +clear-keychain ;; leave-mode [normal] # Keybindings for normal mode. -set-cmd-text ":open " +set-cmd-text -s :open o -set-cmd-text ":open {url}" +set-cmd-text :open {url} go -set-cmd-text ":open -t " +set-cmd-text -s :open -t O -set-cmd-text ":open -t {url}" +set-cmd-text :open -t {url} gO -set-cmd-text ":open -b " +set-cmd-text -s :open -b xo -set-cmd-text ":open -b {url}" +set-cmd-text :open -b {url} xO -set-cmd-text ":open -w " +set-cmd-text -s :open -w wo -set-cmd-text ":open -w {url}" +set-cmd-text :open -w {url} wO -open -t about:blank +open -t tab-close @@ -73,9 +73,6 @@ tab-close tab-close -o D -tab-only - co - tab-focus T @@ -83,17 +80,17 @@ tab-move gm tab-move - - gl + gj tab-move + - gr + gk tab-next - J + K gt tab-prev - K + J gT tab-clone @@ -166,25 +163,25 @@ hint links yank hint links yank-primary ;Y -hint links rapid +hint --rapid links tab-bg ;r -hint links rapid-win +hint --rapid links window ;R hint links download ;d -scroll -50 0 +scroll left h -scroll 0 50 +scroll down j -scroll 0 -50 +scroll up k -scroll 50 0 +scroll right l undo @@ -239,25 +236,25 @@ paste -ws quickmark-save m -set-cmd-text ":quickmark-load " +set-cmd-text -s :quickmark-load b -set-cmd-text ":quickmark-load -t " +set-cmd-text -s :quickmark-load -t B -set-cmd-text ":quickmark-load -w" +set-cmd-text :quickmark-load -w wb save sf -set-cmd-text ":set " +set-cmd-text -s :set ss -set-cmd-text ":set -t " +set-cmd-text -s :set -t sl -set-cmd-text ":set keybind " +set-cmd-text -s :set keybind sk zoom-out @@ -296,10 +293,10 @@ navigate decrement inspector wi -download-page +download gd -cancel-download +download-cancel ad view-source @@ -365,6 +362,51 @@ print open qute:settings Ss +clear-keychain ;; search + + +tab-only + co + +hint all tab-fg + ;f + +enter-mode caret + v + +yank -d + yd + +yank -ds + yD + +bookmark-add + M + +set-cmd-text -s :bookmark-load + gb + +set-cmd-text -s :bookmark-load -t + gB + +set-cmd-text -s :bookmark-load -w + wB + +download-remove --all + cd + +follow-selected + + + + + + + +follow-selected -t + + + [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are @@ -385,10 +427,14 @@ open-editor follow-hint -[passthrough] -# Keybindings for passthrough mode. -# Since normal keypresses are passed through, only special keys are -# supported in this mode. +hint --rapid links tab-bg + + +hint links + + +hint all tab-bg + [command] # Keybindings for command mode. @@ -420,6 +466,9 @@ command-accept +completion-item-del + + [prompt] # Keybindings for prompts in the status line. # You can bind normal keys in this mode, but they will be only active @@ -482,3 +531,84 @@ rl-delete-char rl-backward-delete-char +[caret] + +toggle-selection + v + + +drop-selection + + +enter-mode normal + c + +move-to-next-line + j + +move-to-prev-line + k + +move-to-next-char + l + +move-to-prev-char + h + +move-to-end-of-word + e + +move-to-next-word + w + +move-to-prev-word + b + +move-to-start-of-next-block + ] + +move-to-start-of-prev-block + [ + +move-to-end-of-next-block + } + +move-to-end-of-prev-block + { + +move-to-start-of-line + 0 + +move-to-end-of-line + $ + +move-to-start-of-document + gg + +move-to-end-of-document + G + +yank-selected -p + Y + +yank-selected + y + + + + + + + +scroll left + H + +scroll down + J + +scroll up + K + +scroll right + L +