Reputation: 267040
I find the control+a and control+e hard to press, and for some reason control+shift+e doesn't seem to highlight the entire line.
I want to copy the line into my clipboard. How do I do this?
Upvotes: 4
Views: 2150
Reputation: 19738
To highlight a line in TextMate, Shift+Command+L is what you want.
Upvotes: 7
Reputation: 530
If you want to duplicate a line you can use this shortcut:
Cmd + left arrow
to go at the beginning of the lineCtrl + Shift + D
to duplicate the entire line below the one you want to duplicateDuplicate Line / Selection (āā§D) ā this will duplicate the current line, leaving the caret in the same column on the new line, or if there is a selection, duplicate that.
Source: textMate official website
PERSONAL WARNING:
Selecting a word, or whatever, and apply this shortcut will duplicate next to the original one. Not below.
TIPS
If you want to move your new duplicated line or whatever:
Ctrl + Cmd + arrow up
will move upCtrl + Cmd + arrow down
will move downHappy coding š
Upvotes: 1
Reputation: 70048
cmd-leftArrow # to get cursor to beginning of line
shift-cmd-rightArrow # to highlight entire line
cmd-c # copy the line to clipboard
Upvotes: 1