Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bankruptcy #59

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d146990
Vim plugin bankruptcy!!!!
devth Sep 14, 2021
633e3ec
Update configs
devth Sep 18, 2021
8cf7352
Add terraform and terminal
devth Sep 18, 2021
1935189
Re-enable fugitive
devth Oct 2, 2021
29602e2
Re-enable tpope/vim-rhubarb
devth Oct 2, 2021
c9a1d72
Enable blame
devth Oct 5, 2021
d3a0df7
Configure nvim tree
devth Oct 5, 2021
95ab0ef
Configure file explorer
devth Oct 12, 2021
a7cb574
Configure nvim tree
devth Oct 21, 2021
8a0c640
Configure Clojure
devth Oct 21, 2021
c9f4611
Add yoink
devth Oct 29, 2021
af22423
Add kcert
devth Nov 3, 2021
e4cda2c
Quit nvim tree on open
devth Nov 10, 2021
eb6fc69
Add copilot
devth Nov 10, 2021
a53ccb1
Add updates
devth Jan 21, 2022
25dbdcf
Redo lsp config
devth Jan 21, 2022
a792f50
Add support for helm templates
devth Feb 12, 2022
10f6111
Switch color schemes
devth Feb 12, 2022
ea5b753
Fix copilot again
devth Feb 25, 2022
af4eb81
Fix git add alias in vim
devth Mar 2, 2022
18cc8c6
Remove unused apps and fix cask syntax
devth Mar 2, 2022
0507a8a
Remove mac apps
devth Mar 2, 2022
5ef477a
Update font and apps
devth Mar 3, 2022
eedb3b5
Add delta for git diffs
devth Apr 12, 2022
f699236
Setup completion
devth Apr 23, 2022
fa612cf
Fix lsp config
devth Apr 25, 2022
951166e
Allow tsx commenting and setup native sorter for telescope
devth May 4, 2022
8a84f49
Update trouble and other lsp configs
devth May 4, 2022
7f38f3b
Use solarized high contrast
devth May 23, 2022
00397df
Use eslint_d
devth May 23, 2022
f9bc3da
Switch colorschemes again
devth Jun 22, 2022
02f7f71
Use jj for esc
devth Jun 23, 2022
11717e2
Add vim-vsnip
devth Jun 25, 2022
311b30c
Add colorizer and nvim treesitter context
devth Aug 24, 2022
23f44be
Config xmap subversive subst
devth Aug 24, 2022
461029e
Update lsp
devth Jan 4, 2023
6ac708f
Update lsp configs for latest
devth Jan 4, 2023
3534a48
Use jj to escape term too
devth Jan 4, 2023
b476a75
Adjust apps installs
devth Feb 24, 2023
1ac8e39
Use new airline style
devth Mar 22, 2023
7bfe326
Configure more telescope plugins
devth Apr 18, 2023
bb2154b
Update kitty and git configs
devth Jun 20, 2023
129c8de
Add more treesitter configs
devth Jun 20, 2023
e05d47f
Add print hook for vim-iced
devth Jun 26, 2023
d174b47
Fixup comment string
devth Jan 5, 2024
27ea9e6
Add better quickfix nvim-bqf
devth Jan 5, 2024
075ff8b
Configure live grep args for telecope
devth Jan 9, 2024
4cf451c
Mirate to lazy.nvim!!!!
devth Jan 2, 2025
677295f
Add argo rollouts plugin for k9s
devth Feb 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 66 additions & 78 deletions .apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,21 @@ echo "NOTE: Install Dropbox and let it sync before running this"
# Foundations {{{

brew install zsh
brew install vim --with-override-system-vi
brew install tmux
brew install reattach-to-user-namespace
# use neovim instead (see below)
# brew install vim --with-override-system-vi
brew install git
# brew install tmux
# brew install reattach-to-user-namespace

# }}}

# neovim {{{
# brew install neovim --HEAD || brew reinstall neovim --HEAD
brew install neovim
pip3 install neovim --upgrade
pip2 install neovim --upgrade
# }}}

# Utils {{{
brew install watch
# brew install ctags # this is outdated, use below instead for
Expand All @@ -43,6 +51,10 @@ echo "NOTE: Install Dropbox and let it sync before running this"
# minio - S3-compatible interface client
# https://github.com/minio/mc
brew install minio-mc

# git diff
brew install git-delta
brew install less
# }}}

# Languages {{{
Expand All @@ -69,6 +81,10 @@ echo "NOTE: Install Dropbox and let it sync before running this"
brew install golang
# }}}

# TypeScript {{{
yarn global add typescript-language-server
# }}}

