Skip to content

Settings

Cogitus stores user settings using XDG config paths.

Settings File

Configuration is persisted under your XDG config directory for cogitus (for example ~/.config/cogitus/config.toml on many Linux systems).

Current Settings

last_viewed_idea_pk

Stores the last selected idea when the app exits.

  • Type: integer
  • Default: 0 (means no selection persisted yet)

Note

This setting will be deprecated in a future version and stored internal to the cogitus database.

edit_body_cursor_mode

Controls initial cursor placement when opening an existing idea in edit mode.

  • Type: string
  • Default: remember

Valid options are:

  • "remember"
    • Uses the previously saved cursor position for that idea.
  • "start"
    • Places the cursor at the start of the body text.
  • "end"
    • Places the cursor at the end of the body text.

Example:

edit_body_cursor_mode="start"

Notes

  • Settings are saved on app exit.