Hacker News new | ask | show | jobs
by ansgri 3871 days ago
It's of course available, but not installed by default, and when e.g. you git commit from console, it by default launches Nano with its counterintuitive shortcuts.
2 comments

Put `export EDITOR=ne` line in your `~/.profile` (or `~/.bashrc` or `~/.zshrc` or whatever). That should do the trick.
I was trying to git better the other day and one of the early suggestions in something I looked at was to set a comfortable default editor.