/sublime_text_config

Config files from the Sublime Text 3 "Packages/User" directory

Primary LanguagePython

Sublime Text 4 Configuration

This repo contains the useful (mostly non-generated) files in the ~/Library/Application Support/Sublime Text/Packages/User/ directory. Check .gitignore to see which files go in version control.

Sublime Text is a highly extensible text editor. Check Package Control.sublime-settings to see which packages I've installed.

The bread and butter config files are Preferences.sublime-settings and Default (OSX).sublime-keymap.

For chaining commands, I use run_multiple_commands.py. This module allows you to enable some fancy keyboard shortcuts, e.g. using alt + up/down to move the cursor up or down 5 lines at a time.

PATH

Modify paths in ~/.zprofile, not in ~/.zshrc, to make sure Sublime picks them up, e.g. for LSP.

GitSavvy.sublime-settings

Reproduced here because they have an API token and can't go in version control.

{
    "api_tokens": {
        "github.com": "..."
    },
    "global_flags": {
        "commit": ["--cleanup=strip"]
    },
    "log_follow_rename": true,
    "blame_follow_rename": true,
}

LSP

Java

To install the eclipse-jdtls, first install java with brew install java, then do this:

sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk