Open FreddieOliveira opened 4 years ago
@FreddieOliveira Don't mean to pass the buck here, but we use prompt-toolkit to build the CLI which provides the vi-mode option. Would you mind filing the bug with prompt-toolkit?
Ooh, ok. But I guess it would be nice to have a user friendly way of adding custom keyboard shortcuts. Even if prompt-toolkit changes the shortcuts, it still won't be possible to add custom ones.
Description
When configured to use vi mode, Ctrl+y doesn't yank the previous cut text.
Steps to reproduce
key_bindings = vi
to your config filepragma table_info('albums')
Expected behavior
Ctrl+w should cut
table_info('albums')
text and Ctrl+y should paste it backActual behavior
Ctrl+w cut the text as intended, but Ctrl+y doesn't do anything.