Nightly dotfiles update
This commit is contained in:
parent
be0a5b31ee
commit
086481bd53
7 changed files with 2957 additions and 60 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -6,10 +6,11 @@ configstore
|
||||||
hub
|
hub
|
||||||
|
|
||||||
vim/vim.symlink/.netrwhist
|
vim/vim.symlink/.netrwhist
|
||||||
vim/vim.symlink/bundle
|
vim/vim.symlink/plugged
|
||||||
|
vim/vim.symlink/plugged-update
|
||||||
|
|
||||||
nvim/nvim.symlink/plugged
|
|
||||||
nvim/nvim.symlink/.netrwhist
|
nvim/nvim.symlink/.netrwhist
|
||||||
|
nvim/nvim.symlink/plugged
|
||||||
nvim/nvim.symlink/plugged-update
|
nvim/nvim.symlink/plugged-update
|
||||||
|
|
||||||
zsh/zsh.symlink/liquidprompt
|
zsh/zsh.symlink/liquidprompt
|
||||||
|
|
2
bat/bat.xdg.symlink/config
Normal file
2
bat/bat.xdg.symlink/config
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
--style="numbers,changes,header"
|
||||||
|
--theme="ansi"
|
|
@ -1,6 +1,7 @@
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
editor = nvim
|
editor = nvim
|
||||||
|
pager = delta
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
fileMode = false
|
fileMode = false
|
||||||
|
|
||||||
|
@ -9,6 +10,9 @@
|
||||||
email = me@maxbucknell.com
|
email = me@maxbucknell.com
|
||||||
signingkey = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHQK3AUkoorhSGqIICrSRYJJ8XCF1sKJ45CEwHLQePpBCZfCty4dbhqVTWFbyDcL1P1kKTcoljg0JmyjjJPM9IUTjFD1ruGU2rAB7aTZ4s5j2x6kVTdNyGnHOn8wy/tJC5O6R2sDjcbJWuIAw3q47bpZ8Ro/ehvvZSYJ3U+sb8kZ9XstoNDhanego4NTFd3D9F6RWJGn11/+NGuhKDq5S0knnOcC80QLg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se/1ROiafCPrxGEp3fHFM+D7OQAy3y0wn1yeSwNdRAyHZsLEVozJ4KSwWBCfnV0TgptgTqBMlbLYwaisnIS3Z/ZH5ziJXQ==
|
||||||
|
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
dc = diff --staged
|
dc = diff --staged
|
||||||
di = diff
|
di = diff
|
||||||
|
@ -41,18 +45,31 @@
|
||||||
[push]
|
[push]
|
||||||
default = current
|
default = current
|
||||||
|
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
colorMoved = default
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
pager = delta --color-only
|
||||||
|
|
||||||
[github]
|
[github]
|
||||||
user = maxbucknell
|
user = maxbucknell
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
navigate = true
|
||||||
|
line-numbers = true
|
||||||
|
syntax-theme = ansi
|
||||||
|
|
||||||
[credential]
|
[credential]
|
||||||
helper = osxkeychain
|
helper = osxkeychain
|
||||||
|
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
required = true
|
required = true
|
||||||
[init]
|
|
||||||
defaultBranch = main
|
|
||||||
[user]
|
|
||||||
|
|
||||||
[gpg]
|
[gpg]
|
||||||
format = ssh
|
format = ssh
|
||||||
|
|
2863
vim/vim.symlink/autoload/plug.vim
Normal file
2863
vim/vim.symlink/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load diff
|
@ -34,6 +34,7 @@ hi Constant cterm=NONE ctermfg=NONE ctermbg=NONE
|
||||||
hi Define cterm=NONE ctermfg=NONE ctermbg=NONE
|
hi Define cterm=NONE ctermfg=NONE ctermbg=NONE
|
||||||
hi Include cterm=NONE ctermfg=NONE ctermbg=NONE
|
hi Include cterm=NONE ctermfg=NONE ctermbg=NONE
|
||||||
hi Macro cterm=NONE ctermfg=NONE ctermbg=NONE
|
hi Macro cterm=NONE ctermfg=NONE ctermbg=NONE
|
||||||
|
hi PreProc cterm=NONE ctermfg=NONE ctermbg=NONE
|
||||||
|
|
||||||
hi VimHiAttrib cterm=NONE ctermfg=NONE ctermbg=NONE
|
hi VimHiAttrib cterm=NONE ctermfg=NONE ctermbg=NONE
|
||||||
hi VimOption cterm=NONE ctermfg=NONE ctermbg=NONE
|
hi VimOption cterm=NONE ctermfg=NONE ctermbg=NONE
|
||||||
|
|
|
@ -1,8 +1,30 @@
|
||||||
|
" vim: set ft=vim
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
||||||
|
" Plugins
|
||||||
|
|
||||||
|
call plug#begin()
|
||||||
|
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
|
Plug 'junegunn/fzf.vim'
|
||||||
|
|
||||||
|
Plug 'jayli/vim-easycomplete'
|
||||||
|
Plug 'SirVer/ultisnips'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
" Plugin configuration
|
||||||
|
|
||||||
|
" Get AI out of here
|
||||||
|
let g:easycomplete_tabnine_enable = 0
|
||||||
|
|
||||||
" Syntax and colors and things
|
" Syntax and colors and things
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
syntax on
|
syntax on
|
||||||
|
@ -55,7 +77,6 @@ set scrolloff=5
|
||||||
" I think left to write, top to bottom
|
" I think left to write, top to bottom
|
||||||
set splitright splitbelow
|
set splitright splitbelow
|
||||||
|
|
||||||
|
|
||||||
" Basic whitespace
|
" Basic whitespace
|
||||||
set nojoinspaces
|
set nojoinspaces
|
||||||
set expandtab
|
set expandtab
|
||||||
|
@ -85,7 +106,6 @@ nnoremap <leader><leader> <c-^>
|
||||||
|
|
||||||
" Fix shift-semicolon to write
|
" Fix shift-semicolon to write
|
||||||
noremap ; :
|
noremap ; :
|
||||||
noremap ;; ;
|
|
||||||
|
|
||||||
" I should map these to something useful
|
" I should map these to something useful
|
||||||
inoremap <up> <nop>
|
inoremap <up> <nop>
|
||||||
|
@ -125,7 +145,7 @@ nnoremap <c-l> <c-w><c-l>
|
||||||
|
|
||||||
" Focus mode
|
" Focus mode
|
||||||
|
|
||||||
function Zoom()
|
function! Zoom()
|
||||||
if exists('g:is_zoomed')
|
if exists('g:is_zoomed')
|
||||||
unlet g:is_zoomed
|
unlet g:is_zoomed
|
||||||
execute "wincmd ="
|
execute "wincmd ="
|
||||||
|
@ -178,5 +198,7 @@ function! <SID>SynStack()
|
||||||
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")')
|
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
" Open syntax file for current
|
||||||
|
|
||||||
" Syntax highlighting
|
" Syntax highlighting
|
||||||
colorscheme mpwb
|
colorscheme mpwb
|
||||||
|
|
|
@ -3,10 +3,6 @@ source /etc/zshrc
|
||||||
# Secret stuff
|
# Secret stuff
|
||||||
source $HOME/.zsh/secret
|
source $HOME/.zsh/secret
|
||||||
|
|
||||||
# Fuzzy finder!
|
|
||||||
source $HOME/.zsh/fzf.zsh
|
|
||||||
export FZF_DEFAULT_COMMAND='rg --files --hidden --follow --glob "!.git/*"'
|
|
||||||
|
|
||||||
## Path
|
## Path
|
||||||
# Default path
|
# Default path
|
||||||
export PATH="/sbin"
|
export PATH="/sbin"
|
||||||
|
@ -27,9 +23,10 @@ export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}"
|
||||||
|
|
||||||
PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH}"
|
PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH}"
|
||||||
|
|
||||||
# Composer (PHP)
|
# Fuzzy finder!
|
||||||
PATH="$HOME/.composer/vendor/bin:$PATH"
|
source "$(brew --prefix fzf)/shell/key-bindings.zsh"
|
||||||
export COMPOSER_HOME="$HOME/.composer"
|
source "$(brew --prefix fzf)/shell/completion.zsh"
|
||||||
|
export FZF_DEFAULT_COMMAND='rg --files --hidden --follow --glob "!.git/*"'
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
export PYTHONPATH="$PYTHONPATH:$HOME/dotfiles/lib/python"
|
export PYTHONPATH="$PYTHONPATH:$HOME/dotfiles/lib/python"
|
||||||
|
@ -37,31 +34,19 @@ export PYTHONPATH="$PYTHONPATH:$HOME/dotfiles/lib/python"
|
||||||
# Rust
|
# Rust
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
|
|
||||||
# Ruby (2.7)
|
# Ruby
|
||||||
export PATH="/opt/homebrew/lib/ruby/gems/2.7.0/bin:$PATH"
|
export PATH="$(brew --prefix ruby)/bin:$PATH"
|
||||||
|
|
||||||
# Go
|
# Go
|
||||||
export GOPATH="$HOME/go"
|
export GOPATH="$HOME/go"
|
||||||
export GOBIN="$GOPATH/bin"
|
export GOBIN="$GOPATH/bin"
|
||||||
PATH="$GOBIN:$PATH"
|
PATH="$GOBIN:$PATH"
|
||||||
|
|
||||||
# JS stuff
|
|
||||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
|
||||||
export PATH="$HOME/.rover/bin:$PATH"
|
|
||||||
export PATH="$PATH:/opt/homebrew/Cellar/node@18/18.20.4/bin"
|
|
||||||
|
|
||||||
export NPM_PACKAGES="$HOME/.config/npm/node_modules"
|
|
||||||
export PATH="$PATH:$NPM_PACKAGES/bin"
|
|
||||||
|
|
||||||
|
|
||||||
# Local path
|
# Local path
|
||||||
PATH="$HOME/dotfiles/bin/misc:$PATH"
|
PATH="$HOME/dotfiles/bin/misc:$PATH"
|
||||||
PATH="$HOME/dotfiles/bin:$PATH"
|
PATH="$HOME/dotfiles/bin:$PATH"
|
||||||
PATH="$HOME/bin:$PATH"
|
PATH="$HOME/bin:$PATH"
|
||||||
|
|
||||||
# Playdate!
|
|
||||||
export PLAYDATE_SDK_PATH="$HOME/Developer/PlaydateSDK"
|
|
||||||
|
|
||||||
# Android
|
# Android
|
||||||
export ANDROID_HOME="$HOME/Library/Android/sdk"
|
export ANDROID_HOME="$HOME/Library/Android/sdk"
|
||||||
export PATH="$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$PATH"
|
export PATH="$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$PATH"
|
||||||
|
@ -83,36 +68,6 @@ compinit
|
||||||
|
|
||||||
source "$HOME/.zsh/_bazel"
|
source "$HOME/.zsh/_bazel"
|
||||||
|
|
||||||
## Syntax Highlighting
|
|
||||||
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
|
|
||||||
# Make errors red
|
|
||||||
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red'
|
|
||||||
|
|
||||||
# Turn just about everything else off
|
|
||||||
ZSH_HIGHLIGHT_STYLES[reserved-word]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[reserved-word]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[alias]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[builtin]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[function]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[command]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[precommand]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[commandseparator]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[hashed-command]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[path]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[path_prefix]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[path_approx]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[globbing]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[history-expansion]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[assign]='none'
|
|
||||||
ZSH_HIGHLIGHT_STYLES[default]='none'
|
|
||||||
|
|
||||||
# Get the first part of the hostname
|
# Get the first part of the hostname
|
||||||
#
|
#
|
||||||
|
@ -200,9 +155,13 @@ source /opt/homebrew/share/liquidprompt
|
||||||
alias vi=vim
|
alias vi=vim
|
||||||
alias v=vim
|
alias v=vim
|
||||||
|
|
||||||
# Bazel -__-
|
# Bazel
|
||||||
alias bazel='bazelisk'
|
alias bazel='bazelisk'
|
||||||
|
|
||||||
|
# Prefer bat (maybe?)
|
||||||
|
alias cat='bat --paging="never"'
|
||||||
|
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||||
|
|
||||||
# Use fzf to select a running tmux session to attach to
|
# Use fzf to select a running tmux session to attach to
|
||||||
function select_session_interactive {
|
function select_session_interactive {
|
||||||
tmux list-sessions 2> /dev/null |
|
tmux list-sessions 2> /dev/null |
|
||||||
|
@ -252,3 +211,35 @@ esac
|
||||||
# pnpm end
|
# pnpm end
|
||||||
|
|
||||||
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
||||||
|
|
||||||
|
## Syntax Highlighting
|
||||||
|
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
|
# Make errors red
|
||||||
|
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red'
|
||||||
|
|
||||||
|
# Turn just about everything else off
|
||||||
|
ZSH_HIGHLIGHT_STYLES[alias]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[assign]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[builtin]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[command]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[commandseparator]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[default]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[function]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[globbing]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[hashed-command]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[history-expansion]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[path]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[path_approx]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[path_prefix]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[precommand]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[redirection]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[reserved-word]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[reserved-word]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='none'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='none'
|
||||||
|
|
Loading…
Add table
Reference in a new issue