Created
May 17, 2020 21:00
-
-
Save dnlcorrea/23a276eeb30dc19c750c5907989e9a80 to your computer and use it in GitHub Desktop.
Accept Autocomplete and Execute - Fish Shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function dnl_accept | |
echo lol | |
commandline -f accept-autosuggestion | |
commandline -f execute | |
end | |
# Bind for Vi mode | |
bind -M insert \cn dnl_accept | |
bind -M normal \cn dnl_accept |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on fish-shell/fish-shell#1498