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.

  • hansolo@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    51 minutes 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.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    Expanding on yours, Shift + Home and Shift + End to select from the cursor to the beginning or end of the line.

  • AusatKeyboardPremi@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 hours 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.

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 hours ago

    Yeah I do a lot of keyboard shortcuts. My computer career started before I even had a mouse, it was all keyboard editing. Doesn’t bother me a bit to leave the mouse just sitting there. In fact after typing a comment here I just tab to the Post button and hit Enter.

  • Kissaki@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 hours ago

    I don’t consider them hacks. They’re tooling and intended use. Even if most people don’t know them. They were designed deliberately.

    Using keyboard input is not a clever misuse of unintended functionality. It’s intended design.

    I hack websites through browser extensions. Adblocker, css inject, platform extensions. But even that is only hacking in the context of the original content. As a product it’s its intended purpose. So I wouldn’t call it life hack.


    Mouse gestures, keyboard key combinations, alt access, alt keypad character input, YouTube Sponsorblock, adblock, search bookmarks are - I guess - my most used.

  • 0xD@infosec.pub
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    With Shift + Pos1 or End you can mark text from cursor until beginning or end of line! I use that often.

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

      So ctrl shift left or right will highlight full words not just the next character. This stops when it hits a space

  • AceFuzzLord@lemmy.zip
    link
    fedilink
    arrow-up
    6
    ·
    7 hours 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.

      • AceFuzzLord@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        5 hours ago

        As someone who has only been using Linux for a few years ( >5 ), yeah I do.

        Definitely know what cron/cronning is, but I’ll definitely have to look up what yum-cronning is.

        Edit:

        I’m an idiot and correct in my thinking that yum was referring to the yum package management thing, which I don’t use on my system. Sounds cool, though. Might look into automating my setup, but it’s become such a routine for me to run the script I’m not sure if I could easily switch.

    • Jarix@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours 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

  • momentary@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    6 hours ago

    I’m a web dev and one “hack” I use all the time is bookmarklets. In Chrome @bookmarks let’s you search your bookmarks, so I use this to fire off different scripts to do different things. Most are for debugging and the like. I have my hotkeys setup where ctrl + q puts focus on the omnibar so I can start typing, and then I use @books marks to search for whatever I need. A lot of the bookmarklets just append the current url to some other site like page speed insights or pure.md. I find this saves me a ton of time. Also the duplicate this tab hotkey, I use that all day every day.

  • TimewornTraveler@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    28
    arrow-down
    3
    ·
    edit-2
    13 hours 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

  • PillowD@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    9 hours 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.

  • Jankatarch@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    7 hours ago

    Cutting and pasting a folder is faster than copying and pasting.
    OS just gotta add an inode in first case.

  • Imhotep@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    11 hours ago

    (Linux)

    Add the same symbol at the beginning of most aliases. I use é

    So when I type é+tab I get all my aliases

    é+first letters of alias+tab and I’m sure autocomplete will select the alias and not another command