Skip to content

u/JIVEprinting

In this archive from Feb 2012 to Mar 2021

148
posts
258
comments
91
media
4.7k
score
10 saved before deletion

Want to save myself some typing with functions... but I don't know how to do it

I tiptoed through a function once that I used for work- it was a lifesaver!- but I don't have it handy and don't remember enough... Anyway, all I want to do is pass a variable to a hardcoded command. Example... in fact, this is the actual use case. I want to run youtube-dl to a URL and filter the re...

5 points9 comments
Open on Reddit

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.