@@ -26,9 +26,9 @@ documenting this so next time I don't have to figure it out from scratch"). 😄
26
26
## Keyboard Navigation
27
27
28
28
So the default keystrokes in iTerm are weird. I like to be able to press
29
- ` cmd +left arrow` to go to the start of a line and ` cmd +right arrow` to go to the
29
+ ` ⌘ +left arrow` to go to the start of a line and ` ⌘ +right arrow` to go to the
30
30
end of the line. Additionally I like be able to move left/right by word by
31
- pressing ` opt +left arrow` /` opt +right arrow` . To set these up in iTerm's
31
+ pressing ` ⌥ +left arrow` /` ⌥ +right arrow` . To set these up in iTerm's
32
32
preferences go to Profiles -> Keys, and do the following:
33
33
34
34
* change "Left Option (⌥) Key" to "Esc+"
@@ -42,7 +42,9 @@ preferences go to Profiles -> Keys, and do the following:
42
42
Screenshots showing the settings:
43
43
44
44
![ Keyboard Option Key Settings] ( {filename}/static/imgs/keymapping1.png )
45
+
45
46
![ Keyboard Shortcut dialog for moving by word] ( {filename}/static/imgs/keymapping.png )
47
+
46
48
![ Keyboard Shortcut dialog for moving to start/end of line] ( {filename}/static/imgs/keymapping2.png )
47
49
48
50
## Shell Integration
@@ -85,7 +87,7 @@ As I switch to different Python interpreters this value updates.
85
87
86
88
### Marks
87
89
88
- With shell integration on, you also get marks which the docs define as
90
+ With shell integration on, you also get marks which the docs define as:
89
91
90
92
> These are saved locations in history. They make it easy to navigate to
91
93
> previous shell prompts or other locations of interest.
@@ -115,12 +117,12 @@ things:
115
117
116
118

117
119
118
- From a glance this shows me that my current battery is at 72% charged, CPU is at 18%
119
- 22GB of memory free , that it' s currently January 31st at 10:59AM, that I ' m in the
120
- `~/temp/sandbox/www.codependentcodr.com/content/static/imgs` directory, that my
121
- current Git branch is `iterm2setup` (and that there are uncommitted changes), and
122
- that my current Python version is 3.9.1 (which is probably redundant since that ' s
123
- in my badge, but 🤷).
120
+ From a glance this shows me that my current battery is 72% charged, CPU is at
121
+ 18%, memory utilization is at 22GB , that it' s currently January 31st at 10:59AM,
122
+ that I ' m in the `~/temp/sandbox/www.codependentcodr.com/content/static/imgs`
123
+ directory, that my current Git branch is `iterm2setup` (and that there are
124
+ uncommitted changes), and that my current Python version is 3.9.1 (which is
125
+ probably redundant since that ' s in my badge, but 🤷).
124
126
125
127
You can configure your status bar by going to Profiles -> Session and clicking
126
128
" Configure Status Bar" . Here' s a screenshot showing my settings:
@@ -170,10 +172,10 @@ Previous session's directory". This means that whenever I open a new tab or
170
172
window it opens up a terminal in the same directory I was previously in, which I
171
173
find matches my workflow the best.
172
174
173
- One last thing: I have a global hotkey set up to open/close iTerm2. This can be set
174
- under Keys -> Hotkey -> Show/hide all windows with a system-wide hotkey. The key I
175
- use is ` ⌃ + ` ` , which if you' re a long-time gamer you' ll recognize is basically the
176
- key combination for displaying/hiding the
175
+ One last thing: I have a global hotkey set up to open/close iTerm2. This can be
176
+ set under Keys -> Hotkey -> Show/hide all windows with a system-wide hotkey.
177
+ The key I use is ` ⌃ + tilde ` , which if you're a long-time gamer you'll recognize
178
+ is basically the key combination for displaying/hiding the
177
179
[console in Quake](https://quake.fandom.com/wiki/Console_Commands_(Q1)).
178
180
179
181
## And That's It
0 commit comments