ardagnir / athame

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

Tab completion fails when menu-complete is set in .bashrc or .inputrc #58

Closed tmilloff closed 5 years ago

tmilloff commented 6 years ago

When menu-complete is enabled via bind TAB:menu-complete in .bashrc or TAB:menu-complete in .inputrc, the shell inserts a tab character rather than autocompleting when you press the tab key

ardagnir commented 6 years ago

I’ll look into including supporting bash menu options when I get a chance.

In the meantime, there’s a good chance that everything might just work if you swap rl_complete with rl_menu_complete in athame_readline.h.

tmilloff commented 6 years ago

Thanks for the suggestion. With that change, athame inserts a tab character, same as if I bound the option in my rc file. I might take a look at implementing the feature if I get a chance at some point as well.

ardagnir commented 6 years ago

Sorry, I meant change athame_readline in addition to the rc change.

The rl_complete in that file is saying to send the key bound to rl_complete to readline instead of vim.

ardagnir commented 6 years ago

Fixed in branch 1.1.2