Skip to content

Instantly share code, notes, and snippets.

View NickCrew's full-sized avatar

Nicholas Ferguson NickCrew

View GitHub Profile
# Config generated by Ghostty Config
shell-integration = zsh
title-report = true
quick-terminal-size = 50%
clipboard-read = allow
copy-on-select = true
window-subtitle = working-directory
window-colorspace = display-p3
window-save-state = always
@NickCrew
NickCrew / .vimrc
Created January 16, 2025 18:51
Minimal Vimrc with Sane defaults to carry from host to host
""""""""""""""""""""""""""""""""""""""""""
"
" Minimal Sane Defaults for Classic Vim
"
""""""""""""""""""""""""""""""""""""""""""
set nocompatible
syntax on
filetype on
@NickCrew
NickCrew / minirc.bash
Created January 16, 2025 18:50
Minimal Bashrc - Sane defaults to carry from host to host
#
# A minimal bash configuration to carry around with you
#
# !! Plus some bonus extras like fancy git prompt and bookmarks
#
#
set -o vi # unless you're one of *those*
### Keybase proof
I hereby claim:
* I am nickcrew on github.
* I am nicholascrew (https://keybase.io/nicholascrew) on keybase.
* I have a public key ASA1_n3P69eE3hE2-kqYcspjnwBuWYy-qneI8JcWPQuBwQo
To claim this, I am signing this object:
@NickCrew
NickCrew / keybase.md
Created March 8, 2022 22:33
keybase.md

Keybase proof

I hereby claim:

  • I am nickcrew on github.
  • I am nickferguson (https://keybase.io/nickferguson) on keybase.
  • I have a public key ASCOWQdZrPzOGpF5MairHLyWt_eiyjK00Otjz5DVweu7jQo

To claim this, I am signing this object:

@NickCrew
NickCrew / surfingkeys.js
Last active February 11, 2022 21:55
SurfingKeys settings
settings.theme = `
.sk_theme {
font-family: SF Pro;
font-size: 12pt;
background: #393551;
color: #9ccfd8;
}
.sk_theme tbody {
color: #fff;
}
@NickCrew
NickCrew / macos-sane-defaults.sh
Created January 24, 2022 20:29
macOS Sane Defaults
#!/usr/bin/env zsh
#
# Disable the “Are you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
# Disable Resume system-wide
defaults write NSGlobalDomain NSQuitAlwaysKeepWindows -bool false
@NickCrew
NickCrew / install-dots.sh
Last active January 24, 2022 20:34
Install dotfiles
#!/usr/bin/env zsh
proto=git
remote_url=git@github.com:
dots_branch=master
if [[ ! -z $1 ]]; then
proto=$1
if [[ $proto == "https" ]]; then
remote_url=https://github.com/
@NickCrew
NickCrew / install-macos-dev-tools.sh
Created January 24, 2022 20:16
Install macOS Dev Tools
#!/usr/bin/env zsh
#
# Install dotfile dependencies
#
# {{{ Lib functions
local function dots_show_usage () {
echo "USAGE:"
echo " dots-tool-installer [neovim|devtools|langs|fonts]"
echo ""
@NickCrew
NickCrew / python-debug.json
Created January 20, 2022 19:16
Vimspector Generic Python
{
"configurations": {
"python-debug": {
"default": true,
"adapter": "debugpy",
"filetypes": [ "python" ],
"breakpoints": {
"exception": {
"all": "N",
"uncaught": "Y"