Fix Mac's Home and End keys

Brian Litzinger writes:
Coming from many years of using a PC I like my home and end keys to work like they do on a PC, not on the Mac. Not sure if you prefer the PC or Mac defaults for home and end, but here is how you change it. This will change how the home and end keys work in every program.Save this to Users/username/Library/KeyBindings/DefaultKeyBinding.dict
{ "\UF729" = "moveToBeginningOfLine:"; "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; "\UF72B" = "moveToEndOfLine:"; "$\UF72B" = "moveToEndOfLineAndModifySelection:"; "\UF72C" = "pageUp:"; "\UF72D" = "pageDown:"; }
After saving the file, your home and end keys will work like they do in most other operating systems, moving the cursor to the front and end of a line. Holding shift will cause the whole line to be selected. The last couple lines also adjust the page up and down keys, which will move the cursor up and down a page instead of just scroolling. Any applications you are running will need to be restarted before this takes effect.
Posted by Jason Striegel |
Jul 12, 2007 07:49 PM
Mac |
Permalink
| Comments (2)
Recent Entries
- Tresling - arm wrestling game controller
- SwashBot - robot from a helicopter
- HOWTO - fix a broken NES
- Turn an ATX power supply into a lab PSU
- Second Life on an Apple II
- Nice overview of the YouTube API
- Javascript Super Mario
- Automatic outbound link analytics with jQuery
- Silence your hard drive
- Air on the EeePC
Comments
Newest comments listed first.
| Posted by: thinkdunson on December 14, 2007 at 2:01 AM |
you know there are keyboard shortcuts already that do all of those things. maybe i'm blinded by my macaddiction, but i much prefer the mac style of things. i think people "prefer" the pc way because they won't take the time to learn the better way.
| Posted by: Chris on April 19, 2008 at 12:35 PM |
This is the only thing that has driven me crazy about my mac...thanks for posting.
Leave a comment
Bloggers
Welcome to the Hacks Blog!
Categories
- Ajax
- Amazon
- AppleTV
- Astronomy
- BlackBerry
- Blogging
- Body
- Cars
- Cryptography
- Data
- Education
- Electronics
- Energy
- Events
- Excel
- Excerpts
- Firefox
- Flash
- Flickr
- Flying Things
- Food
- Gaming
- Gmail
- Google Earth
- Google Maps
- Government
- Greasemonkey
- Hacks Series
- Hackszine Podcast
- Halo
- Hardware
- Home
- Home Theater
- iPhone
- iPod
- IRC
- iTunes
- Java
- Kindle
- Knoppix
- Language
- LEGO
- Life
- Lifehacker
- Linux
- Linux Desktop
- Linux Multimedia
- Linux Server
- Mac
- Mapping
- Math
- Microsoft Office
- Mind
- Mind Performance
- Mobile Phones
- Music
- MySpace
- MySQL
- NetFlix
- Network Security
- olpc
- OpenOffice
- Outdoor
- Parenting
- PCs
- PDAs
- Perl
- Philosophy
- Photography
- PHP
- Pleo
- Podcast
- Podcasting
- Productivity
- PSP
- Retro Computing
- Retro Gaming
- Science
- Screencasts
- Shopping
- Skype
- Smart Home
- Software Engineering
- Sports
- SQL
- Statistics
- Survival
- TiVo
- Transportation
- Travel
- Ubuntu
- Video
- Virtualization
- Visual Studio
- VoIP
- Web
- Web Site Measurement
- Windows
- Windows Server
- Wireless
- Word
- World
- Xbox
- Yahoo!
- YouTube
Archives
Recent Posts
- Tresling - arm wrestling game controller
- SwashBot - robot from a helicopter
- HOWTO - fix a broken NES
- Turn an ATX power supply into a lab PSU
- Second Life on an Apple II
- Nice overview of the YouTube API
- Javascript Super Mario
- Automatic outbound link analytics with jQuery
- Silence your hard drive
- Air on the EeePC
www.flickr.com
|




