aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2020-08-12 16:35:55 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2020-08-12 16:35:55 +0200
commit039fa315ec00af2bc3725f136680b478c06df44a (patch)
tree6d0fba57adc69bd93f45340555885879807c1dc7 /.config
parent4d57dc8994e34b536142bdf2e937c580d44528b0 (diff)
downloaddotfiles-039fa315ec00af2bc3725f136680b478c06df44a.tar.gz
dotfiles-039fa315ec00af2bc3725f136680b478c06df44a.zip
alacritty: refined key bindings and search colors
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.config')
-rw-r--r--.config/alacritty/alacritty.yml16
1 files changed, 12 insertions, 4 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index 4c4f618..2f00512 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -29,12 +29,12 @@ colors:
search:
matches:
- background: '0xd7af87'
- foreground: '0x1c1c1c'
+ background: '0x875f87'
+ foreground: '0xd0d0d0'
bar:
- background: '0xd7af87'
- foreground: '0x1c1c1c'
+ background: '0x4e4e4e'
+ foreground: '0xd0d0d0'
##
# Using Droid Sans Mono out of tradition at this point, with a bit of an offset
@@ -53,3 +53,11 @@ font:
offset:
y: 2
+
+##
+# Adapt some bindings to the ones I have from GNU Emacs.
+key_bindings:
+ - { key: Z, mods: Control, action: ToggleViMode }
+ - { key: G, mods: Control, action: ToggleViMode }
+ - { key: A, mods: Control, mode: Vi, action: FirstOccupied }
+ - { key: E, mods: Control, mode: Vi, action: Last }