]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/keys.conf
vim: add bindings for quit-another-window
[dotfiles.git] / qutebrowser / keys.conf
index 7fc77749a2bee4e88efcab728e299d40b744a2ef..48334604167766dc67bca2c99af6518966e91698 100644 (file)
@@ -32,7 +32,7 @@
 
 [!normal]
 
-leave-mode
+clear-keychain ;; leave-mode
     <Escape>
     <Ctrl-[>
 
@@ -163,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
@@ -362,6 +362,51 @@ print
 open qute:settings
     Ss
 
+clear-keychain ;; search
+    <Escape>
+
+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
+    <Return>
+    <Ctrl-M>
+    <Ctrl-J>
+    <Shift-Return>
+    <Enter>
+    <Shift-Enter>
+
+follow-selected -t
+    <Ctrl-Return>
+    <Ctrl-Enter>
+
 [insert]
 # Keybindings for insert mode.
 # Since normal keypresses are passed through, only special keys are
@@ -382,6 +427,15 @@ open-editor
 follow-hint
     <Return>
 
+hint --rapid links tab-bg
+    <Ctrl-R>
+
+hint links
+    <Ctrl-F>
+
+hint all tab-bg
+    <Ctrl-B>
+
 [command]
 # Keybindings for command mode.
 # Since normal keypresses are passed through, only special keys are
@@ -412,6 +466,9 @@ command-accept
     <Ctrl-J>
     <Shift-Return>
 
+completion-item-del
+    <Ctrl-D>
+
 [prompt]
 # Keybindings for prompts in the status line.
 # You can bind normal keys in this mode, but they will be only active
@@ -474,3 +531,84 @@ rl-delete-char
 rl-backward-delete-char
     <Ctrl-H>
 
+[caret]
+
+toggle-selection
+    v
+    <Space>
+
+drop-selection
+    <Ctrl-Space>
+
+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
+    <Return>
+    <Ctrl-M>
+    <Ctrl-J>
+    <Shift-Return>
+    <Enter>
+    <Shift-Enter>
+
+scroll left
+    H
+
+scroll down
+    J
+
+scroll up
+    K
+
+scroll right
+    L
+