X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f6e1ac53f8be388dc4c73117f0e3f96e005d6545..ad1f1455267ff65ac7aeb8fbd3a28c89c16a24f9:/qutebrowser/keys.conf diff --git a/qutebrowser/keys.conf b/qutebrowser/keys.conf index 4b7e613..cda490e 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,68 +26,77 @@ # * 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 `;;`. +# +# Note that default keybindings are always bound, and need to be explicitly +# unbound if you wish to remove them: +# +# +# keychain +# keychain2 +# ... [!normal] -leave-mode - - +clear-keychain ;; leave-mode + + [normal] # Keybindings for normal mode. -set-cmd-text ":open " +clear-keychain ;; search + + +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 + ga + tab-close d - + tab-close -o D tab-focus - T + K + gt tab-move gm tab-move - - gj + gl tab-move + - gk - -tab-next - K - gt + gr tab-prev J @@ -104,7 +113,7 @@ reload -f back H - + back -t th @@ -122,7 +131,7 @@ forward -w wl fullscreen - + hint f @@ -136,6 +145,9 @@ hint all window hint all tab-bg ;b +hint all tab-fg + ;f + hint all hover ;h @@ -163,30 +175,30 @@ 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 u - + scroll-perc 0 gg @@ -203,6 +215,9 @@ search-prev enter-mode insert i +enter-mode caret + v + yank yy @@ -215,6 +230,12 @@ yank -t yank -ts yT +yank -d + yd + +yank -ds + yD + paste pp @@ -236,25 +257,37 @@ 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 -s :quickmark-load -w wb +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 + 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 @@ -285,92 +318,129 @@ navigate up -t gU navigate increment - + navigate decrement - + inspector wi -download-page +download gd -cancel-download +download-cancel ad +download-clear + cd + view-source gf tab-focus last - + enter-mode passthrough - + quit - + scroll-page 0 1 - + scroll-page 0 -1 - + scroll-page 0 0.5 - + scroll-page 0 -0.5 - + tab-focus 1 - + tab-focus 2 - + tab-focus 3 - + tab-focus 4 - + tab-focus 5 - + tab-focus 6 - + tab-focus 7 - + tab-focus 8 - + tab-focus 9 - + home - + stop - + print - + open qute:settings Ss +follow-selected + + + + + + + +follow-selected -t + + + +tab-only + co + +open -w + + +enter-mode set_mark + ` + +enter-mode jump_mark + ' + +yank -p + yp + +yank -ps + yP + [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are # supported in this mode. # Useful hidden commands to map in this section: # * `open-editor`: Open a texteditor with the focused field. +# * `paste-primary`: Paste primary selection at cursor position. open-editor - + + +paste-primary + [hint] # Keybindings for hint mode. @@ -380,7 +450,21 @@ open-editor # * `follow-hint`: Follow the currently selected hint. follow-hint - + + + + + + + +hint --rapid links tab-bg + + +hint links + + +hint all tab-bg + [command] # Keybindings for command mode. @@ -394,23 +478,29 @@ follow-hint # * `command-accept`: Execute the command currently in the commandline. command-history-prev - + command-history-next - + completion-item-prev - - + + completion-item-next - - + + + +completion-item-del + command-accept - - - + + + + + + [prompt] # Keybindings for prompts in the status line. @@ -423,9 +513,12 @@ command-accept # * `prompt-no`: Answer no to a yes/no question. prompt-accept - - - + + + + + + prompt-yes y @@ -436,41 +529,123 @@ prompt-no [command,prompt] rl-backward-char - + rl-forward-char - + rl-backward-word - + rl-forward-word - + rl-beginning-of-line - + rl-end-of-line - + rl-unix-line-discard - + rl-kill-line - + rl-kill-word - + rl-unix-word-rubout - + + rl-yank - + 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