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
    15
    ·
    9 days 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
      9
      ·
      9 days 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
        7
        ·
        9 days 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
      3
      ·
      edit-2
      8 days 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
      1
      ·
      8 days 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

  • Bahnd Rollard@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    9 days 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
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 days 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
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        8 days 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.

        • Züri@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          8 days ago

          Not having the disk encrypted is the same as writing the password on the frame of the screen.

          • Bahnd Rollard@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            8 days ago

            Exactly, bitlocker or disk encryption prevents this from working and because you need some means of editing the file system outside of the user permissions, also physical access is required. At this point your are pretty much authorized to unplug the box and walk out of there with it (even if your not supposed to).

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    9
    ·
    9 days 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
      5
      ·
      edit-2
      9 days 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
      1
      ·
      8 days 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).

  • Bitflip@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    8 days ago

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

    • hornywarthogfart@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 days ago

      This is a huge one for me. For those who don’t know, this brings up the rev-i-search utility which allows cycling from most recent to oldest commands executed. It also supports partial finds so if you did ‘cd’ it would cycle the most recent change directory commands.

      The forward search (in case you’re somewhere in the history stack) is ctrl+s and operates the same except crawls the command history forwards.

      I use these constantly in my normal workflow and they save a ton of time.

      • Mr. Satan@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        8 days ago

        I use zsh autosuggestion and syntax highlighting plugins it gives me usable history search and completion functionality.

  • Randomocity@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 days 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.

  • hansolo@lemmy.today
    link
    fedilink
    arrow-up
    6
    ·
    9 days 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.

  • Cousin Mose@lemmy.hogru.ch
    link
    fedilink
    arrow-up
    5
    ·
    8 days 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.

      • Cousin Mose@lemmy.hogru.ch
        link
        fedilink
        arrow-up
        1
        ·
        7 days ago

        Mainly to keep my end devices appearing to connect to a VPN in the same country. I usually do that especially when I travel to other countries that seem to block WireGuard leaving their borders.

        I suppose if I had fiber at home I’d do it all there but cable internet’s slow 30 Mbps upload speed along with constant power outages make it a no-go.

  • some_guy@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 days ago

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

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

  • pleasestopasking@reddthat.com
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    9 days 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.

    • 200ok@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      8 days ago

      That’s so smart!

      I set up autocompletes for my phone number (and a few other personal links) but these are amazing… thanks for sharing

  • BlameThePeacock@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 days ago

    The Multiple desktops feature is critical for me. It allows you to use one computer for multiple functional concepts simultaneously without visually interfering with each other or constantly needing to close and re-open things. It’s available in both windows and linux (which had it first) for a long time now.

    I keep my personal stuff on one desktop, I keep my work stuff on a second desktop, and I keep my gaming stuff on a third desktop. Then I just flip between them based on what I’m currently doing.

    That way I’m not getting things confused with each other, or distracted by something personal while I’m working.

    Ctrl+Windows+Left/Right for Windows is the shortcut to flip back and forth between them. Or you can also see it on the Windows+Tab menu as well (along the bottom below the apps)

    The only downside to this is that you need more RAM than normal, because it’s not uncommon for me to have dozens (sometimes north of 100) of browser tabs, and a half dozen applications from office to video games open simultaneously between the different desktops. I would suggest running 32gb at a minimum, and 64gb is a lot better.

    • BingBong@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      8 days ago

      I’ve found the windows one sorely lacking. As I recall all windows of a specific program have to be on a single desktop. This causes issues if you are working on multiple word docs, browser windows, or even just want access to email in both desktops. AFAIK there isn’t a work around to this. Am I out of the loop on a nice windows feature?

      • BlameThePeacock@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 days ago

        You must be out of the loop, I have different browser tabs and excel files up on different desktops right now.

        Sometimes if you need to start a new file it will swap you around, but you can always immediately move it wherever you want.