dbcli / dbcli/pgcli

Ctrl-u cuts the line, but Ctrl-y doesn't put it back in Vi-mode

Open
#1,608 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13.4k
Forks
612
Avg merge
6d 14h
Merged PRs (30d)
10

Description

In Vi-mode, when using Ctrl+U to cut the current input it's impossible to use Ctrl+Y afterwards to get it back: it does nothing.

If I switch back to Emacs-mode and press Ctrl+Y, I get the data back. I can then switch back to Vi-mode.

I would expect Ctrl+Y to work the same way it works with readline, or for Ctrl+U to do nothing in Vi-mode (as the vi equivalent would be dd rather than Ctrl+U).

Version: v4.0.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.