nexedit 0.2.2

A vim-like text editor, with simple shortcuts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::view::color::RGBColor;

#[derive(Clone, Copy, Debug, PartialEq, Default)]
pub enum Colors {
    #[default]
    Default, // default/background
    Focused,    // default/alt background
    Inverted,   // background/default
    Insert,     // white/green
    Warning,    // white/yellow
    PathMode,   // white/pink
    SearchMode, // white/purple
    SelectMode, // white/blue
    CustomForeground(RGBColor),
    CustomFocusedForeground(RGBColor),
    Custom(RGBColor, RGBColor),
}