Closed donnemartin closed 8 years ago
I think this would be great. The only concern I have, as you mentioned in your TODO, is being able to have color themes. Either that or ensuring the color theme is neutral enough (for now) that it works for both dark and light backgrounds.
I tried a few themes on white background--some work better than others, which I think is expected. I'll do some more tweaks to try to make the lexer more neutral, at least for the default theme.
I've hooked it up so that setting theme = none
will disable the lexer.
Below are the supported themes:
# visual theme. possible values: manni, igor, xcode, vim,
# autumn,vs, rrt, native, perldoc, borland, tango, emacs,
# friendly, monokai, paraiso-dark, colorful, murphy, bw,
# pastie, paraiso-light, trac, default, fruity.
# to disable themes, set theme = none
theme = vim
I updated the initial comment with the proposed UI.
Implementation merged in 9149483166ac1c294aa3e8a2392c3d350e7ee852.
A lexer would make it easier to visually distinguish the different components of a command:
Config File
Default theme: vim
Disable Syntax Highlighting
Sample: Dark Background
Samples: Light Background
Note: My terminal colors are customized which might be why we see light gray for
aws>
.