feat(alacritty): reintroduce Vi mode, set custom colors for it
This commit is contained in:
parent
2ab264b228
commit
62cade5ce5
1 changed files with 7 additions and 2 deletions
|
|
@ -9,7 +9,8 @@ size = 18
|
||||||
# offset = { x = 0, y = 0 }
|
# offset = { x = 0, y = 0 }
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
option_as_alt = "Both"
|
# option_as_alt = "Both"
|
||||||
|
option_as_alt = "None"
|
||||||
decorations = "None"
|
decorations = "None"
|
||||||
padding = { x = 12, y = 5 }
|
padding = { x = 12, y = 5 }
|
||||||
dynamic_padding = true
|
dynamic_padding = true
|
||||||
|
|
@ -31,8 +32,11 @@ focused_match = { foreground = "#dedede", background = "#007a61" }
|
||||||
background = "#007a61"
|
background = "#007a61"
|
||||||
foreground = "#00dcaf"
|
foreground = "#00dcaf"
|
||||||
|
|
||||||
[keyboard]
|
[colors.vi_mode_cursor]
|
||||||
|
text = "#dedede"
|
||||||
|
cursor = "#007a61"
|
||||||
|
|
||||||
|
[keyboard]
|
||||||
bindings = [
|
bindings = [
|
||||||
# Required to make Ctrl+/ work on macOS (used in Telescope)
|
# Required to make Ctrl+/ work on macOS (used in Telescope)
|
||||||
{ chars = "\u001F", key = "Slash", mods = "Control" },
|
{ chars = "\u001F", key = "Slash", mods = "Control" },
|
||||||
|
|
@ -44,6 +48,7 @@ bindings = [
|
||||||
{ key = "PageDown", mods = "Shift", action = "ScrollPageDown" },
|
{ key = "PageDown", mods = "Shift", action = "ScrollPageDown" },
|
||||||
# Disable Cmd+w to avoid accidental closing. Disabling Cmd+q needs more work
|
# Disable Cmd+w to avoid accidental closing. Disabling Cmd+q needs more work
|
||||||
{ key = "w", mods = "Command", action = "None" },
|
{ key = "w", mods = "Command", action = "None" },
|
||||||
|
{ key = "v", mods = "Alt", action="ToggleViMode" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue