Added a "set newline mode" command binding.

Fixes #198.