Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Include an editor #21

Open
embray opened this issue Jul 13, 2018 · 4 comments
Open

Include an editor #21

embray opened this issue Jul 13, 2018 · 4 comments

Comments

@embray
Copy link
Contributor

embray commented Jul 13, 2018

The %edit magic doesn't work, since if $EDITOR is not set it defaults to vi, but vi/vim are not installed either so just nothing happens. We could either include vim in the distribution, or preconfigure $EDITOR to something windows-ish (either notepad or wordpad--probably the latter since it handles unix newlines correctly, though the former is more familiar, and is also getting unix newline support soon).

Or we could include a text-based editor, but something more novice-friendly (say, nano).

@embray
Copy link
Contributor Author

embray commented Jul 13, 2018

Huh, actually it looks like vi is included, in which case I'm not sure why %edit isn't working.

@embray
Copy link
Contributor Author

embray commented Jul 13, 2018

Nevermind, it does work; I was just using it wrong. Nevertheless, perhaps we should include a friendlier default than vi (it actually is vim, but running in vi-mode, and plain vim curiously is not included).

@slel
Copy link
Member

slel commented Aug 18, 2018

Maybe ATOM, customized to use Python syntax highlighting
for all Python, Cython and Sage files (.py, .pyx, .spyx, .sage)?

@embray
Copy link
Contributor Author

embray commented Aug 21, 2018

No, nothing GUI-based. The idea of this issue was to just have a reasonable default, not a full-featured editor included.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants