Getting Started
This guide will help you install Scimax VS Code and get started with its core features. By the end, you'll be able to create structured documents, execute code, and navigate efficiently.
System Requirements
VS Code Version
Scimax VS Code requires Visual Studio Code version 1.85 or later.
Optional Dependencies
While Scimax VS Code works out of the box, some features require additional software:
For Code Execution
| Language | Requirement |
|---|---|
| Python | Python 3.x installed and in PATH |
| JavaScript | Node.js installed |
| Shell | Bash or compatible shell |
| R | R installed with Rscript in PATH |
| Julia | Julia installed and in PATH |
For Jupyter Integration
Jupyter installed (`pip install jupyter')
Jupyter kernels for desired languages
For LaTeX/PDF Export
TeX distribution (TeX Live, MiKTeX, or MacTeX)
pdflatex, xelatex, or lualatex compiler
For LaTeX Equation Preview
LaTeX distribution with dvipng or dvisvgm
Installation
From VS Code Marketplace
Open VS Code
Press `C-S-X' to open the Extensions view
Search for "Scimax"
Click Install
From VSIX File
Download the .vsix file from the GitHub Releases page
Open VS Code
Press `C-S-X' to open the Extensions view
Click the `...' menu (top right)
Select "Install from VSIX..."
Choose the downloaded file
From Source (GitHub)
The source code is available at [[https://github.com/jkitchin/scimax_vscode]].
To build and install from source:
Clone the repository:
Install dependencies and build:
Install the generated VSIX:
⚠️ Updating the Extension
To update to the latest version from within VS Code:
Open the Command Palette (`C-S-P')
Run "Scimax: Update from GitHub"
Confirm the update when prompted
Reload VS Code when prompted
This downloads and installs the latest release from GitHub automatically.
Verify Installation
After installation:
Open the Command Palette (`C-S-P')
Type "Scimax"
You should see Scimax commands listed
First Steps
Opening an Org File
Org files use the .org extension. To create your first file:
Press `C-n' to create a new file (note s-n on Mac)
Save it with `C-s' and give it a `.org' extension (e.g., `notes.org')
The file will automatically use org-mode syntax highlighting
Creating Your First Document
Type the following to create a basic document structure:
,#+TITLE: My First Document
,#+AUTHOR: Your Name
,#+DATE: 2026-01-13
,* Introduction
This is my first Scimax VS Code document.
,** A Subsection
Content under the subsection.
,* Tasks
,** TODO Learn Scimax VS Code
DEADLINE: <2026-01-20 Mon>
,** DONE Install the extension
CLOSED: [2026-01-13 Mon]
,* Code Example
,#+BEGIN_SRC python :results output
print("Hello from Scimax VS Code!")
,#+END_SRC
Understanding the Interface
Outline View
The Outline view in VS Code's sidebar shows your document structure:
Click the Outline icon in the sidebar (or press `C-S-O')
See all headings hierarchically
Click a heading to jump to it
Tree Views
Scimax VS Code adds several tree views to the Explorer sidebar:
Journal Tree
Shows your journal entries organized by date. Access today's entry with `C-S-J' (or `s-S-J' on Mac).
Projects Tree
Shows your registered projects for quick navigation.
Agenda Tree
Shows TODO items, deadlines, and scheduled tasks across your files.
Status Bar
The status bar shows:
Current journal date (when in journal files)
Kernel status (when using Jupyter)
Essential Commands
Document Commands
| Key | Command |
|---|---|
| Tab | Cycle fold at heading |
| S- | Cycle global fold |
| C-c C-j | Jump to heading |
| C- | Insert new heading (at heading) |
| C-c C-t | Cycle TODO state |
| C-c C-c | Context action (execute/toggle) |
Source Block Commands
| Key | Command |
|---|---|
| C- | Execute current block |
| S- | Execute block and move to next |
| C- | Go to previous block |
| C- | Go to next block |
Export Commands
| Key | Command |
|---|---|
| C-c C-e | Open export dispatcher |
| C-c C-e h h | Export to HTML |
| C-c C-e l l | Export to LaTeX |
| C-c C-e l p | Export to PDF |
Help Commands
| Key | Command |
|---|---|
| C-h k | Describe key (type a key to see its command) |
| C-h b | List all keybindings |
| C-h f | Describe command (find command by name) |
| C-h v | Describe variable (view setting details) |
| C-h a | Apropos (search documentation for keywords) |
Recommended Settings
Open VS Code settings (`C-,') and search for "scimax" to see all options.
Essential Settings
{
// Enable speed commands (single-key at heading start)
"scimax.speedCommands.enabled": true,
// Set your journal directory
"scimax.journal.directory": "~/Documents/journal",
// Configure bibliography files for citations
"scimax.ref.bibliographyFiles": ["~/references.bib"],
// Enable image overlays
"scimax.imageOverlays.enabled": true,
// Auto-index files for search
"scimax.db.autoIndex": true
}
Python Configuration
If Python isn't automatically detected:
{
"scimax.literate.pythonPath": "/usr/bin/python3"
}
LaTeX Configuration
For PDF export:
{
"scimax.latexLivePreview.compiler": "pdflatex",
"scimax.latexLivePreview.useLatexmk": true
}
Migrating from Emacs
If you're coming from Emacs Org-mode or Scimax, here are key differences:
Similar Features
| Emacs | VS Code |
|---|---|
| C-c C-c | C-c C-c |
| C-c C-t | C-c C-t |
| C-c C-e | C-c C-e |
| TAB on heading | Tab on heading |
| S-TAB | S- |
| M-RET | C- |
| M-left/right | M- |
| M-up/down | M- |
| Speed commands | Same keys (when enabled) |
Different Behaviors
Completion: Uses VS Code's completion system, triggered automatically
Folding: Uses VS Code's native folding with org-specific ranges
Buffer management: VS Code tabs instead of Emacs buffers
Customization: JSON settings instead of Emacs Lisp
Missing Features
Some advanced Emacs features may not be available:
Org-mode's full capture/refile system (simplified version available)
Column view
Some specialized agenda views
Custom link types (limited set supported)
Next Steps
Now that you're set up, explore these topics:
Document Structure - Master headings, folding, and navigation
TODO Items - Learn task management
Source Code Blocks - Execute code in your documents
Keybindings - Learn all keyboard shortcuts
Troubleshooting
Code Blocks Not Executing
Check that the language is installed (e.g., Python, Node.js)
Verify the language is in your PATH
Check the Output panel (`C-S-U') for errors
Run `scimax.org.checkExecutors' to verify available executors
LaTeX Preview Not Working
Ensure LaTeX is installed (`latex --version' in terminal)
Check that dvipng or dvisvgm is available
Run `scimax.checkLatexTools' to verify installation
Search Not Finding Results
Run `scimax.db.reindex' to rebuild the search index
Check that files aren't in excluded patterns
Verify the search scope (`scimax.db.setScope')
Journal Not Opening
Check that `scimax.journal.directory' is set correctly
Ensure the directory exists and is writable
Try creating the directory manually if needed
Disable Option-Key Accents on macOS
M-
Add Unicode Hex Input
System Settings → Keyboard → Input Sources → click "+" → select Other → add "Unicode Hex Input"
Remove U.S. Input (optional)
System Settings → Keyboard → Input Sources → select "U.S." → click "−"
Navigation
Previous: Documentation Index
Index: Documentation Index
Next: Basic Syntax