Preferences
Documentation
/ CyStar Text Editor
Other cards
Preferences dialog
Options > Preferences (or cystar --prefs) is the only preferences dialog. The key map is on this page, not a separate one.
- Key bindings: Windows / Notepad (default) or Joe / WordStar. The radio applies immediately. See Editing and Keys.
- Font override. Empty, or Scheme Fixed, follows the scheme fixed face.
- Wrap. Display wrap at the window edge. It does not insert newlines. Resize reflows the picture of the text. ^K J is the command that reflows a paragraph with real newlines.
- Line numbers
- Recovery autosave, and how many minutes between copies
- Spell check interval (seconds, 1..60, default 20). The Edit menu toggle turns checking on or off; this dial sets how often the buffer is rescanned. Needs hunspell, aspell, or ispell on PATH.
- Undo buffer depth (0 keeps the maximum)
- Recent files length for File > Recents (0 turns the list off, max 30)
- Auto-indent
- Copy publishes to X11 PRIMARY (middle-click) and/or CLIPBOARD
- Hotkey Paste from: Primary or Clipboard. Exactly one. This is what Ctrl-V pastes in Notepad mode. Esc Y is always the kill ring. Edit > Paste from PRIMARY and Edit > Paste from CLIPBOARD ignore this and hit that buffer only.
Settings are stored in ~/.cyanotype/cystar.conf (or $CYSTAR_CONF). Unknown keys are preserved on rewrite. keymap is notepad or joe. An old windows_cut_paste=off with no keymap key loads as Joe / WordStar.
Cursor
Options > Cursor, not the main Preferences page:
- Style: line, block, i-beam, or underscore
- Blink, and blink period
- Cursor color, or the scheme default
Color Preferences
Options > Color Preferences (or cystar --color-prefs) chooses a text scheme override:
- Desktop scheme -- colors from the desktop scheme
- Whattananarong-1991 -- yellow on blue
- Pace-1984 -- yellow on black
- CRT-Murch-1987 -- phosphor green on black
- Mom Colors -- black on paper; Win9x grey chrome when whole-window is on
"Apply override to whole window" (default off) also recolors the chrome. The schemes are compiled into cystar. They are not read from share/cystar/cystar-schemes.md at run time. That file is the written table of the same colors.
These schemes are not syntax highlighting. Bold, dim, and accent roles are not painted as language tokens.
View
View > Show Tabs, Tabs Above, and Tabs Below. A single document hides the strip unless Show Tabs is on. New Tab turns the strip on. The vertical wheel on the right of the canvas zooms the body from 80% to 200%. Home is 100%.