Files
vterm/vterm.sublime-settings
Vaclav Tvrdik e478f41f7c Fix text loss after zero-width chars, grey 248 quantization, scrollback cap, no-theme sampling, shipped terminal default
- draw(): a zero-width non-combining char (VS16, ZWJ) or a stray control
  byte dropped the rest of the run; skip the char instead
- quantize_256: grey 248 mapped to slot 256 and aborted the SGR
- trim_history: the cap now counts rows above the screen, so a value
  below the screen height (0: no scrollback) no longer cuts the screen
- "No theme" sampled the focused terminal's own colours; sample a
  non-terminal view instead
- vterm.sublime-settings: Apple Terminal is the default again, kitty
  commented out, as the README says
2026-10-25 10:39:13 +01:00

45 lines
1.6 KiB
Plaintext

{
// close the tab automatically when the process exits
"auto_close": true,
// number of scrollback lines kept in the view
"scrollback_history_size": 50000,
// ED 3 (erase saved lines) drops the scrollback, as a terminal should.
// Agents repaint with it and take your history with them, so it is off;
// cmd+shift+k is then the only way to empty the tab.
"honor_erase_scrollback": false,
// modifier that turns PgUp/PgDn and Up/Down into a scroll of the view
// (a page / a line): "shift", "ctrl", "alt" or a "+" combination;
// null sends the keys to the app
"scroll_modifier": "shift",
// scroll lines sent to the app per wheel notch (iTerm2 sends 3).
// A trackpad via LinearMouse makes many notches per swipe; 1 is calmer.
"wheel_lines": 1,
"min_columns": 20,
"max_columns": 500,
// colour palette: "default", "homebrew", "pro", "slate", "red-alert", or null
// to follow the active Sublime colour scheme. Default for terminals opened
// from now on; vterm: Select Theme retints the focused terminal and sets this.
"theme": null,
// override any of the 16 ANSI colors, e.g. {"red": "#ff0000"}
// applied on top of the theme
"ansi_colors": {},
// External terminal for "vterm: Open Terminal in Project Folder".
// %CWD% in parameters is replaced with the project folder.
"terminal": "/usr/bin/open",
"parameters": ["-a", "Terminal", "%CWD%"],
// kitty instead of Apple Terminal:
// "terminal": "/opt/homebrew/bin/kitty",
// "parameters": ["-d", "%CWD%"],
"debug": false
}