Files
vterm/vterm.sublime-settings
Vaclav Tvrdik 2abbc503cf End DCS/OSC strings at any ESC, default the external terminal to Terminal.app
A string with no ST swallowed every later sequence, RIS included, and
Clear Screen could not recover the tab. Any ESC now ends it, as in xterm,
and the sequence it starts is dispatched. The shipped setting needed Kitty.

Also: REP, SCOSC/SCORC, DECOM-relative CPR, `:` subparams and more DECRQM
modes answered; new rows inserted in one edit; controls stripped from
pastes; wide-char mouse columns.
2026-11-01 20:23:08 +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": "/usr/bin/open",
// "parameters": ["-a", "Kitty", "%CWD%"],
"debug": false
}