diff --git a/devtools/iterm-key-bindings.md b/devtools/iterm-key-bindings.md index 0997066..2f23770 100644 --- a/devtools/iterm-key-bindings.md +++ b/devtools/iterm-key-bindings.md @@ -1,6 +1,24 @@ # iTerm additional (Mac-default) key bindings As you may know, we have some keys bindings missing in iTerm, like jumping cursor through word or removing whole line, etc. I listed some useful bindings to make it working in our iTerm setup. To start, open your iTerm, go to `Preferences > Keys` and then click to `+` button to add new key bindings. + +#### Clear whole line + +- Keys: `⌘`+`⟵(Delete)` +- Action: `Send Hex Code` + - `0x15` + +#### Jump cursor to line start + +- Keys: `⌘`+`←` +- Action: `Send Hex Code` + - `0x01` + +#### Jump cursor to line end + +- Keys: `⌘`+`→` +- Action: `Send Hex Code` + - `0x05` #### Delete whole word @@ -25,21 +43,3 @@ As you may know, we have some keys bindings missing in iTerm, like jumping curso - Keys: `⌥`+`→` - Action: `Send Escape Sequence` - Esc + `f` - -#### Clear whole line - -- Keys: `⌘`+`⟵(Delete)` -- Action: `Send Hex Code` - - `0x15` - -#### Jump cursor to line start - -- Keys: `⌘`+`←` -- Action: `Send Hex Code` - - `0x01` - -#### Jump cursor to line end - -- Keys: `⌘`+`→` -- Action: `Send Hex Code` - - `0x05`