hundredrabbits / Left

Distractionless Writing Tool
http://hundredrabbits.itch.io/left
Other
1.77k stars 142 forks source link

Feature request: Key shortcut for moving selected text #161

Open ReinBentdal opened 2 years ago

ReinBentdal commented 2 years ago

I love the simplicity of this editor!

I am a coder and am using VS Code. That editor has a feature where, if you select the opt key on Mac (at least on my keyboard) + key up/down, the selected text will move up or down a line. If no text is selected, the line where the cursor currently is will move up or down. Here is an example

  This is some text 

> This is some text where the cursor currently is
  And this is some more text

opt + key down =>

  This is some text 

  And this is some more text
> This is some text where the cursor currently is

Another example:

  This is some text 

  **The text encapsulated in
  double stars** are selected
  And this is some more text

opt + key down =>

  This is some text 

  And this is some more text
  **The text encapsulated in
  double stars** are selected

This makes it really easy to move around paragraphs and lines without copy/paste.

jkarttunen commented 1 year ago

Seconded. Very useful with lists