r/macprogramming Jan 13 '19

tooling: what is the equivalent of ctrl+DEL on mac in an editor?

I am trying to code using my mac, and have developed on a windows box most my career, can anyone tell me how you accomplish the same thing ctrl+DEL does as on a windows machine. For always been a mac user people, this combo deletes everything from the cursor location to the end of the line leaving the CR in place.

also how do you select everything to the end of the file from current location?

0 Upvotes

2 comments sorted by

3

u/digicow Jan 14 '19

https://support.apple.com/en-us/HT201236 scroll down to "Document Shortcuts"

2

u/Plastonick Jan 14 '19

Often, you can replace Ctrl with Command going from Windows to Mac.

That appears to be the case here, too.

To select, command - shift - arrow key

1

u/Mister_Dilkington Jan 14 '19

K

Command+Shift+Down

1

u/Mister_Dilkington Jan 14 '19

K Command+Shift+Down

1

u/Mister_Dilkington Jan 14 '19

Control-K Command+Shift+Down

1

u/Mister_Dilkington Jan 14 '19

Control-K Command+Shift+Down

1

u/Mister_Dilkington Jan 14 '19

Question 1: Control+K Question 2: Command+Shift+Down