Some Debian and Ubuntu Quirks


I’m not sure why Debian and Ubuntu decided to make the EDITOR default to nano¬†instead of vi. It is annoying whenever I run the visudo command the sudoers file gets opened up by¬†nano instead of vi. Isn’t it why it was called visudo and not nanosudo? :)

Arrow keys in VI

The vi in Debian doesn’t allow the arrow keys in edit mode. Why? An easy fix would be to do :set nocompatible in vi. But still, would it be nice if this would be the default like in other distros (Ubuntu, Redhat, and CentOS)? VI in MacOSX also allows the arrow keys in edit mode.