The first thing I'll do is go to the "Colors" section.I won't make any changes in the "General" section or the "Appearance" section but I will make a few changes in the profiles section. To view the preferences pane click iTerm the menu and select preferences.I will however, change a few of these to suit my preference. Since most of them will be personal preference, I won't go through all of them. Now that we're up to date, there are a number of settings you can change to affect the way iTerm works and behaves for you. Check the box to "Automatically download and install updates in the future".However, there have been updates since then, including bug fixes for Yosemite, so the first thing I'm going to do is install the updates. Now, as I'm recording this video, the version of iTerm that you get when you click that big button is actually version 2.0 because it's the "Last stable release". Your system will ask if you're sure you want to open this file, and you do, so click "Open". Let's go ahead and open up iTerm by going to the "Applications" folder and double clicking "iTerm". At this point, you can safely delete the zip file that iTerm came in.Once you've done that, unzip that file and drag and drop the "iTerm" application into your "Applications" folder for permanent storage.You can download iTerm from by clicking the big download button at the bottom of the homepage.So, in this video, I'll show you how to install and configure iTerm on a Mac. However, iTerm has some additional functionality not present in the default terminal application. If you want, you can use the built in Terminal application to perform all of the functions I'll describe in this series. Macs comes with one simply named "Terminal", however, I've chosen to use a popular alternative terminal emulator named "iTerm". Only the part killed by the second of those keystrokes will be saved in the kill buffer, but you can still do undo twice to recover them both.Most operating systems come with a built-in terminal application. So instead of doing the binding described above, you can kill a whole line by pressing Ctrl- u Ctrl- k. Or you can paste back in (yank) what you killed by pressing Ctrl- y which can be repeated if you want multiple copies of that text.īy the way, if you want to kill text from the cursor to the end of the line, you can press Ctrl- k. To undo a Ctrl- u or Shift Alt- U (or any operation that can be undone), press Ctrl- Shift- _ (underscore) or Ctrl- x Ctrl- u (two keystrokes). Or make it persistent by putting this line in your ~/.inputrc file: "\eU":kill-whole-line You can try it out at the command line by creating the binding this way: bind '"\eU":kill-whole-line' Since we don't really need two keys to do that, let's use that one. That keystroke may be bound to do-lowercase-version which means it does whatever the unshifted version does (in this case upcase-word). I like Shift Alt- U since it's a related function. You can bind that to any available keystroke. There is a readline function that is probably not bound to a keystroke called kill-whole-line that will kill the whole line as opposed to only killing the part before the cursor ( unix-line-discard which is somewhat of a misnomer and is bound to Ctrl- u).
0 Comments
Leave a Reply. |