# Database {{{

brew install postgres
Expand Down Expand Up @@ -107,9 +123,7 @@ brew services start postgresql
# Clojure {{{
# Drip requires java 8 :(
brew cask install homebrew/cask-versions/java8
brew install drip
brew install leiningen
brew install boot-clj
# brew install datomic
brew install borkdude/brew/clj-kondo
# }}}
Expand Down Expand Up @@ -140,80 +154,66 @@ brew services start postgresql
# brew install neovim
# need this commit so until it's released, install neovim from master
# https://github.com/neovim/neovim/pull/5758/commits/af2e629be4d20dda334a7c6ca817f5599956e4ff
brew install neovim --HEAD || brew reinstall neovim --HEAD
brew install neovim --HEAD || brew reinstall neovim
pip3 install neovim --upgrade
pip2 install neovim --upgrade

brew tap thoughtbot/formulae
brew install rcm

# required by vim tiagofumo/vim-nerdtree-syntax-highlight plugin
brew tap caskroom/fonts
brew cask install font-hack-nerd-font
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font

brew tap unisonweb/unison
brew install unison-language
# brew tap unisonweb/unison
# brew install unison-language

# }}}

# Brew Cask {{{

brew tap caskroom/cask
brew tap caskroom/versions
# brew tap caskroom/cask
# brew tap caskroom/versions

# brew cask install zooom # WTF why is this dead
# we'll obtain it from dropbox instead

brew cask install java

brew cask install vimr
# brew cask install java
# brew cask install vimr
# brew cask install backblaze

brew cask install backblaze

brew cask install selfcontrol
brew install selfcontrol

# brew install docker
# brew install docker-machine
brew cask install docker

brew cask install google-chrome

brew tap caskroom/versions
brew cask install google-chrome-canary

brew cask install iterm2

# brew cask install divvy
brew cask install spectacle

brew cask install spotify

brew cask install alfred

brew cask install slack
brew install docker
brew install iterm2
# kitty gpu accelerated terminal
brew install kitty --cask

brew cask install istat-menus
brew install --cask rectangle
brew install --cask spotify
brew install --cask alfred
brew install --cask slack
brew install --cask istat-menus

# get license from gmail
brew cask install airfoil
brew install --cask airfoil

brew cask install dash
brew install dash --cask
open ~/Dropbox/Licenses/license-dash4.dash-license

brew cask install virtualbox
brew cask install vagrant
# brew cask install virtualbox
# brew cask install vagrant

brew cask install gitter
# brew cask install gitter

brew cask install gpg-suite

brew cask install keybase
# brew cask install gpg-suite

# rest client
brew cask install insomnia

# kubernetes IDE
brew cask install lens
brew install lens --cask

# alacritty dependencies
# NOTE: no longer using alacritty. using kitty instead
Expand All @@ -224,12 +224,11 @@ brew services start postgresql
# brew tap mscharley/homebrew
# # brew install alacritty

brew cask install macvim

brew tap homebrew/cask-fonts
# Powerline fonts!
brew cask install \
brew install --cask \
font-fira-code \
font-droid-sans-mono-for-powerline \
font-fira-code-nerd-font \
font-meslo-lg font-input \
font-menlo-for-powerline \
font-inconsolata font-inconsolata-for-powerline \
Expand All @@ -239,37 +238,27 @@ brew services start postgresql
font-pt-mono \
font-raleway font-roboto \
font-source-code-pro font-source-code-pro-for-powerline \
font-source-sans-pro \
font-source-sans-pro

# quicklook
brew cask install \
qlcolorcode qlmarkdown qlprettypatch qlstephen \
qlimagesize \
quicklook-csv quicklook-json epubquicklook

brew cask install sharemouse

# toggl time tracking
brew cask install toggl-beta
brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency quicklookase qlvideo
xattr -d -r com.apple.quarantine ~/Library/QuickLook

# choosy allows configuring which browser to open a URL in
brew cask install choosy

# kitty gpu accelerated terminal
brew cask install kitty
brew install choosy --cask

brew install --cask discord
# keep mac awake
brew cask install caffeine

brew cask install graphql-playground

brew cask install keybase
brew install caffeine --cask

# }}}

# gcloud / kubectl {{{
# gcloud and kubernetes tools {{{

brew install kubectx
brew install kubens

# brew cask install google-cloud-sdk
brew install --cask google-cloud-sdk
# brew cask uninstall google-cloud-sdk

# curl https://sdk.cloud.google.com | bash
Expand All @@ -292,19 +281,18 @@ brew services start postgresql
# Cloud tools {{{

