OSX crazy Terminal.app

First of all, I have to say I love my Mac. But if there’s something that drives me crazy, is the Terminal.app’s keybindings.

After being a Linux user for some years, the way Terminal.app works makes me get crazy. Here’s how to put everything working like it sould:

First of all, open ~/.profile in a text editor. Add the following line  to the beginning of the file:

TERM=linux

Then, get to the Terminal preferences menu->Settings->Keyboard. Change the following keys to those actions. Simply click on Edit->Action: Send String to shell.

Change the following:

home               \033[1~

end                   \033[4~

page up           \033[5~

page down     \033[6~

Now it all should work fine.

If you get to screw Terminal.app, simply delete the file ~/Library/Preferences/com.apple.terminal.plist to reset the settings.

Tags: , , , , , ,

Leave a Reply