3

What is the keyboard shortcut to copy the whole current line to the clipboard and then delete it?

This is functionally equivalent to:

Home, Shift+, Ctrl+X

It's a common feature I use often in some text editors, such as:

  • notepad++ Ctrl+L
  • nano Ctrl+K (When used with Ctrl+U to paste.)

But it's not listed on this cheatsheet and I haven't managed to figure out how it's done in Kate.

2 Answers2

7

Finally stumbled across this today - I knew this basic functionality had to be somewhere already.

Ctrl + X when nothing is selected will cut the whole line after enabling the feature under the menu Settings > Configure Kate...

screenshot of kate configure menu

0

I have Kate for Windows installed, and provided there is more than one line,

Home, Shift+, Ctrl+X

does work.

If not then

Home, Shift+End, Ctrl+X

works instead

Paul
  • 61,193