ardagnir / athame

Full vim for your shell (bash, zsh, gdb, python, etc)
GNU General Public License v3.0
1.62k stars 32 forks source link

How to make the binding for menu-complete-backword work? #87

Open Aster89 opened 3 years ago

Aster89 commented 3 years ago

I have the following lines in my ~/.inputrc:

"\t": menu-complete
"\e[Z": menu-complete-backward

which are meant to make Tab and Shift+Tab loop forward or backward in the possible completions.

After installig this amazing readline of yours, the second binding doesn't seem to work, as pressing Shift+Tab now only adds some true tab characters on the command line.

ardagnir commented 3 years ago

This is because the binding for menu-complete-backwards is multiple characters. Athame can only send custom mappings to readline if they're single character so shift tab is being sent to vim.

Better support for custom mappings is one of the primary things I hope to support in the next Athame release