Hacker News new | past | comments | ask | show | jobs | submit login

I've just installed it from the Ubuntu 15.10 Software Centre (v3.0.1-2).



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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: