This is a complicated setup, but it’s emulating a micro-service architecture, both on the frontend and backend, and some mock AWS services running locally. Many of the features of iTerm are improved exponentially with a complicated setup like this, but it’s still powerful even if your needs aren’t as complicated. Profiles are a great solution for customizing your setup without changing global settings. With the shell integration installed, you can even turn on automatic profile switching when your hostname, username, or directory changes. In my case, I have separate profiles for certain working directories. We can engage our visual cortex to help quickly determine where we are in a work tree. For example, I have different profiles set up for various directories. Each profile for different repository + directory combination is set to a slightly different color, so I can quickly tell if I am where I need to be. When I look at a terminal window, I know immediately where I am. You can even set custom background images for terminal windows. You can even color your tabs by right-clicking and selecting a color. This is a great way to quickly get some additional context about where you’re located. I rely on multiple terminals running different commands because I don’t want to conflate front-end build output with back-end logs. Currently, I’ll run six separate processes at minimum and will track the output for each. For most of the common tasks, I cram them all into a single tab with multiple panes because I don’t want to think about them very often. If I do want to see the output, I can press ⌘ + ⇧ + ⏎, and it will temporarily expand the pane. Most of my profiles have “open in current working directory” set, so if I want another tab or window pane in the same directory, I just need to hit ⌘ + N for a new window, ⌘ + T for a new tab, ⌘ + D to split my pane vertically, or ⌘ + ⇧ + D to split it horizontally. This is just muscle memory at this point (I actually had to test it out when writing this, because I couldn’t remember). That’s because I use this interaction dozens of times per day. I try to avoid using cd as much as I can, and I rely on fasd. I’ll be honest: I’ve tried learning tmux a few times, but I’ve never been able to make it stick. That is, until I learned about tmux -CC, or control mode. George Nachman, the iTerm2 developer added this support to make a tight integration between tmux and iTerm.īasically, you can take advantage of one of the most convenient features of tmux, pane splitting, and just rely on iTerm to handle it for you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |