commit 13377b1e845d4cd072fe4e2e92c39fd51a1484d5 Author: turtlebasket Date: Thu Sep 30 20:11:31 2021 -0700 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ec76d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# other stuff +*.swp diff --git a/README.md b/README.md new file mode 100644 index 0000000..f17cd7b --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ + +
+

macOS setup

+
+

Full circle it is, then.

+
+ +
+
+ diff --git a/config/hammerspoon/init.lua b/config/hammerspoon/init.lua new file mode 100644 index 0000000..01005d3 --- /dev/null +++ b/config/hammerspoon/init.lua @@ -0,0 +1,5 @@ +hs.hotkey.bind({"cmd", "shift", "ctrl"}, "C", function() + hs.pasteboard.setContents("") + hs.notify.new({title="Bazinga", informativeText="System clipboard has been cleared."}):send() +end) + diff --git a/config/neovim/init.vim b/config/neovim/init.vim new file mode 100644 index 0000000..a1de98b --- /dev/null +++ b/config/neovim/init.vim @@ -0,0 +1,59 @@ +" Win behavior +" source $VIMRUNTIME/mswin.vim +" behave mswin + +" Window height +" set lines=32 columns=110 + +" Preferences +set encoding=utf-8 +set autochdir +set shiftwidth=4 +set tabstop=4 +set linebreak +set breakindent +set autoindent +set wrap +set nobinary +set relativenumber +syntax on + +" Aliases +cnoreabbrev ge browse confirm e +cnoreabbrev ! aliasrun + +" Plugins +call plug#begin() +Plug 'vim-airline/vim-airline' +Plug 'vim-airline/vim-airline-themes' +Plug 'airblade/vim-gitgutter' +Plug 'flazz/vim-colorschemes' +Plug 'tomlion/vim-solidity' +Plug 'zah/nim.vim' +" Plug 'ycm-core/YouCompleteMe' +Plug 'NLKNguyen/papercolortheme' +call plug#end() + +" Theming +set t_Co=256 +set background=dark +colorscheme PaperColor +let g:airline_powerline_fonts = 1 +let g:airline_theme = 'powerlineish' +let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tabline#fnamemod = ':t' + +" Navigation & Shortcuts +" inoremap "+y +" inoremap :"+p + +nnoremap 1gt +nnoremap 2gt +nnoremap 3gt +nnoremap 4gt +nnoremap 5gt +nnoremap 6gt +nnoremap 7gt +nnoremap 8gt +nnoremap 9gt +nnoremap 10gt- diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc new file mode 100644 index 0000000..c148a6c --- /dev/null +++ b/config/zsh/.zshrc @@ -0,0 +1,110 @@ +# If you come from bash you might have to change your $PATH. +export PATH=$HOME/bin:/usr/local/bin:$PATH:$HOME/Library/Python/3.8/bin:$HOME/go/bin:$HOME/Documents/avalanchego + +# Path to your oh-my-zsh installation. +export ZSH="/Users/michael/.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/ohmyzsh/ohmyzsh/wiki/Themes +# ZSH_THEME="robbyrussell" + +# 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 $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 automatically update without prompting. +# DISABLE_UPDATE_PROMPT="true" + +# Uncomment the following line to change how often to auto-update (in days). +# export UPDATE_ZSH_DAYS=13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# 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. +# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work) +# See https://github.com/ohmyzsh/ohmyzsh/issues/5765 +# 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 $ZSH/plugins/ +# Custom plugins may be added to $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" + +# 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" +alias ls=lsd +alias vim=nvim +alias clip=pbcopy + +# Custom variables +export DOTNET_ROOT="/usr/local/opt/dotnet/libexec" + +# load starship +eval "$(starship init zsh)" diff --git a/neofetch.png b/neofetch.png new file mode 100644 index 0000000..f162f15 Binary files /dev/null and b/neofetch.png differ diff --git a/scripts/brew_get.sh b/scripts/brew_get.sh new file mode 100644 index 0000000..4921472 --- /dev/null +++ b/scripts/brew_get.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +brew install bat cmake gitkraken go htop lsd neofetch node npm openjdk@11 tree vimr yarn