Add SC-IM to work with CSV files

An ncurse based vim inspired mode editor for CSV files.
With custom styling.

I need this for fixture and assertion files of TYPO3 Testing Framework.
This commit is contained in:
Daniel Siepmann 2022-08-17 10:18:33 +02:00
parent 2795cb79c3
commit 8ed56905cc
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 28 additions and 0 deletions

26
home/files/scimrc Normal file
View file

@ -0,0 +1,26 @@
set input_bar_bottom
color "type=HEADINGS fg=DEFAULT_COLOR bg=DEFAULT_COLOR"
color "type=HEADINGS_ODD fg=DEFAULT_COLOR bg=DEFAULT_COLOR"
color "type=GRID_EVEN fg=DEFAULT_COLOR bg=DEFAULT_COLOR"
color "type=GRID_ODD fg=DEFAULT_COLOR bg=DEFAULT_COLOR"
color "type=CELL_ID bold=1 fg=CYAN bg=DEFAULT_COLOR"
color "type=CELL_FORMAT bold=1 fg=CYAN bg=DEFAULT_COLOR"
color "type=CELL_CONTENT bold=1 fg=CYAN bg=DEFAULT_COLOR"
color "type=CELL_SELECTION bold=1 fg=CYAN bg=BLACK"
color "type=CELL_SELECTION_SC bold=1 fg=CYAN bg=BLACK"
color "type=STRG bold=0 fg=DEFAULT_COLOR bg=DEFAULT_COLOR"
color "type=NUMB bold=0 fg=DEFAULT_COLOR bg=DEFAULT_COLOR"
color "type=DATEF bold=0 fg=DEFAULT_COLOR bg=DEFAULT_COLOR"
color "type=EXPRESSION bold=1 fg=YELLOW bg=DEFAULT_COLOR"
color "type=CELL_ERROR bold=1 fg=RED bg=DEFAULT_COLOR"
color "type=CELL_NEGATIVE bold=0 fg=DEFAULT_COLOR bg=DEFAULT_COLOR"
color "type=INFO_MSG bold=1 fg=DEFAULT_COLOR bg=CYAN"
color "type=ERROR_MSG bold=1 fg=DEFAULT_COLOR bg=RED"
color "type=MODE bold=1 fg=CYAN bg=DEFAULT_COLOR"

View file

@ -35,6 +35,7 @@ with pkgs; [
litecli
sqlite
mycli
sc-im
# mytop
robo3t
mkcert

View file

@ -9,6 +9,7 @@
"borg/exclude".source = ./files/borg-exclude;
"ctags/config.ctags".source = ./files/ctags;
"sc-im/scimrc".source = ./files/scimrc;
"keepassxc/keepassxc.ini".text = pkgs.lib.generators.toINI { } {
General = {