Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d85a01

Browse files
authored
Merge pull request #185 from pzelnip/iterm2setup
Correct typos
2 parents 2f50882 + 36a6c5b commit 5d85a01

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

content/iterm2-setup.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ documenting this so next time I don't have to figure it out from scratch"). 😄
2626
## Keyboard Navigation
2727

2828
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
3030
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
3232
preferences go to Profiles -> Keys, and do the following:
3333

3434
* change "Left Option (⌥) Key" to "Esc+"
@@ -42,7 +42,9 @@ preferences go to Profiles -> Keys, and do the following:
4242
Screenshots showing the settings:
4343

4444
![Keyboard Option Key Settings]({filename}/static/imgs/keymapping1.png)
45+
4546
![Keyboard Shortcut dialog for moving by word]({filename}/static/imgs/keymapping.png)
47+
4648
![Keyboard Shortcut dialog for moving to start/end of line]({filename}/static/imgs/keymapping2.png)
4749

4850
## Shell Integration
@@ -85,7 +87,7 @@ As I switch to different Python interpreters this value updates.
8587
8688
### Marks
8789
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:
8991
9092
> These are saved locations in history. They make it easy to navigate to
9193
> previous shell prompts or other locations of interest.
@@ -115,12 +117,12 @@ things:
115117
116118
![My iTerm2 Status Bar]({filename}/static/imgs/statusbar.png)
117119
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 🤷).
124126
125127
You can configure your status bar by going to Profiles -> Session and clicking
126128
"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
170172
window it opens up a terminal in the same directory I was previously in, which I
171173
find matches my workflow the best.
172174
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
177179
[console in Quake](https://quake.fandom.com/wiki/Console_Commands_(Q1)).
178180
179181
## And That's It

0 commit comments

Comments
 (0)