Configure texteditor

Configuration tree

Since textworker 1.6a2 and 1.5 alpha, the configuration tree has been changed a lot.

This is the tree you will get from these versions:

$ tree .config/textworker
.config/textworker
├── configs_dev.ini # stable builds use configs.ini
├── editorconfigs
│   └── default.ini
└── themes
    └── default.ini

Compare with older versions:

~/.config/texteditor
| configs.ini ; Main configuration file (stable)
| configs_dev.ini ; Main config file (development)

Or even older in 1.2-:

~/.config/texteditor_configs.ini

If needed, the program may ask to update it, but your customizations will be kept.

The current latest configuration file: (below is the template)

Older:

[global]
color = light
sub_color = default
autocolor = yes
font = default
font_size = 12

[popups]
width = 250
height = 250

[cmd] ; Or extensions.cmd
defconsole = xterm ; cmd on Windows
isenabled = yes ; or enable

[filemgr] ; 1.3+
autosave = yes
autosave-time = 30

GUI way

Currently this way has been implemented for wip/wx build.

Where to get? Go to Configs-> Setup and check for the popup which will be opened then;)

Since the upcoming 1.6dev1 version, you won't have to use that Setup window - it's used for the first-run (idk if I can do it), you will use the general Preferences window instead. It's located on Settings menu and can be triggered by pressing Ctrl+P.

INI way

First, look for basic components here. Also look for the INI file format basics.

If you use texteditor 1.5+/textworker 1.6a2+, application UI configurations are placed in ~/.config/textworker/themes/. For older versions, you can check this instead.

And...

You completed your changes? Restart the app and enjoy!

Last updated