Below is quick and dirty screencast that shows it in action. Also, I’m curious if others have similar things (or cooler things). Thought I would share it here to spark other ideas like this. iterm2. Instantly, I get three tabs in iTerm (server, autotest and blank) and an open browser window on localhost:3000. The color designators are as follows: a black b. + Tab / + Shift + Tab to cycle through tabs (reversed with shift modifier. + Arrow, a custom mapping, snaps left or right. Here are a few keybinds: + N opens a new window. Go to Window: + Option + Number: Go to Split Pane by Direction: + Option + Arrow: Go to Split Pane by Order of Use: +, + Split Window Horizontally (same profile) + D: Split Window Vertically (same profile) + d: Split Window Horizontally (new profile) Option + + H: Split Window Vertically (new profile) Option +. This allows me to open the same project I talked about earlier by simply typing: r sites/nd/tinye.git I want to convert an iTerm2 colour scheme such as this one (Ubuntu) to the Windows Terminal color scheme. I use Better Snap Tool to place two iTerm windows side-by-side, which can each have multiple tabs. Then I threw the following in as aliases (/.bash_profile for me): alias r='iterm.sh $1' I put this in /bin, named iterm.sh, and made sure it was executable ( chmod u+x ~/bin/iterm.sh). # how to make new terminal (make new terminal) I got a bit tired of this, so based on some scripts I saw around the interwebs, I put together the one below: #!/bin/shĮlif ] "usage: iterm.sh " I have to do the following: cd sites/nd/tinye.gitĪ #that is my shortcut for autotest -rails Let’s say I want to open up tinye, a project I’m working on at work. So each time I go to code in a rails app I open up three tabs: one for script/server, one for autotest and one for general commands like script/generate and such. The Windows Terminal, just like iTerm2, is only a terminal application for the shell of your choice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |