Skip to content

28 comments

unknown author4 hidden

Deleted before we saved it.

-18 points

I haven’t watched the video, but I will assume they are using a fancy text editor and typing the same code on more than one line at once. In most fancy programming editors (I use TextMate on MacOS, Notepad++ on Windows), you can select more than one line (put a cursor on more than one line) the same way you select more than one file or item in a list—holding alt, usually. The key may vary on different editors, but usually a modifier key or combination of modifier keys, and then click each of the places you want to start typing.

…and if I’ve assumed wrong, just ignore this… 🤐

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.