![]() ![]() ![]() ![]() 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. Optionally, if you still want to use option instead of ctrl + shift, you can use option + ⟵ and option + ⟶ when assigning the keyboard shortcut to jump words and option + delete when assigning the keyboard shortcut for deleting words.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. Then for the Action select Send Hex Code and use the code 17 in the field. Then, in the Action dropdown, select Send Escape Sequence and enter the same letter ( b or f) as the keyboard shortcut you entered.ĭo it for the other key and that’s all there is to it! How To Assign Ctrl + Shift + Delete To Delete Whole WordsĪssign a keyboard shortcut, in the same way as above, and use ctrl + shift + delete as the Keyboard Shortcut. In the Keyboard Shortcut field, push the keys ctrl + shift + b or ctrl + shift + f and you should see something like ^⬆︎B or ^⬆︎F. Select the + button at the bottom to add a new shortcut. To assign the shortcut open the iTerm preferences and choose the keys tab. How To Use Ctrl + Shift + f and Ctrl + Shift + b To Jump Words If you don’t use those keyboard shortcuts they will take time to get used to, but I like them particularily because I don’t have to lift my hands off of home row to reach the arrow keys. If you use ctrl + b and ctrl + f to navigate cursor, I recommend give these steps a try. I found this to be easier to use given the placement of capslock (which should be your ctrl!) and shift on the keyboard, compared to option. I’m already used to using ctrl + f and ctrl + b to move the cursor forward and backward in terminal and, instead of option, decided to give ctrl + shift a try. I tried it for a while and found the option key to be placed in such a weird position on the Apple keyboards that I wouldn’t use option and often forget about it while in the “programming zone”. I really feel like I’m missing out on being able to jump words when working in terminal and found some blogs on how to do it by using option. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |