![]() Under "Send text at start" type the commands, including cd to the correct starting directory, for this shell to execute on startup. Open preferences with ⌘-, (Command-Comma)Ĭreate a new profile and name it something specific to this arrangement and shell, like "Work Build Process" This is complicated and has several steps. ⌘-D and ⌘-Shift–D are useful shortcuts for creating vertical and horizontal splits. Just set up the layout of splits and tabs. Open a new window and set up your tab and split layout as desired.ĭon't run any processes, nor cd into any directories yet. Any windows open in the background will also be saved. We'll use the "Save Window Arrangement" feature which saves all windows. How to Create a Custom Window Arrangement I've attempted to document known pitfalls. ITerm2 is useful software, but this process is complicated. Screenshot of the "Restore Window Arrangement" iTerm2 shortcut Now control is near to my fingers when I use it and it makes my life easy.All posts tech nutrition growth How to Create Custom iTerm2 Window Arrangementsīy following these steps, we'll learn how to create a custom keyboard shortcut to automatically spawn a set of windows and splits with processes running. If you want Backspace, set it to No Action. If you would like to change your Caps Lock key to Control, Option, or Shift, use the options in the dropdown. Click this and go to the Caps Lock drop down. MacOS: In System Preferences > Keyboard, you will find a bottom at the bottom right labeled Modifier Keys. Maximize a pane ⌘ + Shift + Enter (use with fullscreen to temp fullscreen a pane!)Īs many of the shortcuts use ctrl as their initials and caps-lock is the most unused key on the keyboard or at least for me, I’ve changed the mapping to the control key for it.Previous Tab ⌘+ Left Arrow - (I usually move by tab number).Go to Split Pane by Order of Use - ⌘ + ], ⌘ + [.Split Window Horizontally (same profile) - ⌘ + Shift + D (mnemonic: shift is a wide horizontal key).Split Window Vertically (same profile) - ⌘ + D.Go to Tab ⌘ + Number Key - (ie: ⌘2 is 2nd tab).Close Tab or Window - ⌘ + W (same as many mac apps).It’s also better to highlight a few commonly used: I can manually type in all the shortcuts in the article but we are talking about productivity and there are already good people who have created a nice little cheat sheet that you can follow. I’ve seen people going character by character in the terminal, which makes it really slow and irritating sometimes, why do so when you can navigate word by word or just jump to the start or end of a line using shortcuts Refer to the guide for installation - Navigating into the command line ITerm acts like a wrapper around it - more like a customized version giving us lot more features - such as providing fancy stuff like colors on the command line.ĭirectories must be visited first before they can be jumped to. ![]() ![]() Mac comes with built-in terminal which is basic and can be customised. ![]() ![]() Below is my agenda for the article to cover: And this doesn’t just apply to the command line but also when you use any kind of editor.Ī simple example could be navigating to a file to open it in the editor versus using a shortcut where-in you can simply type the filename to open it, when you do it you know which one is faster after attempts. The use of UI not only slows you down a few seconds each time you navigate through it but also gives you the freedom to not remember many shortcuts that are there to make your work life easier. And then no matter how productive you’re with UI you might suffer if you don’t know the command line well.Ī developer should try to reduce the use of mouse as much as they can - and the dependency on shortcuts has to be increased in order to boost productivity in long run. Additionally, it’s the world of containers, where you’ve to use the command line. For example, many tools are now moving towards on-premise. So is it necessary to do modern-day software development? Well not really! You can still manage to do all the stuff, but you might be missing the fun and productivity which comes along with it. But devs who understand the command line would argue it’s one of the best tools at your disposal. For the uninitiated it can be daunting, stressful, and downright annoying. Some developers cringe at the mere thought of opening a terminal window. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |