nixos/home/fish/config.fish

21 lines
631 B
Fish
Raw Normal View History

2024-02-29 04:52:51 +00:00
set -U fish_greeting
if status is-interactive
# Commands to run in interactive sessions can go here
2024-07-07 22:33:30 +00:00
bind \cG lazygit
2024-02-29 04:52:51 +00:00
end
function fish_user_key_bindings
# Execute this once per mode that emacs bindings should be used in
fish_default_key_bindings -M insert
# Then execute the vi-bindings so they take precedence when there's a conflict.
# Without --no-erase fish_vi_key_bindings will default to
# resetting all bindings.
# The argument specifies the initial mode (insert, "default" or visual).
fish_vi_key_bindings --no-erase insert
bind \cf 'fg 2>/dev/null; commandline -f repaint'
end