documents/sublime-text.md

Sublime Text Setup

Editor: Sublime Text Mode: Vintage (Vim mode) enabled Terminal: Terminus extension installed

Terminal (Terminus)

Shortcut Action
Ctrl + J Toggle terminal panel (open/close) — the terminus_panel slides in from the bottom
Ctrl + Shift + T Open a new terminal tab in the current file's directory (cwd: ${file_path})

The terminal panel (Ctrl+J) is great for quick commands. Use Ctrl+Shift+T when you want a full-height terminal tab that stays open alongside your files.

Column Layouts (Split Panes)

Shortcut Action
Option + Cmd + 1 Single column (1 pane)
Option + Cmd + 2 Two columns
Option + Cmd + 3 Three columns
Option + Cmd + 4 Four columns

These are the built-in Sublime Text grid shortcuts. Opt+Cmd+2 is especially useful for side-by-side editing — source on the left, terminal or reference on the right.

Vim Mode (Vintage)

Shortcut / Key Action
j j (in insert mode) Exit insert mode back to normal/command mode (custom mapping from keymap)
Escape Also exits insert mode (standard Vim)

The jj escape is a common ergonomic remap — much faster than reaching for Escape.

User Keymap (condensed)

[
  // jj to exit insert mode (like Vim's jk / jj)
  { "keys": ["j", "j"], "command": "exit_insert_mode", ... },

  // Toggle terminal panel
  { "keys": ["ctrl+j"], "command": "toggle_terminus_panel" },

  // Open terminal tab in current file's directory
  { "keys": ["ctrl+shift+t"], "command": "terminus_open", "args": { "cwd": "${file_path:${folder}}" } }
]