Live data from Hacker News

Ask HN: Can I see your cheatsheet?

news.ycombinator.com

21–30 of 173 posts

Re: Ask HN: Can I see your cheatsheet?

#24

On a related note: has anyone used a good tool for using/inserting these kinds of custom snippets? It would be neat to have a snippet manager with quick search bound to a keypress.

On Linux, you can make your own very quickly using Rofi and a clipboard manager.

Re: Ask HN: Can I see your cheatsheet?

#25
post #10

My only real cheatsheet is a list of shortcuts I maintain for programs/apps I use: system: ctrl+space=switch keyboard input language iterm2: cmd+; = autocomplete fn+cmd+ = scroll to bottom of buffer fn+cmd+^ = pgup buffer fn+cmd+v = pgdown buffer fn+ = end of line shift+cmd+[ = previous tab shift+cmd+] = next tab cmd+K = delete til end of line cmd+enter = full-screen on/off cmd+shift+e = show command timeline!!! chro…

You might like this: https://www.mediaatelier.com/CheatSheet/

I have this actually, but it typically only lists a small selection of shortcuts for the active application. Also doesn't work for web applications with shortcuts

Re: Ask HN: Can I see your cheatsheet?

#26
No maintained cheat sheet here either. I do use `history | grep` quite a lot though.

One thing I try to do is to keep my keyboard shortcuts consistent between programs/systems. That way the chance of my instinct of pressing `+a` to move the cursor to the start of the line will be correct more often.

Another thing I try to do when a project has a set of complex commands that are needed, is to add them as a rule in its Makefile, that way they're available for my colleagues as well.

Re: Ask HN: Can I see your cheatsheet?

#27

My extremely short shell cheatsheet for things I do rarely enough to forget each time: Process substitution: bash: diff

Process substitution is one of those tricks that I don't have to look up each time as I find that I'm always using it - but that probably says more about the number of times that I'm given randomly ordered files that I need to compare with diff to figure out what's actually changed.
Post reply on HN