2022-04-26 08:25:07 +02:00
|
|
|
# Old bash habits die hard
|
|
|
|
bind \xe edit_command_buffer
|
2022-05-11 20:34:51 +02:00
|
|
|
bind -M default \cn down-or-search
|
2022-07-28 08:16:01 +02:00
|
|
|
bind \ekv fish_vi_key_bindings
|
|
|
|
bind \eke fish_default_key_bindings
|
2022-04-26 08:25:07 +02:00
|
|
|
|
2022-04-01 13:33:39 +02:00
|
|
|
# Jumper
|
|
|
|
bind \a "cd (z -l | sort -rn | cut -c 12- | fzf --query=(commandline --current-token) --no-sort --exact); commandline -f repaint"
|
|
|
|
|
|
|
|
# Kubeshizzle
|
2022-07-14 17:06:28 +02:00
|
|
|
bind \egkk "_kubeconfig|source; and kubectx; commandline -f repaint"
|
2022-04-01 13:33:39 +02:00
|
|
|
bind \egkx "kubectx; commandline -f repaint"
|
|
|
|
bind \egkn "kubens; commandline -f repaint"
|
|
|
|
bind \egkp "kgp; commandline -f repaint"
|
|
|
|
|
|
|
|
# Yaml Engineering
|
|
|
|
bind \egoy "commandline -i -- '-o yaml'"
|
|
|
|
bind \egba "commandline -i '| bat -l yaml'"
|
|
|
|
bind \egoba "commandline -i -- '-o yaml | bat -l yaml'"
|
2022-04-09 21:31:05 +02:00
|
|
|
|
|
|
|
# FZF SSH
|
|
|
|
|
|
|
|
bind \es fzf-ssh
|
2022-04-26 08:25:07 +02:00
|
|
|
bind \ev fzf-vm
|
2022-04-09 21:31:05 +02:00
|
|
|
|
|
|
|
# Tmux quick access
|
|
|
|
bind \egta "ta; commandline -f repaint"
|
|
|
|
bind \egtn "tn; commandline -f repaint"
|
|
|
|
|
|
|
|
# Git quick access
|
|
|
|
bind \eggf gf
|
2022-05-10 10:37:44 +02:00
|
|
|
bind \egcm gcm
|
2022-04-09 21:31:05 +02:00
|
|
|
bind \eggbb gbb
|
|
|
|
bind \eggp git push
|
|
|
|
bind \eggs "git status"
|
2022-05-10 19:44:17 +02:00
|
|
|
|
|
|
|
# SSH Quick Jump
|
|
|
|
bind \egss "z saltstack; commandline -f repaint; commandline -i -- './ssh -e '"
|
2022-07-12 21:03:54 +02:00
|
|
|
|
|
|
|
# k9s is such a handy tool
|
|
|
|
bind \e9 "k9s"
|