I have a function that executes a shell command--ls in this case--without use of the return key.
hotkey_ls () { echo; ls; zle redisplay }
zle -N hotkey_ls
bindkey ',f' hotkey_ls
I'd like to be able to pass the shell command as a parameter, i.e. bindkey ',a' hotkey_ls('ls -a')