hchbaw/auto-fu.zsh

Need to Ctrl-C twice instead of once

Opened this issue · 6 comments

Instead of Ctrl-C once ,you have to hit it twice when using auto-fu. Would it be possible that auto-fu traps the event in some way and repropagates it to avoid that ?

This behavior is intended.

Basically, the aim of Ctrl-C (and Ctrl-g, too) on auto-fu is to exit the "auto-fu mode" thing and going back to the "shell's default mode" for the command-line editing.

But I know that this behavior is awkward in some points, so this is the nice to have feature.

+1 for some sort of option to change this behavior -- perhaps a separate command for breaking out of auto-fu that can be bound to something other than Ctrl-C, or some setting that restores the default Ctrl-C behavior.

All right. I'll take a look shortly.

Thank you very much for leaving your precious feedbacks here!

+1 for providing option!

I would also appreciate this, I always use ctrl-c to clean the current line if I change my mind.