Jim Myhrberg 91663ad00d feat(settings): add commands to insert em-dash and en-dash symbols
Due to me using alt+- and alt+shift+- as undo/redo, macOS's which are macOS' default keybindings for typing en-dash and em-dash, I need an alternative way to insert them when needed.

This solution uses a combo of the macros and aliases extensions to achieve it. It's a bit of a dirty hack, but works for now. At a later day I'll look for a solution that lets me define and add custom commands.
2025-03-15 13:20:05 +00:00
2025-03-09 01:56:01 +00:00
2025-03-09 01:57:13 +00:00

jimeh's VSCode configuration (vscode-siren)

This is my personal configuration for VSCode and VSCode-based editors like Cursor and Windsurf, and is heavily geared towards recreating the text editor experience I have in Emacs with my config.

The "vscode-siren" nickname is based on the the "Emacs Siren" nickname of my Emacs config.

Focus has primarily been around using this with Cursor, but does work in Windsurf and regular VSCode as well.

Features

  • Emacs-ish inspired keybindings - Based on the configuration from emacs-siren, which is my personal highly customized Emacs configuration.
  • Modern UI - Customized window behavior with native macOS tabs, allowing for a single-window multi-workspace experience with accompanying keybindings.
  • Automatic dark/light theme switching - Dark theme (One Dark Pro) and light theme (Solarized Light) with automatic switching based on system preferences.
  • Custom snippets - Some pre-configured snippets for Go and Ruby.

Installation

Clone this repository to your preferred location:

git clone https://github.com/jimeh/.vscode.d.git ~/.config/vscode-siren

Setup

The included siren script is a helper to symlink configuration files into the default profile of VSCode-based editors, and also manage their installed extensions via lock files.

./siren --help
Usage: siren EDITOR COMMAND [OPTIONS]

Editors:
  cursor, c                   Cursor editor
  vscode, code, vsc, v        Visual Studio Code
  vscode-insiders, vsci, i    Visual Studio Code Insiders
  windsurf, surf, w           Windsurf editor

Commands:
  config, conf             Create symlinks for editor config files
  dump-extensions, dump    Export installed editor extensions to a lock file.
  extensions, ext          Install editor extensions from a lock file.

Options:
  --latest                 When used with the extensions command, installs the
                           latest version of each extension instead of the
                           exact version from the lock file.

Description:
  This script manages editor configuration files and extensions.
  It can create symlinks for settings, keybindings, and snippets,
  as well as dump extension lock files and install extensions from them.

In examples below, we will be using cursor as the editor.

./siren cursor config

Install Extensions

This will install all extensions from the extensions.<EDITOR>.lock file:

./siren cursor extensions

Or if you want install the latest versions rather than those from the lock file:

./siren cursor extensions --latest

Update extensions lock file

To dump the current list of installed extensions to a lock file, run:

./siren cursor dump-extensions
Description
My personal config for VSCode-based editors, heavily tweaked to try and match behaviors of my Emacs config.
Readme 2.6 MiB
Languages
Shell 96.6%
Makefile 3.4%