WindowsLinuxmacOS

Where Is the Textadept Config File?

Textadept keeps init.lua plus themes in ~/.config/textadept on every platform. Keep Lua syntax valid for startup.

Last updated

Textadept configures through an init.lua file under the user config home on every OS. Themes, snippets and modules sit beside it. The editor reads the tree at launch.

Back up the whole folder to move the setup. Paths stay identical across Windows, Mac and Linux, which keeps this simpler than most editors. Keep Lua syntax valid since errors block startup.

Where Textadept stores this, by platform

Windows
%USERPROFILE%\.config\textadept\init.lua (themes beside it)

Init plus themes and snippets in one folder. Identical layout on every OS. Copy with the editor closed.

Linux
~/.config/textadept/init.lua (themes beside it)

Same init.lua layout under XDG config. Transfers directly between machines.

macOS
~/.config/textadept/init.lua (themes beside it)

Same init.lua layout under home config. Confirm path in-app across versions.

Frequently asked questions

How do I move Textadept settings?

Copy the textadept config folder with the editor closed to the same path. Init, themes and snippets travel together. Reopen once to confirm.

Textadept will not start. What now?

Check init.lua for the offending lines first. One bad require stops the whole setup. Start from a minimal init, then re-add sections.

Notice an outdated path? Let us know.