Skip to content

Instantly share code, notes, and snippets.

View tjmgregory's full-sized avatar
🤙

Theodore Gregory tjmgregory

🤙
View GitHub Profile
# >>>> Part 1 <<<<
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew uninstall --ignore-dependencies --force
mkdir ~/.nvm
git config --global user.name "Theo Gregory"
git config --global user.email "tjmg@outlook.com"
git config --global push.default current
# : << EOF
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
# Copyright 2012— Gregory Pakosz (@gpakosz).
# -- navigation ----------------------------------------------------------------
# if you're running tmux within iTerm2
@tjmgregory
tjmgregory / sync-vim.sh
Last active December 4, 2020 16:33
Clones/pulls all Vim plugins that I use across computers.
#!/bin/bash
VIM_PACKAGE_ARG=${1:-theodored}
declare -a Projects=("https://github.com/jiangmiao/auto-pairs" "https://github.com/preservim/nerdtree" "https://github.com/tpope/vim-fugitive" "https://github.com/fatih/vim-go" "https://github.com/neoclide/coc.nvim" "https://github.com/leafgarland/typescript-vim" "https://github.com/pangloss/vim-javascript" "https://github.com/MaxMEllon/vim-jsx-pretty")
PACK_PATH=~/.vim/pack/$VIM_PACKAGE_ARG/start
if [ ! -d $PACK_PATH ]
then
mkdir $PACK_PATH
@tjmgregory
tjmgregory / .vimrc
Last active December 1, 2020 09:41
Vim Run Commands
" General
" Line numbers
set number
" Syntax highlighting
syntax on
colo pablo
filetype plugin indent on
" Allow backspace to delete indentation and inserted text
@tjmgregory
tjmgregory / karabiner.json
Last active November 3, 2022 15:30
Full Karabiner-Elements setup with command+control+option+shift app switching. As featured on https://medium.com/p/85837748fc.
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@tjmgregory
tjmgregory / karabiner.json
Created October 24, 2020 14:07
Custom Karabiner-Elements ccos complex modification rule
// ... all the bits before
{
"description": "ccos + s to open Slack.",
"manipulators": [
{
"from": {
"key_code": "s",
"modifiers": {
"mandatory": [
"shift",

Keybase proof

I hereby claim:

  • I am theooos on github.
  • I am tjmgregory (https://keybase.io/tjmgregory) on keybase.
  • I have a public key whose fingerprint is 5AAD 19D6 D82C F893 D3F1 EC77 7343 7921 2264 FC2A

To claim this, I am signing this object: