![]() You can select other options, if you want.I use control+space for my hotkey combo, because it’s easy to hit with one hand, and it’s right next to my Alfred app hotkey. Use “click to set” the Hotkey, then hit your desired key combo. Now, click the button labeled “Configure Hotkey Window…”.While you’re in the Keys section, check the box in the “Hotkey Window” section. ![]() Go to the Keys section of the Profiles tab.Anyway, for now we will simply set up a single profile to have a Hotkey window. You could even use a completely different style of terminal based on what type of work you were doing, if you really live in the terminal. This may seem complicated at first, but it’s useful in that it allows you to experiment with different setups. Something quirky about iTerm2 is that it has overall settings plus “Profiles” which you can set up with different collections of settings – you can reconfigure every setting for each profile. Since you’ll be opening up the settings a lot while you set things up, remember that you can access Preferences with the shortcut command+. That’s partly why I’m writing this guide). Open the iTerm2 Preferences (It has a lot of settings, so in the past, setting it up on new computers has taken me some time to figure out again.Download iTerm2, unzip it, move it to your applications folder, and right-click to open it.How to get iTerm and set up the “Hotkey Window” With a hotkey window, I have a convenient terminal always at the ready, without worrying about switching my current space to enter a quick command. I love using multiple macOS spaces while I work, often using a web browser in one space, a code editor in another, and visual design tools in more spaces. It’s super-customizable, and even though Hyper terminal is more trendy these days, the hotkey window in iTerm2 works so much more smoothly than anything else I’ve tried. The secret is iTerm2, “a terminal emulator for macOS that does amazing things,” according to its website. If they use the terminal a lot but haven’t seen or tried the “hotkey window” in a terminal before, they sometimes react with, “ wait – what the heck was that?” I remember when I first had that reaction, too, and I was glad when someone showed me how to look and feel like an elite hacker. You can always look for other shortcut keys in the iTerm menu.Occasionally, I’ll be talking with someone as I’m on my computer, and I pull up my terminal to enter a git command or something similar. Here’s a set of shortcut keys I commonly use. Under Pointer, in Miscellaneous Settings section, enable “Focus follows mouse”. Under Keys tab, in Hotkey section, enable “Show/hide iTerm2 with a system-wide hotkey” and input your hotkey combination, e.g. Alt + b to move to previous word, under Profiles tab, go to Keys subtab, set Left option key acts as: to “+Esc”. To enable Meta key for Bash readline editing e.g. Under Profiles tab, go to General subtab, set Working Directory to “Reuse previous session’s directory”. ![]() ![]() Open tab/pane with current working directory Launch iTerm, open iTerm > Preferences or just Cmd +. Give it a try, download and install it from. ![]() If you haven’t heard of iTerm, it’s a popular open source alternative to Mac OS X Terminal. I have been using iTerm in daily work for almost a year now.Īlong the way, I learned a few handy settings tweaks and shortcut keys to boost my productivity in command-line environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |