我使用 alacritty,目前,我有这些键绑定
key_bindings:
# (macOS only)
- { key: N, mods: Command, action: SpawnNewInstance }
- { key: F, mods: Command, command:
{ program: "osascript",
args: ["/Users/sand/.dotfiles/alacritty-fullscreen.applescript"] } }
# ...
- { key: Delete, chars: "\x1b[3~" }
Run Code Online (Sandbox Code Playgroud)
我也使用 tmux
# Needed for CTRL-Left/Right to work.
setw -g xterm-keys on
# Use vi key bindings in copy mode.
setw -g mode-keys vi
# Search mode vi
set-window-option -g mode-keys vi
Run Code Online (Sandbox Code Playgroud)
我想要为 zsh 绑定 vi,但我最怀念的是 option+delete 会在 INSERT 模式下向后删除 1 个单词,就像我在 …