Next Completion With Tab, Completion Menu With A Keybind #439
-
I prefer to see the interactive completion menu only if I ask for it with a keybind. For example, when I press TAB I like it to just fill the first completion, press tab again the completion after that, and so on. If I want to see the completion menu, I like to press CTRL+SPACE. I'm able to sort of make this work in plain BASH, with out the interactive menu of course, by using this in my bashrc:
I was able to get this to work in zsh with this:
I've looked through configs and settings, but I couldn't find what I'm looking for. Is there a way to duplicate this set up with BLE.SH? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Thank you. I haven't thought about that usage. Currently ble.sh doesn't have the feature to go through the |
Beta Was this translation helpful? Give feedback.
@CamRatliff I added
bleopt complete_menu_complete_opts=hidden
in commit 16ff7df. The visibility of the menu can be toggled by C-x SP in the menu-complete mode. I also added the feature to switch the menu style in the menu-complete mode by C-x a, C-x c, C-x d, C-x l, C-x left and C-x right (see the table in §7.2 for details).To get a similar behavior as your configuration for plain Bash/Zsh, please put the following setting in your
~/.bashrc
. (Note that depending on the terminal TAB and C-SP may be transmitted as C-i and C-@).