209

Mine is using the arrow keys to navigate typed text while writing and editing. It helps speed things up, versus having to move your hand to the mouse to navigate.

Use the Up and Down Arrows to move/jump vertically.

Left and Right Arrows to move/jump horizontally.

Combine Left or Right Arrow with Shift to be able to select text. Use Up or Down Arrow with Shift to quickly select whole/nearly whole sections of text.

Combine Control with Left/Right Arrow to jump whole words to more quickly move to where you want to type.

top 50 comments
sorted by: hot top controversial new old
[-] moe93@lemmy.dbzer0.com 65 points 2 weeks ago

To navigate to the previous folder

cd -

To reissue the previous command with a prefix. For example:

cat /root/.ssh/authorized_keys # Will fail without privilege

sudo !!

To use the argument of the previous command. For example:

tac ~/.ssh/authorized_keys # oops, misspelled cat

cat !$

[-] owenfromcanada@lemmy.ca 25 points 2 weeks ago

Oh dang, I never knew about the !! shortcut. I especially like it for the sudo example, because when it complains I don't have permission, I can basically yell at it.

[-] davidgro@lemmy.world 20 points 2 weeks ago

I've seen posts suggesting adding the following to your .bashrc:

alias fuck='sudo $(history -p \!\!)'
[-] hornywarthogfart@sh.itjust.works 14 points 2 weeks ago* (last edited 2 weeks ago)

The - works with git branching as well for those who didn't know. git checkout - will switch to the previously checked out branch so it effectively toggles between your two most recent branches.

[-] beastlykings@sh.itjust.works 10 points 2 weeks ago

cd -... Wow, I can't believe I never knew about this. I should read more man pages.

!! Is useful too, never knew. Thanks!

load more comments (2 replies)
[-] Caffeinated_Sloth@lemmy.world 59 points 2 weeks ago

Windows+L every time I leave my desk.

[-] DmMacniel@feddit.org 31 points 2 weeks ago

That's not even a life hack. That's literally policy, at least where I work at :)

[-] davidgro@lemmy.world 15 points 2 weeks ago

Not everyone knows the keyboard shortcut though. I bet you can find people hunting for it using the mouse every time.

load more comments (2 replies)
load more comments (1 replies)
load more comments (4 replies)
[-] Evotech@lemmy.world 34 points 1 week ago

Nobody tell this man about vim

[-] Max_P@lemmy.max-p.me 34 points 2 weeks ago

