a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

Change Default Editor

Open DM1145 opened this issue 3 years ago • 6 comments

Is it possible to change the default editor from vim to, for example, nano?

DM1145 avatar Jul 31 '20 22:07 DM1145

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.

holzschu avatar Aug 01 '20 06:08 holzschu

Ok. T/Y. Should I close?

DM1145 avatar Aug 01 '20 18:08 DM1145

What about pico? Does anyone remember pico?

itadder avatar Nov 15 '20 00:11 itadder

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.

aramb-dev avatar Nov 15 '20 00:11 aramb-dev

What about pico? Does anyone remember pico?

Pico?

aramb-dev avatar Nov 15 '20 01:11 aramb-dev

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

mylittleplaceholder avatar Jan 20 '22 05:01 mylittleplaceholder