denisidoro/navi

Bash widget not working with readline vi editing mode

Open

#328 ouverte le 2 avr. 2020

Voir sur GitHub
 (4 commentaires) (1 réaction) (0 assignés)Rust (530 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (15 874 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Describe the bug When using bash with readline set to vi editing mode the widget does not work.

To Reproduce

Steps to reproduce the behavior:

set -o vi
source <(navi widget bash)

Then press CTRL-G and navi will not run but instead the terminal will print:

`__call_navi`

Expected behavior If you then go back to the default readline editing mode which is emacs, you get the expected behavior and navi runs.

set -o emacs
source <(navi widget bash)

Versions:

  • navi: 2.5.0
  • OS: Ubuntu 18.04
  • Shell Version: GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)

Guide contributeur