Last active
May 26, 2021 06:33
-
-
Save ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a to your computer and use it in GitHub Desktop.
Funky configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# So I know where I am in repos: | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
# Colorize `ls` by default: | |
alias ls='ls -G' | |
[ -e ~/.bash_SECRETS ] && . ~/.bash_SECRETS | |
# Modified from: | |
# https://stackoverflow.com/a/4138531/2662028 | |
export PS1='\n\[\e[1;37m\]|-- \[\e[1;32m\]\u\[\e[0;39m\]@\[\e[1;36m\]\h\[\e[0;39m\]:\[\e[1;33m\]\w\[\e[0;39m\]\[\e[1;35m\]$(parse_git_branch " (%s)")\[\e[0;39m\] \[\e[1;37m\]--|\[\e[0;39m\]\n\$ ' | |
# Old prompt (less fun): | |
#export PS1='\u@\w:$(parse_git_branch)\$ ' | |
# Without this, Mac OS will not share your terminal | |
# history across sessions ... | |
export SHELL_SESSION_HISTORY=0 | |
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh" | |
export PATH="$PATH:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/opt/node@12/bin" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Ryan McQuen | |
email = [email protected] | |
[core] | |
excludesfile = ~/.gitignore_global | |
[merge] | |
tool = smerge | |
[diff] | |
tool = smerge | |
[init] | |
templatedir = ~/.git-templates | |
[pager] | |
branch = false | |
[mergetool "smerge"] | |
cmd = smerge mergetool \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\" | |
trustExitCode = true | |
[difftool "smerge"] | |
cmd = smerge \"$BASE\" \"$LOCAL\" \"$REMOTE\" | |
[pull] | |
rebase = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*~ | |
.DS_Store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# curl -o ~/.osx https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/.osx && bash ~/.osx | |
############################################################################### | |
# General UI/UX # | |
############################################################################### | |
# Disable smart dashes as they’re annoying when typing code. | |
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false | |
# Disable automatic periods with a double space: | |
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false | |
# Disable smart quotes as they’re annoying when typing code. | |
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false | |
# Set a shorter delay until key repeat: | |
defaults write NSGlobalDomain InitialKeyRepeat -int 15 | |
# Set a blazingly fast keyboard repeat rate: | |
defaults write NSGlobalDomain KeyRepeat -int 2 | |
# Disable drop shadows in screenshots: | |
defaults write com.apple.screencapture disable-shadow -bool true | |
########## | |
# Config # | |
########## | |
# Get the command line tools! | |
[ ! "`xcodebuild -version`" ] && \ | |
xcodebuild -versionxcode-select --install && \ | |
sudo xcodebuild -license accept | |
# Install homebrew: | |
[ ! "`which brew`" ] && \ | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
brew update && brew upgrade && brew upgrade --cask | |
# Bash: | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/.bash_profile -P ~/ | |
# Fish: | |
mkdir -p ~/.config/fish/functions/ | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/2f93191657c621a7425787db938d2f8e/raw/fish_prompt.fish -P ~/.config/fish/functions/ | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/2f93191657c621a7425787db938d2f8e/raw/config.fish -P ~/.config/fish/ | |
# Nushell: | |
# The config is in Preferences for older versions (0.19.0 or older), and in Application Support for newer versions. | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/config.toml -P $HOME/Library/Preferences/org.nushell.nu/ | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/config.toml -P "$HOME/Library/Application Support/org.nushell.nu/" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/starship.toml -P $HOME/.config/ | |
# ZSH: | |
mkdir -p ~/.oh-my-zsh/themes/ | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/.zshrc -P ~/ | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/150cf9a66bca2463e5660cafed3e1000/raw/McQuen.zsh-theme -P ~/.oh-my-zsh/themes/ | |
# Emacs customizations for Prelude: | |
if [ -d ~/.emacs.d/personal ]; then | |
curl -o ~/.emacs.d/personal/McQuen.el https://gist.githubusercontent.com/ryanpcmcquen/1ca6d1d7b5c8580aebef4f840e29f83a/raw/McQuen.el | |
else | |
curl -o ~/.emacs https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/.emacs | |
fi | |
# Hammerspoon config: | |
[ -d ~/.hammerspoon ] && \ | |
curl -o ~/.hammerspoon/init.lua https://gist.githubusercontent.com/ryanpcmcquen/3a745e30455945f43e824f70c645942d/raw/init.lua | |
# Sublime! | |
SUBLIME_MERGE_CONFIG_DIR=~/Library/Application\ Support/Sublime\ Merge/Packages/User | |
if [ -d "${SUBLIME_MERGE_CONFIG_DIR}" ]; then | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/MERGE_Preferences.sublime-settings -P "${SUBLIME_MERGE_CONFIG_DIR}" | |
mv "${SUBLIME_MERGE_CONFIG_DIR}"/MERGE_Preferences.sublime-settings "${SUBLIME_MERGE_CONFIG_DIR}"/Preferences.sublime-settings | |
fi | |
SUBLIME_TEXT_CONFIG_DIR=~/Library/Application\ Support/Sublime\ Text/Packages/User | |
if [ -d "${SUBLIME_TEXT_CONFIG_DIR}" ]; then | |
wget -N https://raw.githubusercontent.com/ryanpcmcquen/sublime_witness/master/Witness.sublime-color-scheme -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/Default.sublime-keymap -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/Default.sublime-mousemap -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/Doxy.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/ecmascript-js.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/JavaScript.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/JSON.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/LSP.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/LSP-typescript.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/phpcbf.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/phpfmt.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/Preferences.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/SQL.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/Terminus.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/Xdebug.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
if [ ! -e "${SUBLIME_TEXT_CONFIG_DIR}/Package Control.sublime-settings" ]; then | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/Package%20Control.sublime-settings -P "${SUBLIME_TEXT_CONFIG_DIR}" | |
fi | |
fi | |
# Textadept: | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/655cb3cc60f9d064738903e59504a5fd/raw/.installLatestTextadeptMac.sh -P ~/ | |
# Vim! | |
curl -o ~/.vimrc https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/.vimrc | |
# ZeroBrane Studio config: | |
[ -d ~/.zbstudio ] && \ | |
curl -o ~/.zbstudio/user.lua https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/.zbstudio/user.lua | |
# Make a shortcut to the open command, which works around shells which have a built-in 'open' (nushell). | |
ln -sf /usr/bin/open /usr/local/bin/finder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/rmcquen/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
#ZSH_THEME="robbyrussell" | |
#ZSH_THEME="agnoster" | |
#ZSH_THEME="gentoo" | |
#ZSH_THEME="avit" | |
#ZSH_THEME="smt" | |
ZSH_THEME="McQuen" | |
# Set list of themes to pick from when loading at random | |
# Setting this variable when ZSH_THEME=random will cause zsh to load | |
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/ | |
# If set to an empty array, this variable will have no effect. | |
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) | |
# Uncomment the following line to use case-sensitive completion. | |
# CASE_SENSITIVE="true" | |
# Uncomment the following line to use hyphen-insensitive completion. | |
# Case-sensitive completion must be off. _ and - will be interchangeable. | |
# HYPHEN_INSENSITIVE="true" | |
# Uncomment the following line to disable bi-weekly auto-update checks. | |
# DISABLE_AUTO_UPDATE="true" | |
# Uncomment the following line to change how often to auto-update (in days). | |
# export UPDATE_ZSH_DAYS=13 | |
# Uncomment the following line to disable colors in ls. | |
# DISABLE_LS_COLORS="true" | |
# Uncomment the following line to disable auto-setting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
# Uncomment the following line to enable command auto-correction. | |
# ENABLE_CORRECTION="true" | |
# Uncomment the following line to display red dots whilst waiting for completion. | |
# COMPLETION_WAITING_DOTS="true" | |
# Uncomment the following line if you want to disable marking untracked files | |
# under VCS as dirty. This makes repository status check for large repositories | |
# much, much faster. | |
# DISABLE_UNTRACKED_FILES_DIRTY="true" | |
# Uncomment the following line if you want to change the command execution time | |
# stamp shown in the history command output. | |
# You can set one of the optional three formats: | |
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" | |
# or set a custom format using the strftime function format specifications, | |
# see 'man strftime' for details. | |
# HIST_STAMPS="mm/dd/yyyy" | |
# Would you like to use another custom folder than $ZSH/custom? | |
# ZSH_CUSTOM=/path/to/new-custom-folder | |
# Which plugins would you like to load? | |
# Standard plugins can be found in ~/.oh-my-zsh/plugins/* | |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
# Add wisely, as too many plugins slow down shell startup. | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# User configuration | |
# export MANPATH="/usr/local/man:$MANPATH" | |
# You may need to manually set your language environment | |
# export LANG=en_US.UTF-8 | |
# Preferred editor for local and remote sessions | |
# if [[ -n $SSH_CONNECTION ]]; then | |
# export EDITOR='vim' | |
# else | |
# export EDITOR='mvim' | |
# fi | |
# Compilation flags | |
# export ARCHFLAGS="-arch x86_64" | |
# ssh | |
# export SSH_KEY_PATH="~/.ssh/rsa_id" | |
# Set personal aliases, overriding those provided by oh-my-zsh libs, | |
# plugins, and themes. Aliases can be placed here, though oh-my-zsh | |
# users are encouraged to define aliases within the ZSH_CUSTOM folder. | |
# For a full list of active aliases, run `alias`. | |
# | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" | |
# alias ohmyzsh="mate ~/.oh-my-zsh" | |
#export HTTP_PROXY=http://awsbastion.funko.com:3128 | |
#export HTTPS_PROXY=http://awsbastion.funko.com:3128 | |
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" | |
export NODE_EXTRA_CA_CERTS='/usr/local/etc/openssl/cert.pem' | |
export PATH="/usr/local/opt/node@12/bin:$PATH" | |
export LDFLAGS="-L/usr/local/opt/node@12/lib" | |
export CPPFLAGS="-I/usr/local/opt/node@12/include" | |
#setopt KSH_ARRAYS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# From the Funko Digital team! | |
# | |
# Ensure commits are prefixed with ticket numbers | |
# or are merge commits. | |
# | |
# To install: | |
# | |
# mkdir -p ~/.git-templates/hooks/ | |
# git config --global init.templatedir '~/.git-templates' | |
# (cd ~/.git-templates/hooks/ && curl -O https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/commit-msg) | |
# chmod +x ~/.git-templates/hooks/commit-msg | |
# | |
# Then re-initialize all your git repos. | |
# If your repos are all in one directory, | |
# `cd` to that directory and run this to | |
# re-initialize all of them: | |
# | |
# for DIR in $(find . -type d -maxdepth 1); do (cd $DIR && echo $DIR && git init); done | |
# | |
# -------------------------------------------------------- | |
# | |
# To reinstall this script, download the latest version: | |
# | |
# (cd ~/.git-templates/hooks/ && curl -O https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/commit-msg) | |
# chmod +x ~/.git-templates/hooks/commit-msg | |
# | |
# Then `cd` to the directory with all your repos, | |
# and run: | |
# | |
# for DIR in $(find . -type d -maxdepth 1); do (echo $DIR && cd $DIR/.git/hooks && cp ~/.git-templates/hooks/commit-msg . && chmod +x commit-msg); done | |
# | |
MSG=$(sed "/^#/d" "$1") | |
VALID_TICKET_PREFIX=$(echo "$MSG" | egrep "[A-Z]{2,9}-\\d+:?\\s.*") | |
MERGE_BRANCH_SYNTAX=$(echo "$MSG" | grep "^Merge") | |
if [ -z "${VALID_TICKET_PREFIX}" ] && [ -z "${MERGE_BRANCH_SYNTAX}" ]; then | |
echo | |
echo " _____ _ " | |
echo "| ___| | |" | |
echo "| |__ _ __ _ __ ___ _ __| |" | |
echo "| __| '__| '__/ _ \| '__| |" | |
echo "| |__| | | | | (_) | | |_|" | |
echo "\____/_| |_| \___/|_| (_)" | |
echo | |
echo "Message is not prefixed with ticket number and is not a merge." | |
echo | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path = ["/usr/local/opt/tomcat@8/bin", "/usr/local/opt/[email protected]/sbin", "/usr/local/opt/[email protected]/bin", "/usr/local/opt/node@12/bin", "/Users/rmcquen/bin", "/Users/rmcquen/.cargo/bin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/sbin", "/sbin", "/Library/Apple/usr/bin"] | |
prompt = "echo $(starship prompt)" | |
startup = [ | |
"alias jo [file] { open $file | to json --pretty 4 }", | |
"alias cenv [file] { sed 's/=${[^:]*:-/=/' $file | sed 's/}$//' }" | |
] | |
[line_editor] | |
auto_add_history = true | |
completion_type = "circular" | |
history_duplicates = "ignoreconsecutive" | |
history_ignore_space = false | |
max_history_size = 500000 | |
tab_stop = 4 | |
[textview] | |
tab_width = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ | |
"keys": ["ctrl+tab"], | |
"command": "next_view" | |
}, | |
{ | |
"keys": ["ctrl+shift+tab"], | |
"command": "prev_view" | |
}, | |
{ | |
"keys": ["alt+t"], | |
"command": "toggle_terminus_panel" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"button": "button1", | |
"count": 1, | |
"modifiers": ["alt"], | |
"press_command": "drag_select", | |
"command": "goto_definition" | |
}, | |
{ | |
"button": "button2", | |
"count": 1, | |
"modifiers": ["alt"], | |
"command": "jump_back" | |
}, | |
{ | |
"button": "button1", | |
"count": 1, | |
"modifiers": ["ctrl"], | |
"press_command": "drag_select", | |
"command": "lsp_symbol_definition" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Settings in here override those in "${packages}/DoxyDoxygen/Doxy.sublime-settings", | |
// and are overridden in turn by syntax-specific settings. | |
{ | |
"preferred_tabs_sizes": [0] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensions": | |
[ | |
"js" | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
wget -N https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/hey_dude.sh -P /usr/local/bin/ && chmod +x /usr/local/bin/hey_dude.sh | |
for dir in $(find ~/code -maxdepth 1 -type d); do | |
cd $dir | |
echo $dir | |
git pull --all | |
cd | |
done | |
brew update && brew upgrade | |
# Update bit! | |
bash -c "curl -sf https://gobinaries.com/chriswalz/bit | sh; echo y | bit complete" | |
npm update -g | |
npm i -g npm | |
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U | |
pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U | |
#sudo -H gem update -n /usr/local/bin openssl -- --with-openssl-dir=/usr/local/Cellar/[email protected]/1.1.1g | |
#--with-openssl-dir="$(brew --prefix openssl)" | |
sudo gem update | |
curl -o ~/.osx https://gist.githubusercontent.com/ryanpcmcquen/d0f0a265dde5cfdbd8b49d126083da6a/raw/.osx && bash ~/.osx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tab_size": 2 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensions": [] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Settings in here override those in "LSP-typescript/LSP-typescript.sublime-settings" | |
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"clients": { | |
"intelephense-ls": { | |
"enabled": true | |
}, | |
"jdtls": { | |
"command": [ | |
"java", | |
"--add-modules=ALL-SYSTEM", | |
"--add-opens", | |
"java.base/java.util=ALL-UNNAMED", | |
"--add-opens", | |
"java.base/java.lang=ALL-UNNAMED", | |
"-Declipse.application=org.eclipse.jdt.ls.core.id1", | |
"-Dosgi.bundles.defaultStartLevel=4", | |
"-Declipse.product=org.eclipse.jdt.ls.core.product", | |
"-Dfile.encoding=UTF-8", | |
"-DwatchParentProcess=true", | |
"-noverify", | |
"-Xmx1G", | |
"-XX:+UseG1GC", | |
"-XX:+UseStringDeduplication", | |
"-jar", | |
"~/bin/jdt-language-server-latest/plugins/org.eclipse.equinox.launcher__1.5.700.v20200207-2156.jar", | |
"-configuration", | |
"~/bin/jdt-language-server-latest/config_mac", | |
"-data", | |
"/tmp/jdt_ws" | |
], | |
"enabled": true, | |
"priority_selector": ["source.java"], | |
"selector": ["java", "Packages/Java/Java.sublime-syntax"] | |
}, | |
"lsp-typescript": { | |
"enabled": true | |
}, | |
"lsp-tsserver": { | |
"enabled": false | |
}, | |
"javascript-typescript-langserver": { | |
"enabled": false | |
}, | |
"phpls": { | |
"enabled": false | |
}, | |
"typescript-language-server": { | |
"enabled": false | |
} | |
}, | |
"complete_all_chars": false | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"font_face": "IBM Plex Mono", | |
"font_size": 14, | |
"ignore_diff_white_space": true, | |
"tab_size": 4, | |
"theme": "Merge.sublime-theme", | |
"translate_tabs_to_spaces": true, | |
"trim_trailing_white_space_on_save": true, | |
"side_bar_layout": "tabs" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"AutoFileName", | |
"AutoPEP8", | |
"Babel", | |
"Clang Format", | |
"DashDoc", | |
"Debugger", | |
"DiffTabs", | |
"Dockerfile Syntax Highlighting", | |
"DotENV", | |
"DoxyDoxygen", | |
"EditorConfig", | |
"FileDiffs", | |
"fish", | |
"Function Name Display", | |
"Gremlins", | |
"JsPrettier", | |
"LSP", | |
"LSP-intelephense", | |
"LSP-typescript", | |
"MarkdownPreview", | |
"Nord", | |
"Package Control", | |
"Persistent Status Bar Line Number", | |
"PHP-Twig", | |
"RawLineEdit", | |
"RESTer HTTP Client", | |
"RustFmt", | |
"Sass", | |
"SendToPasteBin", | |
"StandardFormat", | |
"SublimeLinter", | |
"SublimeLinter-contrib-phpstan", | |
"SublimeLinter-contrib-standard", | |
"SublimeLinter-php", | |
"Terminus", | |
"Terraform", | |
"uroboroSQL Formatter", | |
"Witness color scheme", | |
], | |
"repositories": | |
[ | |
], | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"level": "psr12" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"format_on_save": true, | |
"psr2": true, | |
"version": 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ClangFormat": { | |
"format_on_save": true, | |
"languages": ["C", "C++", "C++11", "Objective-C", "Objective-C++"], | |
"style": "WebKit" | |
}, | |
"always_show_minimap_viewport": false, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_with_fields": true, | |
"auto_match_enabled": false, | |
"binary_file_patterns": [ | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", | |
"*.tga", | |
"*.dds", | |
"*.ico", | |
"*.eot", | |
"*.pdf", | |
"*.swf", | |
"*.jar", | |
"*.zip", | |
"*.csv", | |
"*.gz", | |
"*.lock.*", | |
"*.log.*", | |
"*.map", | |
"*.sql", | |
"*.tar.*", | |
"*.xz", | |
"*.yaml.*", | |
"docker/*/**", | |
"node_modules/**", | |
"storage/runtime/**", | |
"vendor/**", | |
"web/cpresources/**" | |
], | |
"block_caret": true, | |
"color_scheme": "Packages/Nord/Nord.sublime-color-scheme", | |
"default_encoding": "UTF-8", | |
"default_line_ending": "unix", | |
"draw_indent_guides": true, | |
"indent_guide_options": ["draw_active"], | |
"ensure_newline_at_eof_on_save": true, | |
"fallback_encoding": "UTF-8", | |
"font_face": "Cascadia Code SemiLight", | |
"font_options": ["no_liga", "no_clig", "no_calt"], | |
"font_size": 17, | |
"ignored_packages": ["JavaScript", "Vintage"], | |
"index_exclude_patterns": [ | |
"*.lock", | |
"*.log", | |
"*.csv", | |
"*.gz", | |
"*.json", | |
"*.sql", | |
"*.tar.*", | |
"*.xz", | |
"docker/*/**", | |
"node_modules/**", | |
"storage/runtime/**", | |
"vendor/**", | |
"web/cpresources/**" | |
], | |
"js_prettier": { | |
"allow_inline_formatting": true, | |
"auto_format_on_save": true, | |
"auto_format_on_save_excludes": ["*.js"], | |
"custom_file_extensions": ["php", "sublime-settings"], | |
"prettier_options": { | |
"arrowParens": "always", | |
"braceStyle": "psr-2", | |
"phpVersion": "7.0", | |
"printWidth": 120, | |
"semi": true, | |
"singleQuote": true, | |
"tabWidth": 4, | |
"trailingCommaPHP": true, | |
"useTabs": false | |
} | |
}, | |
"line_numbers": false, | |
"line_padding_bottom": 2, | |
"line_padding_top": 2, | |
"margin": 0, | |
"show_encoding": true, | |
"show_full_path": true, | |
"show_line_endings": true, | |
"tab_size": 4, | |
"theme": "Adaptive.sublime-theme", | |
"translate_tabs_to_spaces": true, | |
"trim_trailing_white_space_on_save": true, | |
"trim_only_modified_white_space": false, | |
"word_wrap": "auto" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensions": | |
[ | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_newline = true | |
[character] | |
error_symbol = "[λ](bold red)" | |
success_symbol = "[λ](bold green)" | |
vicmd_symbol = "[λ](bold yellow)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"theme": "user", | |
"user_theme_colors": { | |
"background": "#fafafa", | |
"black": "#444444", | |
"block_caret": "#999999", | |
"blue": "#935cd0", | |
"brown": "#fa701d", | |
"caret": "#999999", | |
"cyan": "#33c3c1", | |
"foreground": "#090909", | |
"green": "#328a5d", | |
"light_black": "#888888", | |
"light_blue": "#1670ff", | |
"light_brown": "#fdd727", | |
"light_cyan": "#3ad5ce", | |
"light_green": "#2cc631", | |
"light_magenta": "#e900b0", | |
"light_red": "#fb0416", | |
"light_white": "#eeeeec", | |
"magenta": "#9f00bd", | |
"red": "#f8282a", | |
"selection": "#999999", | |
"selection_foreground": "#ffffff", | |
"white": "#888888" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.openNextRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.quickOpenNavigateNextInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.quickOpenNavigatePreviousInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "cmd+=", | |
"command": "editor.action.fontZoomIn" | |
}, | |
{ | |
"key": "cmd+-", | |
"command": "editor.action.fontZoomOut" | |
}, | |
{ | |
"key": "cmd+0", | |
"command": "editor.action.fontZoomReset" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.find.seedSearchStringFromSelection": false, | |
"editor.fontFamily": "'IBM Plex Mono', NovaMono, monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 18, | |
"editor.formatOnSave": true, | |
"editor.insertSpaces": true, | |
"editor.renderControlCharacters": false, | |
"editor.renderIndentGuides": false, | |
"editor.renderWhitespace": "none", | |
"editor.tabCompletion": "on", | |
"editor.tabSize": 4, | |
"[handlebars]": { | |
"editor.formatOnSave": false | |
}, | |
"[javascript]": { | |
"editor.tabSize": 2 | |
}, | |
"[json]": { | |
"editor.tabSize": 2 | |
}, | |
"[typescript]": { | |
"editor.tabSize": 2 | |
}, | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"comment", | |
"constant", | |
"entity.other.attribute-name", | |
"keyword", | |
"storage", | |
"variable.language" | |
], | |
"settings": { | |
"fontStyle": "italic" | |
} | |
}, | |
{ | |
"scope": [ | |
"keyword.operator" | |
], | |
"settings": { | |
"fontStyle": "" | |
} | |
} | |
] | |
}, | |
"files.autoSave": "off", | |
"files.eol": "\n", | |
"files.maxMemoryForLargeFilesMB": 6144, | |
"files.trimTrailingWhitespace": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"javascript.validate.enable": false, | |
"php.suggest.basic": false, | |
"php.validate.enable": false, | |
"stretchySpaces.targetIndentation": 4, | |
"telemetry.enableCrashReporter": false, | |
"telemetry.enableTelemetry": false, | |
"terminal.integrated.fontSize": 16, | |
"typescript.validate.enable": false, | |
"vscode_custom_css.imports": [ | |
"file:///Users/rmcquen/.vscode/extensions/robbowen.synthwave-vscode-0.0.6/synthwave84.css" | |
], | |
"window.title": "${activeEditorLong}", | |
"window.zoomLevel": 0, | |
"workbench.colorTheme": "Twilight Operator", | |
"workbench.editor.enablePreview": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.settings.editor": "json" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"close_on_stop": true, | |
"host": "192.168.64.1", | |
"max_depth": 3, | |
"path_mapping": { | |
"/home/ubuntu/sites/funko-craftcms-nitro": "/Users/rmcquen/code/funko-craftcms-nitro" | |
}, | |
"super_globals": true, | |
// Break on exceptions, suspend execution | |
// when the exception name matches an entry in this list value. | |
"break_on_exception": [ | |
// E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR | |
"Fatal error", | |
// E_RECOVERABLE_ERROR (since PHP 5.2.0) | |
"Catchable fatal error", | |
// | |
// Do not break on Warnings | |
// | |
// E_WARNING, E_CORE_WARNING, E_COMPILE_WARNING, E_USER_WARNING | |
// "Warning", | |
// E_PARSE | |
"Parse error", | |
// E_NOTICE, E_USER_NOTICE | |
"Notice", | |
// E_STRICT | |
"Strict standards", | |
// | |
// Do not break on Deprecated: | |
// | |
// E_DEPRECATED, E_USER_DEPRECATED (since PHP 5.3.0) | |
// "Deprecated", | |
// 0 | |
"Xdebug", | |
// default | |
"Unknown error" | |
], | |
"debug_layout": { | |
"rows": [0.0, 0.5593030053603879, 1.0], | |
"cells": [ | |
[0, 0, 2, 1], | |
[0, 1, 1, 2], | |
[1, 1, 2, 2] | |
], | |
"cols": [0.0, 0.848134765625, 1.0] | |
}, | |
// Group and index positions for debug views. | |
"breakpoint_group": 2, | |
"breakpoint_index": 0, | |
"context_group": 1, | |
"context_index": 0, | |
"stack_group": 1, | |
"stack_index": 1, | |
"watch_group": 1, | |
"watch_index": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment