Skip to content

Commit

Permalink
update fish abbrs
Browse files Browse the repository at this point in the history
  • Loading branch information
heypoom committed Jan 18, 2025
1 parent 85430b3 commit f8c1f03
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions config/dot_config/fish/conf.d/2-abbreviations.fish
Original file line number Diff line number Diff line change
@@ -1,31 +1,17 @@
abbr -a zz "zellij"
abbr -a zj zellij
abbr -a zjd 'zellij --layout default'

abbr -a dev "yarn dev"
abbr -a scr "scripts"
abbr -a sb "yarn storybook"

abbr -a raya "env TERM=xterm-256color ssh raya"

abbr -a brewi 'brew install'
abbr -a gpv 'gh pr view -w'
abbr -a vim lvim
abbr -a gaa 'git add --all'
abbr -a caski 'brew install --cask'
abbr -a g git
abbr -a gfo 'git fetch origin'
abbr -a gl 'git pull'
abbr -a gp 'git push'
abbr -a gc 'git commit'
abbr -a gco 'git checkout'
abbr -a gd 'git diff'
abbr -a gdh 'git diff HEAD'
abbr -a gst 'git stash'
abbr -a gstp 'git stash pop'
abbr -a scripts 'jq .scripts package.json'
abbr -a staging 'git fetch origin staging && git merge origin/staging'
abbr -a edit-abbr "chezmoi edit --apply ~/.config/fish/conf.d/2-abbreviations.fish"

abbr -a v nvim
abbr -a vi nvim
abbr -a lv nvim

abbr -a vich 'chezmoi edit --apply'
abbr -a nv 'env NVIM_APPNAME=nvchad nvim'
abbr -a nvchad 'env NVIM_APPNAME=nvchad nvim'
Expand All @@ -49,8 +35,24 @@ abbr -a deps 'jq .dependencies package.json'
abbr -a tns 'tmux new -s'
abbr -a devdeps 'jq .devDependencies package.json'
abbr -a o chatgpt
abbr -a zj zellij
abbr -a zjd 'zellij --layout default'

abbr -a brewi 'brew install'
abbr -a gpv 'gh pr view -w'
abbr -a vim lvim
abbr -a gaa 'git add --all'
abbr -a caski 'brew install --cask'
abbr -a g git
abbr -a gfo 'git fetch origin'
abbr -a gl 'git pull'
abbr -a gp 'git push'
abbr -a gc 'git commit'
abbr -a gco 'git checkout'
abbr -a gd 'git diff'
abbr -a gdh 'git diff HEAD'
abbr -a gst 'git stash'
abbr -a gstp 'git stash pop'
abbr -a scripts 'jq .scripts package.json'
abbr -a staging 'git fetch origin staging && git merge origin/staging'

# Neovim Codi abbreviations (live playground)
abbr -a crb 'lvim "+Codi ruby"'
Expand Down

0 comments on commit f8c1f03

Please sign in to comment.