Back to docs
configuration

App Settings

Settings Overview

Strayfiles stores user preferences in ~/.strayfiles/config.csv. Access settings via the Settings menu in the app.

Settings Sections

The Settings UI is organized into 13 sections:

  1. Account - Login, subscription status, and account management
  2. Stray Cloud - Cloud sync backend and preferences
  3. Teams - Team management and collaboration
  4. Appearance - Theme selection, line numbers, editor toolbar
  5. Editor - Autosave, save duration, notes directory
  6. Security - E2E encryption status and setup
  7. File Discovery - File discovery exclusions
  8. Workspaces - Workspace visibility and configuration
  9. Mirrors - Mirror sync settings
  10. Terminal - Embedded terminal configuration
  11. Ping - Agent notification settings
  12. Advanced - Backend switching and proxy
  13. About - Version and updates

General Settings

Notes Directory

The default location for newly created notes. When you create a note via “Add Note” in the TUI or app, this directory is used as the starting location.

Default: ~/.strayfiles/notes/

Theme

Choose from 6 color themes:

ThemeDescription
DarkDefault dark theme
LightLight background
PastelSoft pastel colors
SunriseWarm morning tones
MidnightDeep dark blue
ForestGreen-tinted dark

Show Line Numbers

Toggle line numbers in the editor. Default: On


Terminal Settings

Strayfiles includes an optional embedded terminal.

SettingOptionsDefault
Show TerminalOn/OffOff
PositionBottom, RightRight
SizePercentage (5-75)50

Use + and - to adjust terminal size.


Discovery Settings

Configure which files and folders to exclude from file discovery.

Excluded Directories

Folders to skip when discovering files:

node_modules, .git, target, .next, dist

Add directories like vendor, build, .cache as needed.

Excluded Extensions

File extensions to ignore:

.log, .bak, .tmp

Excluded Patterns

Glob patterns to exclude:

**/*.min.js, **/generated/**, **/*.draft.md

These exclusions apply when you use File Discovery to search your machine for Markdown files.


Encryption Settings

Manage end-to-end encryption for Stray Cloud.

ItemDescription
StatusShows: Unlocked, Locked, or Not configured
Setup KeyCreate encryption key file
LockLock encryption (requires password next session)

See Encryption for detailed setup.


Sync Settings

Backend

Displays your current storage backend:

  • Local - File-based storage
  • Git - Git repository
  • Supabase - Stray Cloud (Pro)
  • Proxy - Remote server

Auto-sync

Automatically sync changes. Default: On

When enabled:

  • Changes sync immediately after save
  • Background sync keeps devices in sync
  • Conflicts detected and queued for resolution

Sync Settings to Stray Cloud

Sync your preferences across devices. Default: Off

When enabled:

  • Theme, exclusions, and preferences sync to Stray Cloud
  • New devices get your settings automatically
  • Requires Pro subscription

Manage Devices

View and manage paired devices:

  • See all registered devices
  • View last active time
  • Remove devices you no longer use

Git Remote

Git remote name for sync operations. Default: origin

Git Branch

Git branch for sync operations. Default: main


Advanced Settings

Instant Mode

Switch to ephemeral in-memory storage:

  • Notes exist only for current session
  • Useful for testing or temporary notes
  • All data lost on quit

Proxy Connect

Connect to a remote Strayfiles server:

  1. Enter proxy server URL
  2. Optionally enter auth token
  3. Connect to remote storage

Useful for accessing notes on a remote machine.


About

Version

Displays current app version.

Check for Updates

Check for new releases. Downloads are available from strayfiles.com/download.

Website

Link to strayfiles.com documentation and resources.


Settings File

Settings are stored in:

~/.strayfiles/config.csv

Example contents:

key,value
last_theme,dark
notes_directory,~/.strayfiles/notes/
note_display_mode,alias
show_editor_toolbar,false
show_line_numbers,true
terminal_enabled,false
terminal_position,right
terminal_size,50
auto_sync,true
settings_sync_enabled,false
excluded_directories,"node_modules,.git,target,.next,dist"
mirror_auto_sync,true
show_workspaces_section,false
auto_start_daemon,false
autosave_enabled,false
autosave_duration,60
tos_accepted,true

Sensitive Data

Secrets (API keys, auth tokens) are stored in your system keychain, not the config file:

  • macOS: Keychain Access
  • Linux: Secret Service
  • Windows: Credential Manager

Keyboard Navigation

Navigate settings with these keys:

KeyAction
j / Move down
k / Move up
Enter / lSelect / Enter
Esc / hBack
TabSwitch sections ↔ items
+ / -Adjust numeric values
qClose settings

Resetting Settings

To reset all settings to defaults:

  1. Quit Strayfiles
  2. Delete ~/.strayfiles/config.csv
  3. Restart Strayfiles

A fresh config file will be created with default values.