-
Notifications
You must be signed in to change notification settings - Fork 3
iTerm2 Configuration
MrCee edited this page Jun 19, 2024
·
17 revisions
This guide is useful if you are transitioning from MacOS Terminal.app and want to get started with basic key bindings you're used to, such as using the option key as meta for left and right arrows. We will also set up Nerd Fonts and a color profile.
This quick guide was captured on MacOS and has not been tested on Windows. Contributions are welcome.
brew install --cask iterm2
brew install --cask font-meslo-lg-nerd-font
-
Here is a great color profile @josean-dev has created in which I use in other areas: coolnight.itermcolors
-
Download the raw file to your Downloads folder. We will use this shorty in step 7. This color profile will also be used in bat themes.
- Go to Settings > Profiles > Default > Keys > General
- Select Esc+ to enable the option key to work with left and right arrow keys.
- Go to Settings > Profiles > Default > Keys > Key Mappings
- Select Presets > Terminal.app compatibility
- Go to Settings > Profiles > Default > Text > Font
- Select any Meslo Nerd Font installed earlier. There are a few options offering different heights and spacing.
- Go to Settings > Profiles > Default > Colors
- Select Color Presets > Import first, then select the file coolnight.itermcolors downloaded in Step 3.
That's it!