The complete keyboard mapping for Leopard's Terminal.app

I’m a heavy keyboard user, so being able to navigate quickly through the command line is mandatory.
Leopard’s Terminal.app lacks the most useful keyboard bindings, like word boundaries moves, word deletion, even the Home and End keys don’t move your cursor to the beginning and end of the command line.
So, after experimenting for a while, I found the optimum keyboard mapping for my MacBook Pro. To see how it feels, open your Terminal.app. Then go to Preferences->Keyboard. Now just add the following maps. Note that the preference dialog will replace any existent key map.

KeyActionKey StrokeResult
control cursor left33bEsc+bMove one word backwards
control cursor right33fEsc+fMove one word forward
control forward delete27Ctrl+wDelete word
end05Ctrl+eMove to the end of the line
home01Ctrl+aMove to the beginning of the line
option cursor left33bEsc+bMove one word backwards
option cursor right33fEsc+fMove one word forwards
page downscroll to next page in buffer
page upscroll to previous page in buffer

COMPARTILHE ESTE ARTIGO

Share on facebook
Share on linkedin
Share on twitter
Share on email

Uma resposta

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *