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 7 sections:

  1. General - Theme and editor preferences
  2. Terminal - Embedded terminal configuration
  3. Discovery - File discovery exclusions
  4. Encryption - E2E encryption status and setup
  5. Sync - Sync backend and preferences
  6. Advanced - Backend switching and proxy
  7. About - Version and updates

General Settings

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
SizeRows/columns50

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
auto_sync,true
excluded_directories,"node_modules,.git,target,.next,dist"
excluded_extensions,
excluded_patterns,
last_theme,dark
settings_sync_enabled,false
show_line_numbers,true
terminal_enabled,false
terminal_position,right
terminal_size,50
last_git_remote,origin
last_git_branch,main

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.