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.

  • moe93@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    52
    ·
    2 months 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
      link
      fedilink
      arrow-up
      19
      ·
      2 months 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
        link
        fedilink
        arrow-up
        17
        ·
        2 months ago

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

        alias fuck='sudo $(history -p \!\!)'
        
    • hornywarthogfart@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      2 months 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.

    • Luc@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      Not sure if you’re aware that tac is not a typo but reverse cat, as in, it works like cat but prints the last line first. I use this semi-regularly

      sl, now, that’s a typo. Nobody wants a free choo choo

    • macniel@feddit.org
      link
      fedilink
      arrow-up
      26
      ·
      2 months ago

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

      • davidgro@lemmy.world
        link
        fedilink
        arrow-up
        12
        ·
        2 months ago

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

        • Rusty@lemmy.ca
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 months ago

          How can people not use shortcuts? If that shortcut wouldn’t exist, I would create it using Autohotkey

        • rudyharrelson@lemmy.radio
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          At my old job (tech support), I watched a new hire once highlight text, right click for the context menu, and click “copy”. And then right-click to hit “paste”. Every time. They didn’t know a single shortcut for anything. It was maddening to watch.

          I gave em a lot of help because they were clearly not particularly tech savvy, but it made me wonder how the hell they got through the interview process with such a limited skillset.

      • spittingimage@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        None of these comments are life hacks. When did using a documented feature built into your software become a hack?

      • Szyler@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        With open shell to replace the start menu:

        Windows - > right right enter for shutdown.

        Wibdows - > right right up up enter for hybernate

    • shplane@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      If anyone left their computer unlocked at my old job, the entire office was getting an email about how much you love Justin Bieber

  • TimewornTraveler@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    33
    arrow-down
    2
    ·
    edit-2
    2 months 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

  • Bahnd Rollard@lemmy.world
    cake
    link
    fedilink
    arrow-up
    30
    ·
    2 months 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)

    • Jarix@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      True. But also if you are going to use arrow keys to navigate you will want to also know where your scroll lock key is because it’s almost useless unless you use arrow key navigation

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    22
    ·
    2 months 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
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      2 months ago

      F6 - goto and highlight the URL bar in a browser

      ctrl + F5 - clear cache and reload the tab

      F11 - super full screen browser

    • Akasazh@feddit.nl
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      I’ll add some mouse ones: if you have thumb buttons they are next/previous page.

      Mouse wheel down clicking on a link opens it in a new tab.

      Mouse wheel down clicking on a tab label closes the tab (no need to hunt for the little x).

  • zxqwas@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    2 months ago

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

  • JamonBear@sh.itjust.works
    link
    fedilink
    arrow-up
    17
    ·
    2 months 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
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 months 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.

    • shalafi@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 months ago

      Why have I not been doing this?! Just removed the “2 years old” .world banner.

  • jaschen306@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    2 months 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.

  • hansolo@lemmy.today
    link
    fedilink
    arrow-up
    16
    arrow-down
    2
    ·
    2 months 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.

    • TimewornTraveler@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      ·
      2 months ago

      I’m kinda mind blown that this is even considered a tip. isn’t this just basic functionality of a text box???

      it’s shit like this that makes me think I do know tech a little bit, until i stumble on an actual tech community and feel like I know nothing

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 months ago

        For real, I remember when Solitaire was added to Windows to teach people how to use a mouse. It wasn’t just some fun little thing they added on a whim. The goal was to provide an entertaining way for users to naturally learn mouse controls like clicking and dragging.

        Before then, you had to use the keyboard to navigate text, because you literally didn’t have a mouse.

  • Drekaridill@feddit.is
    link
    fedilink
    arrow-up
    13
    ·
    2 months 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
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      2 months 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.