a-shell
a-shell copied to clipboard
Change Default Editor
Is it possible to change the default editor from vim to, for example, nano?
Well, yes and no.
Yes, in the sense that you can set the environment variable EDITOR
in your ~/Documents/.profile
.
No, in the sense that currently, there are only two editors available: vim and ed. The situation is complicated because the GPL is incompatible with AppStore rules, so we are limited to editors that are not licensed under the GPL (which excludes nano, for example). I plan to do micro-emacs, though.
Ok. T/Y. Should I close?
What about pico? Does anyone remember pico?
Well, yes and no.
Yes, in the sense that you can set the environment variable
EDITOR
in your~/Documents/.profile
.No, in the sense that currently, there are only two editors available: vim and ed. The situation is complicated because the GPL is incompatible with AppStore rules, so we are limited to editors that are not licensed under the GPL (which excludes nano, for example). I plan to do micro-emacs, though.
So are you saying in a-shell you can nano? I tried it and it did not work.
What about pico? Does anyone remember pico?
Pico?
PICO, which was a part of PINE and now Alpine, is under the Apache license. Nano is based off of Pico.
https://repo.or.cz/alpine.git