How to select a line of text?

I am struggeling with a basic task: I double click a word in a line of text in my code editor, then I would like KM to:

  • copy the selected text -> √ (works)
  • select the whole line -> ? (how to do)?
  • delete key -> √
  • Paste a new line with %SystemClipboard% at current position -> √

Thanks for hints!

Wolfgang

This kind of thing depends on which code editor you are using.

Yes, I thought so. Its 4D, the integrated code editor.
You can select a whole line with a tripple click, and I tried to mimic that in KM, but that does noct work.

Wolfgang

⌘L ?

Found a way: Command-Left arrow, followed by Command-Shift-Right arrow…

Mit freundlichen Grüßen

Wolfgang Kunckel

1 Like

Thanks for posting your solution. Yes, that’s how I would do it.

Alternative: control-A .