Skip to content

Instantly share code, notes, and snippets.

@leandrooriente
Last active October 30, 2025 08:52
Show Gist options
  • Select an option

  • Save leandrooriente/6935d66a7cd7d60b97eebb13f34ecc02 to your computer and use it in GitHub Desktop.

Select an option

Save leandrooriente/6935d66a7cd7d60b97eebb13f34ecc02 to your computer and use it in GitHub Desktop.
Iterm2 Navigation shortcuts
{
"Key Mappings": {
"0xf702-0x280000-0x7b": {
"Version": 2,
"Apply Mode": 0,
"Action": 10,
"Text": "b",
"Escaping": 2
},
"0x7a-0x100000-0x6": {
"Version": 2,
"Apply Mode": 0,
"Action": 11,
"Text": "0x1f",
"Escaping": 2
},
"0xf703-0x2a0000-0x7c": {
"Version": 2,
"Apply Mode": 0,
"Action": 46,
"Text": "1",
"Escaping": 2
},
"0xf703-0x320000": {
"Text": "",
"Action": 34
},
"0xf702-0x320000": {
"Text": "",
"Action": 33
},
"0xf702-0x2a0000-0x7b": {
"Version": 2,
"Apply Mode": 0,
"Action": 47,
"Text": "1",
"Escaping": 2
},
"0xf72b-0x100000": {
"Text": "",
"Action": 4
},
"0xf72c-0x100000": {
"Text": "",
"Action": 9
},
"0x46-0x120000-0x3": {
"Version": 2,
"Apply Mode": 0,
"Action": 11,
"Text": "0x12",
"Escaping": 2
},
"0xf72d-0x100000": {
"Text": "",
"Action": 8
},
"0x9-0x40000": {
"Text": "",
"Action": 32
},
"0xf701-0x300000": {
"Text": "",
"Action": 6
},
"0xf702-0x300000-0x7b": {
"Version": 2,
"Apply Mode": 0,
"Action": 11,
"Text": "0x01",
"Escaping": 2
},
"0xf700-0x300000": {
"Text": "",
"Action": 7
},
"0xf703-0x220000-0x7c": {
"Version": 2,
"Apply Mode": 0,
"Action": 46,
"Text": "0",
"Escaping": 2
},
"0xf703-0x280000-0x7c": {
"Version": 2,
"Apply Mode": 0,
"Action": 10,
"Text": "f",
"Escaping": 2
},
"0x7f-0x80000-0x33": {
"Version": 2,
"Apply Mode": 0,
"Action": 11,
"Text": "0x1B 0x08",
"Escaping": 2
},
"0x19-0x60000": {
"Text": "",
"Action": 39
},
"0xf729-0x100000": {
"Text": "",
"Action": 5
},
"0x78-0x100000-0x7": {
"Version": 2,
"Apply Mode": 0,
"Action": 11,
"Text": "0x15",
"Escaping": 2
},
"0xd-0x20000-0x24": {
"Version": 2,
"Apply Mode": 0,
"Action": 11,
"Text": "0x0A",
"Escaping": 2
},
"0xf72c-0x20000": {
"Text": "",
"Action": 9
},
"0xf72d-0x20000": {
"Text": "",
"Action": 8
},
"0xf703-0x300000-0x7c": {
"Version": 2,
"Apply Mode": 0,
"Action": 11,
"Text": "0x05",
"Escaping": 2
},
"0xf702-0x220000-0x7b": {
"Version": 2,
"Apply Mode": 0,
"Action": 47,
"Text": "0",
"Escaping": 2
}
},
"Touch Bar Items": {}
}
@leandrooriente
Copy link
Author

leandrooriente commented Sep 8, 2025

Cursor by word

  1. Option + ←
  2. Option + →

Cursor beginning or end

  1. Command + ←
  2. Command + →

Delete a word
Option + Delete

Undo
Cmd + z

Delete a line
Cmd + x

New line
shift + enter

Select previous char
shift + ←

Select previous word
shift + option + ←

Select next char
shift + →

Select next word
shift + option + →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment