mac item2自定义光标移动快捷键,移动行首行尾,按单词跳转 |
您所在的位置:网站首页 › 怎么快速移动光标 › mac item2自定义光标移动快捷键,移动行首行尾,按单词跳转 |
To jump between words and start/end of lines in iTerm2 follow these steps: iTerm2 -> Preferences (⌘ + ,) Open the “Keys” tab Add the following Global Shortcut KeysMove cursor one word left Keyboard Combination: ⌥ + ← Action: Send Hex Code Code: 0x1b 0x62Move cursor one word right Keyboard Combination: ⌥ + → Action: Send Hex Code Code: 0x1b 0x66Move cursor to beginning of line Keyboard Combination: ⌘ + ← Action: Send Hex Code Code: 0x01Move cursor to end of line Keyboard Combination: ⌘ + → Action: Send Hex Code Code: 0x05Delete word Keyboard Combination: ⌥ + ←Delete Action: Send Hex Code Code: 0x1b 0x08Delete line Keyboard Combination: ⌘ + ←Delete Action: Send Hex Code Code: 0x15Undo Keyboard Combination: ⌘ + z Action: Send Hex Code Code: 0x1fDon't forget to remove the previous bindings: Open the “Profiles” tab Click the sub-tab ”Keys” Remove the mappings for key combinations ⌥ + ← and ⌥ + →参考文档: https://stackoverflow.com/questions/6205157/iterm-2-how-to-set-keyboard-shortcuts-to-jump-to-beginning-end-of-line |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |