Making terminal behave like Linux

From Devipedia

Revision as of 16:02, 5 September 2013 by WikiSysop (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Don't every lose this...

Fire up your Terminal, go to Preferences -> Settings – Keyboard and modify the following keys, so that their action matches the value shown. You can edit the keystroke for an item by double clicking on it, selecting “send string to shell”, and typing the indicated keys.

Key Action Keystrokes

control cursor left \033b ESC b

control cursor right \033f ESC f

end \005 CTRL+e

home \001 CTRL+a

page down \026 CTRL+v

page up \033v ESC v

Also, VIM won't have the proper behavior by default, so add this to your .vimrc:

set nocompatible "must be first line

Personal tools