programs.cudatext.enable
Whether to enable cudatext.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.cudatext.package
The cudatext package to use.
Type: null or package
Default:
pkgs.cudatext
Declared by:
programs.cudatext.hotkeys
Hotkeys for Cudatext. To see the available options, change
the settings in the dialog “Help | Command palette” and
look at the changes in settings/keys.json.
Type: JSON value
Default:
{ }
Example:
{
"116" = {
name = "column select: page up";
s1 = [ ];
};
"153" = {
name = "delete char right (delete)";
s1 = [
"End"
];
};
"2823" = {
name = "code tree: clear filter";
s1 = [
"Home"
];
};
"655464" = {
name = "caret to line begin";
s1 = [ ];
};
"655465" = {
name = "caret to line end";
s1 = [ ];
};
}
Declared by:
programs.cudatext.lexerHotkeys
Hotkeys settings specific to each lexer.
Type: attribute set of (JSON value)
Default:
{ }
Example:
{
C = {
"153" = {
name = "delete char right (delete)";
s1 = [
"End"
];
};
"655465" = {
name = "caret to line end";
s1 = [ ];
};
};
Python = {
"2823" = {
name = "code tree: clear filter";
s1 = [
"Home"
];
};
"655464" = {
name = "caret to line begin";
s1 = [ ];
};
};
}
Declared by:
programs.cudatext.lexerSettings
User configuration settings specific to each lexer.
Type: attribute set of (JSON value)
Default:
{ }
Example:
{
C = {
numbers_style = 2;
};
Python = {
numbers_center = false;
numbers_style = 1;
};
Rust = {
numbers_center = false;
numbers_for_carets = true;
numbers_style = 2;
};
}
Declared by:
programs.cudatext.mutableSettings
Whether to merge declared user settings, hotkeys and lexer settings into writable files during activation. Existing comments and trailing commas are accepted, but comments and formatting are lost when writing JSON. Declared values, including arrays, take precedence. Removing a declaration does not remove it from the file. Switching back to immutable settings only removes byte-identical files; changed files require backup or removal.
Type: boolean
Default:
false
Declared by:
programs.cudatext.userSettings
User configuration for Cudatext.
Type: JSON value
Default:
{ }
Example:
{
numbers_center = false;
numbers_for_carets = true;
numbers_style = 2;
}
Declared by: