Skip to content

Commit

Permalink
Fix alacritty: inline input method & backspace
Browse files Browse the repository at this point in the history
[macOS: unexpected characters get deleted when using backspace in Pinyin input method](alacritty/alacritty#1606)
  • Loading branch information
specv committed May 16, 2022
1 parent 2c0f05e commit 3d82e5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nixpkgs/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,14 @@ in
# see also:
# https://github.com/alacritty/alacritty/issues/62
key_bindings = [
# workaround for inline input method, remove this after https://github.com/alacritty/alacritty/pull/5790 merged
# see also: [macOS: unexpected characters get deleted when using backspace in Pinyin input method](https://github.com/alacritty/alacritty/issues/1606#issuecomment-579754834)
{
key = "Back";
action = "ReceiveChar";
}
# emacs readline key bindings
# see also: [Allow remapping modifier keys in the config](https://github.com/alacritty/alacritty/issues/62#issuecomment-347552058)
{
key = "F";
mods = "Alt";
Expand Down

0 comments on commit 3d82e5a

Please sign in to comment.