brew install kubernetes-helm
brew install terraform
# brew install terraform
# brew install awscli
brew install ngrep

brew tap drone/drone
brew install drone # --HEAD

brew install awscli

# }}}

# Low priority {{{

brew install gource
# for image previews in vim

brew install chafa
brew install imagemagick

# }}}

Expand Down
13 changes: 4 additions & 9 deletions .macapps.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
# App store {{{

brew install mas
mas install 918858936 # Airmail 3
mas install 413857545 # Divvy (1.5)
mas install 414030210 # LimeChat
mas install 443987910 # 1Password - Password Manager and Secure Wallet
mas install 406056744 # Evernote - stay organized
mas install 416581096 # QuickCal
mas install 417602904 # CloudApp: Capture&Share, GIFs, Videos, Screencasts
mas install 497799835 # Xcode
mas install 409183694 # Keynote
# mas install 443987910 # 1Password - Password Manager and Secure Wallet
# mas install 417602904 # CloudApp: Capture&Share, GIFs, Videos, Screencasts
# mas install 497799835 # Xcode
# mas install 409183694 # Keynote

mas outdated

Expand Down
18 changes: 13 additions & 5 deletions .macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,19 @@
# Disable press-and-hold for keys in favor of key repeat
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false

# Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10
defaults write -g KeyRepeat -int 1
defaults write -g InitialKeyRepeat -int 1
# normal minimum is 15 (225 ms)
defaults write -g InitialKeyRepeat -int 10
# normal minimum is 2 (30 ms)
defaults write -g KeyRepeat -int 2

# # Set a blazingly fast keyboard repeat rate
# defaults write NSGlobalDomain KeyRepeat -int 10
# defaults write NSGlobalDomain InitialKeyRepeat -int 10
# defaults write -g InitialKeyRepeat -int 2
# defaults write -g KeyRepeat -int 2

# defaults write -g KeyRepeat -int 1
# defaults write -g InitialKeyRepeat -int 1

# Dark UI
defaults write NSGlobalDomain AppleInterfaceStyle -string "Dark"
Expand Down
4 changes: 2 additions & 2 deletions .nodejs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

npm install -g doctoc

npm install --global alfred-fkill
npm install -g alfred-fkill
npm install -g @fsouza/prettierd
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,25 @@ rcup -v

`-v` instructs it to output what it's doing.

## Vim Profiling

From https://github.com/hyiltiz/vim-plugins-profile

```bash

ruby ./vim-plugins-profile-master/vim-plugins-profile.rb

python ./vim-plugins-profile-master/vim-plugins-profile.py # -p flag plots a bar chart

```

## Inspiration

- [https://github.com/christoomey/dotfiles](https://github.com/christoomey/dotfiles)
- [https://github.com/mhartington/dotfiles](https://github.com/mhartington/dotfiles)
- [https://github.com/mathiasbynens/dotfiles](https://github.com/mathiasbynens/dotfiles)


## License

[MIT](LICENSE.md)
51 changes: 51 additions & 0 deletions config/k9s/plugins.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Manage argo-rollouts
# See https://argoproj.github.io/argo-rollouts/
# <g> Get rollout details
# <w> Watch rollout progress
# <p> (with confirmation) Promote rollout
# <r> (with confirmation) Restart rollout
plugins:
argo-rollouts-get:
shortCut: g
confirm: false
description: Get details
scopes:
- rollouts
command: bash
background: false
args:
- -c
- kubectl argo rollouts get rollout $NAME --context $CONTEXT -n $NAMESPACE |& less
argo-rollouts-watch:
shortCut: w
confirm: false
description: Watch progress
scopes:
- rollouts
command: bash
background: false
args:
- -c
- kubectl argo rollouts get rollout $NAME --context $CONTEXT -n $NAMESPACE -w
argo-rollouts-promote:
shortCut: p
confirm: true
description: Promote
scopes:
- rollouts
command: bash
background: false
args:
- -c
- kubectl argo rollouts promote $NAME --context $CONTEXT -n $NAMESPACE |& less
argo-rollouts-restart:
shortCut: r
confirm: true
description: Restart
scopes:
- rollouts
command: bash
background: false
args:
- -c
- kubectl argo rollouts restart $NAME --context $CONTEXT -n $NAMESPACE |& less
2 changes: 1 addition & 1 deletion config/kitty/fira.code.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

font_family Fira Code Retina
font_family FiraCode Nerd Font Mono Retina

# italic_font Fira Code Italic
# bold_font Source Code Pro Bold for Powerline
Expand Down
Loading