Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text - duplicate line "ctrl+shift+d" not working

I have a problem in my favorite editor Sublime text, I can't do a duplicate line with the command Ctrl+Shift+d default, but if I change it, it works.

I don't want to change it, and i want that works for me.

Please any help, Thanks.

like image 576
kach Avatar asked Sep 11 '13 11:09

kach


People also ask

How do I duplicate a line in Sublime Text?

To quickly duplicate a line of code, place the cursor anywhere in the line and hit Cmd–Shift–D(Mac) or Ctrl–Shift–D (Windows).

How do I duplicate a current line?

Duplicate the current line or selectionPress Ctrl+D or choose Edit | Duplicate Line or Selection from the main menu . Alternatively, you can press Ctrl+Shift+A , start typing the command name in the popup, and then choose it there.

How do I copy a current line using the keyboard?

Ctrl-C will copy the whole line if nothing is highlighted. Also Ctrl-D duplicates a line as it is Ctrl-Alt-Down in eclipse.

How do you copy a single line?

Type CC in the line command field of both the first and last lines to be copied. You can scroll (or use FIND or LOCATE) between typing the first CC and the second CC , if necessary.


1 Answers

Check out @skuroda's FindKeyConflicts plugin, available through Package Control. You probably have another plugin installed that also uses CtrlShiftD as a shortcut, and FindKeyConflicts will help you find out which, so you can change it and keep Sublime's default.

like image 191
MattDMo Avatar answered Oct 07 '22 04:10

MattDMo