The chr terminal editor is inspired by the turbo pascal editor using Turbo Vision from the year 1997. For the keyboard shortcut he should be similar gedit, to facilitate the transition from desktop to console editor.
While I wouldn't want anything like vim's modeline in my files, I think it makes sense to have a user- or system-wide configuration file that specifies options like tab width and tabs/spaces per file name and/or file path. As an example, I am thinking of something like this:
/etc/chr/filesettings
*.yaml,*.yml tab=false tabsize=2
$XDG_CONFIG_HOME/chr.filesettings (or a chr folder instead)
(additionally having an option to save the currently applied formatting options that deviate from the defaults/config to the latter file, referencing the currently opened file by it's full path, if applicable)
While I wouldn't want anything like vim's modeline in my files, I think it makes sense to have a user- or system-wide configuration file that specifies options like tab width and tabs/spaces per file name and/or file path. As an example, I am thinking of something like this:
/etc/chr/filesettings
$XDG_CONFIG_HOME/chr.filesettings (or a chr folder instead)
(additionally having an option to save the currently applied formatting options that deviate from the defaults/config to the latter file, referencing the currently opened file by it's full path, if applicable)