dotfiles/config/foot/foot.ini
stitchy d9e21b23bd
foot: fix shift+space in neovim terminal lazygit
Problem: In neovimg when using a terminal (like toggleterm) and trying
to press shift+space in an curses type application like lazygit, it will
print an escape sequence instead of printing the space key. This
textbinding remaps it so it will now print space instead. Has minor
implications for escape sequences and stuff.
2024-12-09 15:42:35 -08:00

20 lines
382 B
INI

# -*- conf -*-
font=monospace:size=10
[colors]
alpha = .65
foreground=dcdccc
background=393052
[cursor]
color=111111 dcdccc
[key-bindings]
spawn-terminal=Control+Shift+n
# Fixes the SHIFT+ENTER escape sequence from showing
# Git Issue: https://codeberg.org/dnkl/foot/issues/1358
[text-bindings]
\x0d = Control+Return Shift+Return Control+Shift+Return
\x20 = Shift+space