Sublime Forum

Delete a line command?

#1

Hi,

I am trying to figure out how to delete current active line. Does Sublime has such command?

1 Like

#2

Two options come to mind:

  • With nothing selected, press Ctrl+X - this will cut the current line. OR,
  • Press Ctrl+L to select the entire line, then delete.

You can record the second pair of commands to a macro, if you’d rather it be a one key affair.

0 Likes

#3

jps and sublimator // thanks!!

0 Likes

#4

ctrl+shift+k

2 Likes

#5

how can i delete what’s surrounded?
by google translate :wink:
Alvau3

0 Likes

#6

Choose View > Layout > Single from the main menu to remove the extra rows in the layout.

0 Likes

#7

thank you !!

0 Likes