Install emacs and vim.

Fixes #840.