Cardboard Box

Cardboard Box

A place to store useful snippets of code, links and other such geek stuffs.

Home & End Keys, Mac OSX (Leopard)

Using Terminal.app on Mac OSX (Leopard) to connect to an Linux system and work in Vim is a bit of hassle when it comes to the Home and End keys. To remap these such that the 'End' key will take you to the end of the current line and 'Home' the beginning, remap the keys in Terminal->Preferences->Settings->Keyboard to the following...

End: ctrl + [, [, 4, ~ it should look like this \033[1~
Home: ctrl + [, [, 1, ~ it should look like this \033[4~

This tip and others were found here.

Labels:

posted by Don @ 1:22 PM,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

About This Blog

This blog is a place where I hope to put the snippets and trimmings of my geek'dom ... code samples that have served me well, tech links and other such things that'll I find useful. In short, any time I have to Google something, I tend to post it here for others to find as well.

Also, having owned 'digital-penguin.com' for many years and having worked with many a fellow geek, this site also serves as a place where I can always be found.


Labels

Previous Posts

Archives

Links

Powered by Blogger