get/set the user's editor via editor().

  This fixes #32.

  editor() is used, if not set to an entry then $EDITOR is used,
 if that is empty we use vim.