ktexteditor-yankbuffer 0.2 reviewDownload
ktexteditor-yankbuffer is a plugin for KDE text editors that gives you yank (C-y) behaviour and emacs-like kill line (C-k)
ktexteditor-yankbuffer is a plugin for KDE text editors that gives you yank (C-y) behaviour and emacs-like kill line (C-k). For non-emacs users: this means that you can delete (kill) lines and then paste (yank) them in at another place in the document (or in another document).
As an extra feature the plugin supports multiple yank buffers. By pressing Ctrl+Alt+Shift+K you create a new yank buffer (that all future kill line and yank operations will use) and then moves the current line to that buffer. If you press Ctrl+Alt+Shift+Y the current buffer is first inserted in the document, then removed and the previous buffer is made current.
The kill line feature works as it does in emacs: it deletes the current line starting at the cursor and only includes the end of line (n) if the cursor is at the end of the line. And if you kill a text segment, all lines are saved in the same buffer.
The default keybindings are:
Ctrl + Alt + K for killing a line
Ctrl + Alt + Y for inserting the buffer at cursor position
Ctrl + Alt + Shift + K creates a new yank buffer that hides the previous one,
kills the current line placing it in the new buffer:
"pushes a yank buffer on the stack".
Ctrl + Alt + Shift + Y inserts the buffer at cursor position, then removes
that buffer, revealing the buffer that was hidden
by the above command:
"pops a yank buffer from the stack".
They can be changed under Settings -> Configure Shortcuts.
ktexteditor-yankbuffer 0.2 search tags