Advertisement
STANAANDREY

terminus config sublime

Jul 15th, 2024 (edited)
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.99 KB | None | 0 0
  1. {
  2.     // the default config, either a single config name or a platform
  3.     // specific dict
  4.     "default_config": {
  5.         "linux": null,    // login shell
  6.         "osx": null,      // login shell
  7.         "windows": "Command Prompt"
  8.     },
  9.     // a list of available shells to execute
  10.     "shell_configs": [
  11.         {
  12.             "name": "Bash",
  13.             "cmd": ["bash", "-i", "-l"],
  14.             "env": {},
  15.             "enable": true,
  16.             "platforms": ["linux", "osx"]
  17.         },
  18.         {
  19.             "name": "Zsh",
  20.             "cmd": ["zsh", "-i", "-l"],
  21.             "env": {},
  22.             "enable": true,
  23.             "platforms": ["linux", "osx"]
  24.         },
  25.         {
  26.             "name": "Command Prompt",
  27.             "cmd": "cmd.exe",
  28.             "env": {},
  29.             "enable": true,
  30.             "platforms": ["windows"]
  31.         },
  32.         {
  33.             "name": "PowerShell Core",
  34.             "cmd": "pwsh.exe",
  35.             "env": {},
  36.             "enable": true,
  37.             "platforms": ["windows"]
  38.         },
  39.         {
  40.             "name": "PowerShell",
  41.             "cmd": "powershell.exe",
  42.             "env": {},
  43.             "enable": true,
  44.             "platforms": ["windows"]
  45.         },
  46.         {
  47.             "name": "Cmder",
  48.             "cmd": ["cmd.exe", "/k", "%CMDER_ROOT%\\vendor\\init.bat"],
  49.             "env": {},
  50.             "enable": false,
  51.             "platforms": ["windows"]
  52.         },
  53.         {
  54.             "name": "WSL Login Shell",
  55.             "cmd": "wsl.exe",
  56.             "env": {},
  57.             "enable": true,
  58.             "platforms": ["windows"]
  59.         },
  60.         {//by me
  61.             "name": "Bash",
  62.             "cmd": "C:\\Program Files\\Git\\bin\\bash.exe",
  63.             "env": {},
  64.             "enable": true,
  65.             "platforms": ["windows"]
  66.         }
  67.     ],
  68.  
  69.     // Note: for unix users, you will get better 256 color experience
  70.     // if you also set "unix_term" to "xterm-256color"
  71.     // 256 color is not working on Windows because of upstream winpty's issue
  72.     // https://github.com/rprichard/winpty/issues/108
  73.     "256color": false,
  74.  
  75.     // brighten bold text
  76.     "brighten_bold_text": true,
  77.  
  78.     // the default TERM variable of unix system. Possible values are
  79.     // "linux", "xterm" and "xterm-256color".
  80.     // However, please aware that not all xterm features are supported.
  81.     "unix_term": "linux",
  82.  
  83.     // the default LANG variable of unix system.
  84.     "unix_lang": "en_US.UTF-8",
  85.  
  86.     // number of lines kept in scrollback history
  87.     // decreasing this value may improve performance
  88.     "scrollback_history_size": 10000,
  89.  
  90.     // set a minimum or maximum terminal width in characters
  91.     "min_columns": 20,
  92.     "max_columns": 500,
  93.  
  94.     // force the terminal size
  95.     "size": [null, null],
  96.  
  97.     // Windows and Linux only
  98.     // use ctrl+c to copy
  99.     // use ctrl+v to paste  (use ctrl+alt+v to send ctrl+v instead)
  100.     // use ctrl+pagedown/pageup to change tabs
  101.     "natural_keyboard": true,
  102.  
  103.     // Terminus sends all keybinds of the form `ctrl+[a-z]` to the terminal process
  104.     // directly. Windows and Linux users sometimes may want to preserve some of such
  105.     // keybinds. (only keybinds listed below are supported, open an issue for a specific
  106.     // keybind if it is not in the list)
  107.     "preserve_keys" : [
  108.         // "ctrl+k"   // there are a number of shortcuts with "ctrl+k" prefix.
  109.         // "ctrl+p"   // to show Go to Anything
  110.     ],
  111.  
  112.     // the name of the theme
  113.     // the theme could be either "classic", "adaptive", "user" or any predefined themes
  114.     // listed in the command `Terminus Utilities: Select Theme`.
  115.     // For Sublime Text before 4096, the adaptive theme will fallback to the classic theme.
  116.     "theme": "adaptive",
  117.  
  118.     // change `theme` to "user" if you want to use customized theme
  119.     // see https://www.sublimetext.com/docs/3/color_schemes.html#colors for the
  120.     // available colors
  121.     "user_theme_colors": {
  122.         // "background": "#262626",
  123.         // "foreground": "#ffffff",
  124.         // "caret": "white",
  125.         // "block_caret": "white",
  126.         // "selection": "#444444",
  127.         // "selection_foreground": "#ffffff"
  128.         // "black": "#000000",
  129.         // "red": "#cd0000",
  130.         // "green": "#00cd00",
  131.         // "brown": "#cdcd00",
  132.         // "blue": "#0000ee",
  133.         // "magenta": "#cd00cd",
  134.         // "cyan": "#00cdcd",
  135.         // "white": "#e5e5e5",
  136.         // "light_black": "#7f7f7f",
  137.         // "light_red": "#ff0000",
  138.         // "light_green": "#00ff00",
  139.         // "light_brown": "#ffff00",
  140.         // "light_blue": "#5c5cff",
  141.         // "light_magenta": "#ff00ff",
  142.         // "light_cyan": "#00ffff",
  143.         // "light_white": "#ffffff"
  144.     },
  145.  
  146.     "view_settings": {
  147.         // these are extra view settings which are passed to the terminus_view,
  148.         // you could change settings like "font_face", "font_size" and paddings.
  149.     },
  150.  
  151.     // reactivate terminals when window starts
  152.     "reactivate_terminals": true,
  153.  
  154.     "debug": false
  155. }
  156.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement