Skip to content

Instantly share code, notes, and snippets.

@markcallen
markcallen / vim-min.sh
Last active March 23, 2026 09:40
Create a miniminal vim installation
cat << EOF > $HOME/.vimrc-min
syntax on
set backspace=start,eol,indent
set hidden
set noswapfile
set expandtab
set tabstop=2
set softtabstop=2
set shiftwidth=2
@ryanpcmcquen
ryanpcmcquen / .osx
Last active March 13, 2025 04:25
.osx
#!/usr/bin/env bash
# curl -o ~/.osx https://gist.githubusercontent.com/ryanpcmcquen/b2e608311f286a4ab3e1/raw/.osx && bash ~/.osx
###############################################################################
# General UI/UX #
###############################################################################
# Disable smart dashes as they’re annoying when typing code.
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false