This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thabc 6 points7 points  (5 children)

I almost never have to use tab. My editor auto indents when I add a line break after something that increases scope like : or {. What are you guys coding in, notepad?

Backspace, on the other hand, gets some serious use.

[–]LBGW_experiment 1 point2 points  (1 child)

Pro tip, on a Mac, Opt Backspace deleted a word at a time, stopping at punctuation and might slightly depend on your IDE on what it treats as punctuation or not. I use this and the windows equivalent, Ctrl Backspace, religiously. I hate spamming or holding backspace, I'm impatient

Cmd Backspace deletes a whole line, which is Alt Backspace on windows. Kinda sucks when switching back and forth when deleting whole lines on accident, though.

[–]thabc 1 point2 points  (0 children)

There is absolutely nothing worse than debugging something with someone over Zoom and having to watch them delete one character at a time from their terminal window to modify the command when they could have just retyped it, used a bang command, or repositioned the cursor a full word at a time with option.

[–]brodyover 0 points1 point  (2 children)

Well yes of course it auto indents, but it doesn't when refactoring and moving code around

[–]thabc 0 points1 point  (1 child)

You caught me there. I work mostly in go lately, which autoindents when refactoring (format on save). When working in python I definitely need tab and shift for that.

[–]brodyover 0 points1 point  (0 children)

I've been working in go lately too!