![]() I also have a small amount of blur just to emphasise the focus on iTerm2. Any more transparent than that and I struggle to read what’s written in iTerm2. I have mine about 1/5 the way from opaque to transparent. You can set the transparency of the iTerm2 window in iTerm > Preferences > Profiles > Window > Window Appearance. Making the iTerm2 window a little bit transparent and blurring everything else can solve that problem. Transparency and blurīenefit: When you use the previous tip and switch between fullscreen iTerm2 and everything else it can be a bit cognitively jarring with such an abrupt change. Be careful that it isn’t a command that is used by one of your other applications though. I use Alt + Space, which is super easy to jump your hand to, but you can set it to anything you want. You can set this by going into iTerm > Preferences > Keys > Hotkey. I leave it on fullscreen basically all the time, and switch between iTerm2 and whatever else I’m doing using a system-wide hotkey. This method makes it effortless.Ĭmd + Enter turns iTerm2 fullscreen. You can download iTerm2 for free here: Here are some tips for using and configuring iTerm2… Fullscreen and system-wide show/hideīenefit: It can be fiddly switching between a browser and a terminal, and when you’re developing you do it all the time. However, iTerm2 has a whole load of additional features that can make your workflow a lot smoother, and when you’re developing you spend so much time using the command line that even tiny adjustments to your workflow can add up over the course of a day or a week to a significant improvement. There’s even a fair amount of customisation (colors etc) you can perform to make it suit you better than the default configuration. Mac OSX comes with the Terminal application, and for most purposes this is perfectly sufficient. This page was generated by GitHub Pages.If you’re going to use the command line you need a command line interface. ⌘ + / or use a theme or cursor shape that is easy to see Search the Command History FunctionĬtrl + R and type the search term Repeat Ctrl + R to loop through resultĬancel the search and restore original lineĬlear the screen/pane (when Ctrl + L won’t work)īroadcast command to all panes in window (nice when needed!) 什么使用场景? FunctionĮnter Character Selection Mode in Copy ModeĬopy actions goes into the normal system clipboard which you can paste like normal. Moving by word on a line (this is a shell thing but passes through fine)Ĭursor Jump with Mouse (shell and vim - might depend on config)Ĭopy and Paste with iTerm without using the mouse (go to beginning of current line) but that doesn’t work in the shell. For example ⌘ + Left Arrow is usually the same as Home ![]() Keys and Mac equivalents don’t always work. Use this instead of typing clear over and over.Ī lot of shell shortcuts work in iterm and it’s good to learn these because arrow keys, home/end When this doesn’t work ⌘ + K will tell iTerm to do it which works when you aren’t in a shell. Last command was wrong by a single typo or something. This takes you off the home row but it’s easy to rememberįast way to jump to a word to correct a typo or “run again” Use this with command history to repeat commands andĬycle and browse your history with up and down.Ĭtrl-R is faster if you know the string you are looking for. Use this to start over typing without hitting Ctrl-C Hopefully some of these change your life. To do it sometimes so adopt what you like best. There are many tips but I use these quite a bit. I’m assuming you are using bash or zsh on Mac. These might be helpful to getting you faster with the shell but really this ⌘+ Left Arrow (I usually move by tab number) ⌘ + Shift + Enter (use with fullscreen to temp fullscreen a pane!)Ĭtrl + ⌘ + Arrow (given you haven’t mapped this to something else) ⌘ + Alt + Shift and then drag the pane from anywhere ⌘ + Shift + D (mnemonic: shift is a wide horizontal key) ⌘ + backtick (true of all mac apps and works with desktops/mission control)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |