You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.9 KiB
80 lines
1.9 KiB
# login to X {{{ #
|
|
|
|
if status is-login
|
|
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
|
exec startx -- -keeptty
|
|
end
|
|
end
|
|
set -x GPG_TTY (tty)
|
|
|
|
# }}} login to X #
|
|
|
|
# input
|
|
fish_vi_key_bindings
|
|
set -x EDITOR nvim
|
|
set -x VISUAL nvim
|
|
|
|
builtin cd $last_dir
|
|
bind \ce edit_command_buffer
|
|
bind \cr forward-word
|
|
|
|
# fish-specific
|
|
set -U fish_fxn_dir "/home/kevin/linux-config/fish/.config/fish/functions"
|
|
abbr ff "cd $fish_fxn_dir"
|
|
for fxn in (find $fish_fxn_dir -name '*.fish')
|
|
source $fxn
|
|
end
|
|
source /home/kevin/.config/fish/key_abbr.fish
|
|
abbr xf "fish_config"
|
|
abbr f. "cd .."
|
|
abbr f.. "cd ../.."
|
|
|
|
# spv
|
|
set -U spv_dir "/home/kevin/coding/spotify-lib-vis"
|
|
set -U mfs_dir "/home/kevin/coding/mf-site"
|
|
|
|
# set -U PATH /usr/local/sbin /usr/local/bin /usr/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /home/kevin/linux-config/scripts
|
|
# (ruby -e 'print Gem.user_dir')/bin
|
|
set -x PATH $PATH /home/kevin/linux-config/scripts /home/kevin/go/bin
|
|
set -x PASSWORD_STORE_CLIP_TIME 120
|
|
set -xU XSET_RATE 90
|
|
set -xU XSET_DELAY 200
|
|
# causes xmodmap to have issues when opening terminal sometimes
|
|
# xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE
|
|
# xset r rate $XSET_DELAY $XSET_RATE
|
|
|
|
# fxn abbr's
|
|
abbr ag "grep-aliases"
|
|
abbr bq "benq-brightness"
|
|
abbr cpc "copy cat"
|
|
abbr cpe "copy echo"
|
|
abbr cff "create-fish-function"
|
|
abbr ev "evince-silent"
|
|
# git {{{ #
|
|
|
|
abbr gcamp "git-amend-push"
|
|
abbr gdf "git-diff-files"
|
|
abbr gpsmt "git-push-multiple"
|
|
abbr gremotes "git-mult-remotes"
|
|
abbr grmb "git-delete-branch"
|
|
|
|
# }}} git #
|
|
abbr hs "scan-history"
|
|
abbr hst "$EDITOR ~/.local/share/fish/fish_history"
|
|
abbr ut "unix-timestamp"
|
|
abbr z "zathura-silent"
|
|
|
|
set -U BROWSER "chromium"
|
|
abbr hm "cd $mfs_dir && hugo serve -D --disableFastRender"
|
|
|
|
# 369
|
|
abbr grc "grep-c"
|
|
abbr grh "grep-headers"
|
|
abbr rgh "rg-headers"
|
|
|
|
abbr r6 "run-a3 c lru"
|
|
abbr r6o "run-a3 c lru o"
|
|
abbr g6b "gdb-a3-break c lru"
|
|
|
|
# abbr cs "carsim"
|
|
# abbr ga2 "gdb-a2"
|