Keyboard shortcuts in general.

  • Alt + left right (previous/next page in browsers)

  • Windows + 1 (2, 3, ...) on Windows and KDE focuses the window at that position in the taskbar

  • Alt + Tab to switch windows (hold shift to go backwards)

  • Windows + Tab to switch windows within the same application (like, all browser windows if you're in a browser)

  • Alt + 1 (2, 3, ...) on Windows/Linux usually selects the corresponding tab

  • Ctrl + Tab to cycle through tabs like Alt-Tab does for windows (hold shift to go backwards)

  • In most browsers or things with a URL/go to bar, Ctrl+L will focus that. No need to click the address bar, Ctrl+L, example.com, Enter.

  • In Discord and Slack, you can press Ctrl+K to open a box to quickly type a channel/DM name to go to it quickly

  • If you have them, the Home/End/PageUp/PageDown keys are actually pretty useful. Press Home instead of scrolling all the way back up.

  • F1 is usually help

  • F2 is usually rename

  • F3 is usually search

[-] solsangraal@lemmy.zip 11 points 2 weeks ago* (last edited 2 weeks ago)

F6 - goto and highlight the URL bar in a browser

ctrl + F5 - clear cache and reload the tab

F11 - super full screen browser

[-] Bahnd@lemmy.world 32 points 2 weeks ago

Microsoft has never fixed the sticky keys replacement cheese to unlock a PC you have physical access to. Ive done it up to W10, never tested it on W11.

  1. Get a Windows recovery USB.

  2. Boot into the recovery menu and open the command prompt.

  3. Navagate to system32 and make a copy of the cmd.exe file (for a backup)

  4. Copy the sticky_keys.exe and have it overwrite cmd.exe, then reboot.

  5. On the login screen, smash the shift key until the command prompt appears and for some reason (because no user has logged in yet) it has admin permissions, so you can reset local passwords.

  6. Once your logged in as a local admin, copy the backup of cmd.exe back so noone is none the wiser (except the security software that knows you messed with something)

[-] feannag@sh.itjust.works 17 points 2 weeks ago

That.... Seems like a pretty massive vulnerability. Like obviously that can be locked down by each user or administrator, but still....

[-] Sheldan@lemmy.world 8 points 2 weeks ago* (last edited 2 weeks ago)

It is, we used the same just with the accessibility button in earlier Windows Versions to troll one another in school. Thing is, if encryption is enabled it won't work.

load more comments (2 replies)
load more comments (2 replies)
load more comments (5 replies)
[-] TimewornTraveler@lemmy.dbzer0.com 31 points 2 weeks ago* (last edited 2 weeks ago)

Are you serious? arrow keys instead of clicking? let's take it further:

shift+arrow highlights letters
ctrl+arrow skips entire words
ctrl+shift+arrow highlights entire words
home/end jumps to start/end of line
ctrl+home/end jumps to start/end of text box
ctrl+shift+home/end jumps to start/end of textbox and highlights it
um, do you need me to explain what ctrl+xcv do? or ctrl+zy? or ctrl+asdwerfgop?

isn't this just basic typing? didnt yall learn this in the 90s??? how are you all on the internet right now

wait til you hear about how i swipe texted all this

[-] kadaverin0@lemmy.dbzer0.com 12 points 2 weeks ago

They tought us on typewriters in the 90s. Wait until you hear about how I changed an ink ribbon, son.

load more comments (2 replies)
load more comments (4 replies)
[-] hansolo@lemmy.today 30 points 2 weeks ago

Find a Linux distro you like and install it instead of Windows.

Use LibreOffice, not MSOffice

Ditch Google, Apple, Meta, and Microsoft.

Tech walled gardens are insane asylums. Leave them.

load more comments (1 replies)
[-] zxqwas@lemmy.world 27 points 2 weeks ago

Vim takes your keyboard shortcuts to the extreme. If you can be bothered to learn it.

[-] owenfromcanada@lemmy.ca 12 points 2 weeks ago

And for those who can't be bothered, opening vim is like the digital version of a finger trap.

[-] MutilationWave@lemmy.dbzer0.com 7 points 2 weeks ago

Is there a non-digital version of a finger trap? 🥁

load more comments (2 replies)
[-] Psaldorn@lemmy.world 6 points 2 weeks ago

It's well worth learning, you can use vim motions In lots of apps (or they have vim plugins) and even some websites will let you navigate with hjkl and search with / etc

There used to be a web based vim game to help you learn, vim tutor maybe?

Any time I'm forced to select text with a mouse it feels like a massive ball ache.

Don't get me started on editing text on an iPad, they have gone out of their way to make selection and editing, like changing a URL, a total nightmare.

load more comments (1 replies)
load more comments (2 replies)
[-] Bitflip@lemmy.ml 19 points 2 weeks ago

Ctrl+r on bash and zsh (possibly others) for quickly recalling anything you've typed before

load more comments (2 replies)
[-] JamonBear@sh.itjust.works 16 points 2 weeks ago

Using ublock origin picker to remove everything useless. Like, Youtube suggestions, everything but download button on ddl websites, useless footers/headers on news, etc...

[-] thermal_shock@lemmy.world 10 points 2 weeks ago

Just getting people to switch away from chrome to get ublock origin is a major hack all itself and completely changed the way you use the internet.

load more comments (2 replies)
[-] jaschen306@sh.itjust.works 13 points 2 weeks ago

Yay, nobody said my favorite hack.

While browsing on the web and you want to "open link into a new tab", click using the mouse wheel like it's a regular left or right click.

It's great for researching.

load more comments (5 replies)
[-] undefined@lemmy.hogru.ch 13 points 2 weeks ago

Set up three WireGuard network interfaces on a VPS then accept traffic from your end devices to route through the three double hop VPN tunnels to a country with better privacy laws. Install an ad and tracking blocking DNS server to block all nefarious hostnames as well as more granular blockers for your browsers.

load more comments (2 replies)
[-] some_guy@lemmy.sdf.org 13 points 2 weeks ago

Keyboard shortcuts for everything. Mousing to a menu is a waste of time in any app you use daily.

load more comments (1 replies)
[-] Treczoks@lemmy.world 13 points 2 weeks ago

Oh kid, I do this for over forty years now.

load more comments (3 replies)
[-] Drekaridill@feddit.is 13 points 2 weeks ago

Ctrl + shift + esc brings up the Windows task manager directly instead of the menu you get when you press ctrl + alt + del

[-] mriswith@lemmy.world 11 points 2 weeks ago* (last edited 2 weeks ago)

Just remember that ctrl+alt+del is a system level interrupt that should always work as long as the kernel is running. Ctrl+shift+esc is not, and won't work in some situations like being used inside a fullscreen frozen program.

[-] vrighter@discuss.tchncs.de 12 points 2 weeks ago

if you're concerned about how much you need to move your hand, then you'll probably love (neo)vim

[-] Luffy879@lemmy.ml 11 points 1 week ago

What you just described is the most gen-Y always used PCs but never knew dogshit about it thing ive heard.

Regarding that, Wait until you learn you can use strg to move beetween words.

[-] Aggravationstation@feddit.uk 11 points 2 weeks ago* (last edited 2 weeks ago)

Actually use Home and End keys to get to the start and end of text.

Ctrl + F for searching text. Very useful.

Alt + Tab for window switching.

Linux + USB drive to switch away from Windows.

load more comments (2 replies)
[-] Randomocity@sh.itjust.works 10 points 2 weeks ago

My favorite windows shortcut is 'Windows+shift+left/right' to move an application between monitors. Very helpful for moving games around or snapping without have to use a mouse.

load more comments (1 replies)
[-] hansolo@sh.itjust.works 10 points 1 week ago

To be pedantic, keyboard shortcuts aren't hacks. That's the intended use of the thing, and long lists of keybaord shortcuts exist so that people can find the ones that work for them and use them. Just because most people don't do it doesn't make it a hack.

My favorite keyboard shortcut is Super/Windows key and spacebar switches keyboard languages. That's not a hack, though.

Closer to a "hack" is going into an android phone with ADB and disabling bloatware manually.

[-] mriswith@lemmy.world 10 points 2 weeks ago* (last edited 2 weeks ago)

Far from most used, but very handy: ctrl+win+shift+b

It restarts the graphic subsystem, which can help recover from situations where game crashes or similar cause visual issues.

load more comments (1 replies)
[-] pleasestopasking@reddthat.com 9 points 2 weeks ago* (last edited 2 weeks ago)

Custom autocompletes/corrects. Just figure out a non-word (i.e. something that you wouldn't want to use without autocorrecting) that's easy to remember and set it up frequently used snippets of text. Some examples:

  • meetnow - my zoom meeting link
  • booktime - a link to my calendly
  • frequent sentences or blurbs I use in emails (e.g. thanks so much, let me know if i can help with anything else sorta stuff)
  • nicknames for different frequently used hex codes
  • galert/yalert/redalert populate a styled HTML snippet to make a green, yellow, or red div that I can then just pop my content into
  • lots of other little HTML snippets like that
  • group nicknames to populate a list of email addresses (like an Outlook contacts group but you can use it outside of Outlook)

Anyway there are a ton of things I use it for, those are just a few examples. Saves me a lot of time.

You can do this on Macs at a system level, on Windows you can do it on some programs but it seems to have to be set up on each one which is worthless.

load more comments (1 replies)
[-] pocker_machine@lemmy.world 8 points 1 week ago* (last edited 1 week ago)

I was surprised that many people didn’t know this magical ✨ shortcut

Ctrl + Shift + t
Cmd + Shift + t

If you accidentally closed a tab in a browser, it will reopen it. Most browsers also lets you open closed tabs one after the other.

It is easy to remember to since it is just a shift away from new tab shortcut

Ctrl + t
Cmd + t
[-] glibg@lemmy.ca 8 points 2 weeks ago

Win + E to open a file browser window

[-] AusatKeyboardPremi@lemmy.world 8 points 1 week ago* (last edited 1 week ago)

Safe: Use text expansion for trivial yet long texts like your emails, addresses, etc. to almost eliminate errors in those texts. Espanso is something I use on Linux Mint, while macOS supports text expansion natively. I am yet to find something that fills the gap on NetBSD, but I almost exclusively use emacs on those machines, which has native support for snippets.

Unsafe: Remove USB drive without ejecting it. :P

Contrived yet neat: With special software (BetterTouchTool on macOS) or keyboard firmware (QMK and ZMK, which is what I use), one can use Spacebar as a layer key (SpaceFn, as it makes Spacebar behave as a Fn key) to unlock neat shortcuts like navigating using HJKL, add macros, remap hard to reach keys on to the home row, etc. There are other things that can be done such as one-shot modifiers which make typing less straining.

P.S. The snark in the comments here is surprising. Everyone starts somewhere. Let us be welcoming.

[-] AceFuzzLord@lemmy.zip 7 points 1 week ago

As a basic Linux user, I have a shell script to do all my updating, upgrading, removing of unneeded packages, etcetera. Under no circumstances is it all that advanced, just a string of simple enough apt and flatpak commands.

I also recently figured out that god knows how long ago that I set an alias to run it that's only 3 keyboard clicks instead of 5, saving basically less than a second. So not that useful, but still good to know... until I inevitably forget about it again.

[-] MidsizedSedan@lemmy.world 7 points 2 weeks ago

Wait until you learn about vim keybindings. Instead of moving your hand to the arrow keys, you can stay on the homerow and movie up down left right from there.

load more comments (1 replies)
[-] Willdrick@lemmy.world 7 points 2 weeks ago* (last edited 2 weeks ago)

Recently had to help a relative who still uses windows, so here's a freebie from Linux:

You can use super + number to launch any pinned program on the taskbar. For example let's say you have your browser right of the start button and file explorer on the next spot right, pressing super+1 launches the browser and super+2 the explorer

Edit: super = windows logo key

[-] PillowD@lemmy.world 7 points 2 weeks ago

Linux. Windows is used for Russian oligarchs.

Since people are expecting windows shortcut keys, I nominate TAB navigation. Hitting tab will cycle the focus through all the buttons and edit boxes. Shift Tab to go backwards.

[-] phonics@lemmy.world 6 points 2 weeks ago

Shift + del: skips the trash and actually deletes things

load more comments
view more: next ›
this post was submitted on 04 Jul 2025
209 points (100.0% liked)

Ask Lemmy

33413 readers
1956 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS