2020-03-27 08:06:13 +00:00
|
|
|
fish_vi_key_bindings
|
|
|
|
# fish_default_key_bindings
|
|
|
|
|
|
|
|
alias ls=lsd
|
|
|
|
abbr --add --global vim nvim
|
|
|
|
abbr --add --global tsh trash
|
2020-03-29 09:36:09 +00:00
|
|
|
abbr --add --global clear "clear && ls"
|
2020-03-29 17:39:21 +00:00
|
|
|
abbr --add --global cxmonad "nvim /home/leon/.xmonad/lib/Config.hs"
|
2020-03-27 08:06:13 +00:00
|
|
|
|
2020-04-28 14:20:17 +00:00
|
|
|
tmux
|
|
|
|
|
2020-03-27 08:06:13 +00:00
|
|
|
|
2020-04-03 07:50:08 +00:00
|
|
|
|
|
|
|
abbr --add --global gaa "git add --all"
|
|
|
|
abbr --add --global gc "git commit -m "
|
|
|
|
abbr --add --global gp "git push"
|
2020-04-18 18:27:12 +00:00
|
|
|
abbr --add --global gs "git status"
|
2020-04-03 07:50:08 +00:00
|
|
|
|
|
|
|
|
2020-03-27 08:06:13 +00:00
|
|
|
[ (hostname) = "garnix" ] && alias rm='echo "rm is disabled. Please use trash instead."; false'
|
2020-04-18 18:27:12 +00:00
|
|
|
|
|
|
|
function run_stuff
|
|
|
|
set -l commandline (commandline -b)
|
|
|
|
pipr --out-file /tmp/pipr_out --default "$commandline"
|
|
|
|
set -l result (cat /tmp/pipr_out)
|
|
|
|
commandline -r $result
|
|
|
|
commandline -f repaint
|
|
|
|
end
|
|
|
|
|
|
|
|
bind \ca run_stuff
|
|
|
|
|
|
|
|
|