|
|
Other fun .inputrc lines
My big complaint is that Terminal doesn't pass things like PgUp and PgDn to the shell. Hell, I'd be happy if it passed Cmd-PgUp as PgUp. In lieu of being able to use those actual keys, I've changed my standard mappings a bit for OS X: Control-j: history-search-backward Control-k: end-of-history Control-h: beginning-of-line Control-l: end-of-line These basically give me the functionality that I want PgUp, PgDn, Home, and End to have (respectively). Most of them are pretty standard. The interesting one is the first line. For some reason the default value for PgUp (on systems that pass it through to the shell) is start-of-history, which I find absolutely useless. history-search-backward is awesome. Have some commands that you use frequently? Type in the first couple letters than trigger this (Ctrl-j in my mapping here). It'll read through your history backward and complete the command with the last entry that begins with the same prefix. Sooooooooo useful. You may also want to try hitting Ctrl-r then typing the first few characters from something in the history. Another a nice feature. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|