This commit adds beta support for running a shell or other program
within a micro view.
Use the `> term` command. With no arguments, `term` will open your
shell in interactive mode. You can also run an arbitrary command
with `> term cmd` and the command with be executed and output
shown. One issue at the moment is the terminal window will close
immediately after the process dies.
No mouse events are sent to programs running within micro.
Ref #243
- Sort keywords alphabetically
- Use `symbol.operator` for operators instead of `statement`
- Add a basic support for back-tick strings
- Mark unassigned keywords as errors
The command bar now supports better keybindings:
CtrlA, CtrlLeft: start of line
CtrlE, CtrlRight: end of line
CtrlF, AltRight: next word
CtrlB, AltLeft: previous word
CtrlW, AltBackspace: delete previous word
CtrlV: Paste
Arrow keys as usual
These keybindings are not rebindable (maybe support will be added
in the future).
The default colorschemes should ideally use 256 colors instead
of just 16 colors. The `simple` colorscheme should cover most
16 color use cases. I went through the colorschemes and put the themes
that didn't look good or looked incomplete in an in_progress directory.
This commit also improves the `cd` command behavior when using an
unnamed buffer.
The -l flag to the replace command means "literal" and will treat
the search term literally instead of as a regular expression.
The command bar also now supports expanding environment variables
and running expressions through the shell and using the result
in the command.
The option is `scrollbar` and is off by default. The scroll bar is
not interactive (you can't click and drag it) but this will likely
be fixed in the future.
Ref #869