Set EDITOR and PAGER.
Set vi mode for console.
Add aliases for history and tail.