Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to move line up in Mac for Sublime Text? [closed]

On OS X when I use the shortcut provided in documentation (⌘ + ⌃ + Up which I read as Command + Shift + Up) Sublime Text selects the text instead of moving the line up. Am I missing something?

like image 253
Aurimas Avatar asked Sep 06 '16 07:09

Aurimas


People also ask

How do you move a lineup on a Mac?

Press ⌥⇧↑ (macOS), or Alt+Shift+Up Arrow (Windows/Linux), to move a line up.

How do I move multiple lines in Sublime Text?

You can use Ctrl and Alt with this too. Shift+Right mouse button is an alternative way to initial a column select. Dragging in the gutter (where the line numbers are), will select entire lines at once.

How do you move a line through text?

Put your cursor in the line (paragraph) that you need to move, press Alt+shift+arrow/down up till you reach the desired spot.

How do you change from horizontal to vertical in Sublime Text?

CTRL + Shift + J will convert vertical to horizontal.


1 Answers

According to https://docs.sublimetext.io/reference/keyboard_shortcuts_osx.html, it should be Command+Ctrl+Up.

  • ⌘ = Command
  • ⇧ = Shift
  • ⌥ = Option (a.k.a. Alt)
  • ⌃ = Ctrl
  • ⎋ = Esc
  • ↩︎ = Return
  • ⌫ = Delete (a.k.a. Backspace)

See also https://apple.stackexchange.com/questions/42615/is-there-a-list-of-menu-shortcut-icons for the meaning of the symbols.

like image 75
kennytm Avatar answered Oct 03 '22 02:10

kennytm