带有CMD+ Backpace
由于各种原因,最近从Iterm转换为Alacritty。我现在意识到我经常使用的一件事是Command + Backspace删除和整个行(是的,我知道CTR + U,但这不是我的肌肉记忆)。有没有办法为清除线条清晰的捷径设置捷径吗?
Recently switched from Iterm to Alacritty for various reasons. One thing that I'm now realizing I used a lot is command + backspace to delete and entire line (Yes I'm aware of CTR + U, but that's not muscle memory for me). Is there a way to set up a shortcut for line clear in alacrity?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
添加行
- {key:back,mods:命令,字符:“ \ x15”}
到alacritty.yml文件将在macOS上使用“ cmd+backspace”删除整个行。另外,这里还有一些我对Alacritty设置所做的其他关键更改,这可能会使您的生活更轻松(per https://github.com/alacritty/alacritty/issues/474#issuecomment-338803299 ):
Adding the line
- { key: Back, mods: Command, chars: "\x15" }
to the alacritty.yml file will delete the entire line with "Cmd+Backspace" on macOS.Also, here are some additional keybinding changes I've made to my alacritty setup that may make your life easier (per https://github.com/alacritty/alacritty/issues/474#issuecomment-338803299):
使用新的TOML配置文件格式,您可以使用以下内容:
With the new TOML config file format, you can use the following instead: