![]() PROTIP: If you are at the Finder program (since Yosemite) you can open a Terminal to a folder listed within Finder by pointing your mouse on it, then tapping with two fingers on the touchpad/mousepad. Type “termin” so “Terminal.app” appears.Īlternately, if you prefer moving your mouse:.Press command+space keys (at the same time) to bring up Apple’s Spotlight universial search, then.My preferrence is a way that doesn’t require reaching for a mouse and using the least number of keystrokes: There are different ways to open a Terminal command line. On the Mac, the Terminal app is kinda buried, probably perhaps because those who use a MacOS laptop just for social media probably won’t need a Terminal.īut if you’re a developer, it’s hard to get away from using a CLI. Information here is often used in interview questions. It’s also called a command-line terminal, abbreviated as CLI. What Apple calls the Terminal is what Linux people call the shell console This tutorial describes how to make use of the macOS Terminal to make your life easier and less frustrating. IPv6 compatibility with Curl command line apps.Create Windows-like shortcuts with parameters using text editor.Foreground processes and background jobs.I used to have ⌃⌘T mapped to do this for Terminal. If you right-click on the dock and request a new window, it creates it on the current desktop. If you hit ‘⌘N’ on iTerm 2 (or any other OS X app), OS X switches you to the app’s desktop, then creates a new window over there, not what I want. Like now, for example, I have a database migration running on Desktop 1 for Kifu and am blogging on Desktop 2, both of which require running iTerm 2 windows. While it’s nice to have the hotkey window, I often find myself working on Desktop 1 (Work) and need to jump to Desktop 2 (Alternate) to do some other stuff and leave a terminal running there. The red tabs were annoying, gone ( Preferences / Appearance):Īdded the border around frames, I like this because my terminal background and screen backgrounds are both dark ( Preferences / Appearance):Īnd got rid of the bell icon and Growl notifications in all profiles ( Preferences / Profiles / ****** / Terminal):Īnd lowered the line spacing to match Apple’s ( Preferences / Profiles / ****** / Text / Change Font) - just move the vertical back 1 notch: New iTerm 2 in Current Space ![]() ![]() I love copy on select, it’s one less keystroke and I usually select with the mouse ( Preferences / General): I don’t need to confirm quitting ( Preferences / General): Note: I do not set the Left Option and Right Option keys in profiles to +ESC, I leave them as Normal (as per Scott Lee’s response in the comments). Thanks to Brett Terpstra for sharing some of these in his Option-arrow navigation in iTerm2 and Twitter. ⌃⌘↓: Down to bottom (not standard Cocoa, but I find it very useful when perusing real time rails logs).⌘→: Go to end of line (Send Hex Code | 0x05).⌘←: Go to start of line (Send Hex Code | 0x01).⌥→: Go right one word (Send Escape Sequence | f).⌥←: Go left one word (Send Escape Sequence | b).Since I’m not a vi or emacs pianist, I prefer standard Apple Cocoa Text bindings when editing the command line, so I set them up in iTerm 2’s Global Shortcut Keys in Preferences / Keys. Some of the usual Mac editing keys did not work, I got rid of a few annoyances and added a few lovely preferences, and I needed the ability to create a new terminal window on the current space as part of my being productive with virtual desktops flow (Just like Browser Windows on All Desktops). I’m already loving the hot-key profiles to launch uniquely colored remote sessions, the split panes, and the brilliant hotkey window (useful to run a single command and get rid of it).īut there are a few things that needed some work. I just switched from using Apple’s built-in Terminal.app to the free iTerm 2 on a recommendation from Brett Terpstra.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |