diff --git a/dotfiles/.config/fish/config/keys.fish b/dotfiles/.config/fish/config/keys.fish index ee11e3c..91ad2d7 100644 --- a/dotfiles/.config/fish/config/keys.fish +++ b/dotfiles/.config/fish/config/keys.fish @@ -11,9 +11,16 @@ bind \er 'exec fish' bind \cg delete-char # What does this do relative to the above? -bind \cd delete +# bind \cd delete # Replace with because is used as tmux leader key. # Note: Consider alternatives bind \ea beginning-of-line + +# Clear and reprompt +function clear_and_prompt + clear + commandline -f repaint +end +bind \; clear_and_prompt