Skip to content

Next Completion With Tab, Completion Menu With A Keybind #439

Answered by akinomyoga
CamRatliff asked this question in Q&A
Discussion options

You must be logged in to vote

@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-@).

# blerc
ble-import core-complete -C '
  bleopt complete_menu_complete_opts=insert-selection:hidden
  ble-bind -f TAB menu-complete
  ble-bind -f C-i menu-complete

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@CamRatliff
Comment options

@akinomyoga
Comment options

Answer selected by akinomyoga
@CamRatliff
Comment options

@akinomyoga
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
NYI/NewFeat Not yet implemented or New Feature
2 participants