Closed memeplex closed 9 years ago
keyboard-select does only have vi-like key-bindings, it is not really modal. Using Y
would be possible, but all of the yy
, yj
or 3yj
are not possible.
Y
will be ok as vi(m) is already inconsistent in its definition: it's the same as yy
.
That said, the most common use case I found for "yank line" is to copy the current line (say you're in the interactive shell of your favourite language) to an editor. Maybe a direct shortcut similar to keyboard-select:search
will fit the bill also (or even better).
Does your shell not offer this feature directly? For instance, bash has edit-and-execute-command
(C-x C-e) and zsh edit-command-line
in zshcontrib.
Yes, it does. But there are other use cases. Mainly, you're in an interpreter shell, say ipython, and exploratory build some complex line that you want to copy to your editor, which is already open in some other window.
Sorry that it took so long to find some time to add this. Enjoy!
Thanks :)
It would be useful to copy the current line to the clipboard efficiently as it is a frequent operation.