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.
Nobody tell this man about vim
That’s so cool/clever.
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
They tought us on typewriters in the 90s. Wait until you hear about how I changed an ink ribbon, son.
I miss crunchy keyboards that fought you every time you hit the carriage return. These modern ones all feel weak and listless to me.
They taught us on ink pens in the 1700s. Wait until you hear about how I etched on slate tablets.
tought
taught? Is spell-check your next epiphany?
deleted by creator
Doent bee a dik, hoss.
Works with backspace and delete too!
pro tip: press backspace to delete the last letter you wrot
r delete to delete the next letter
I’m with you but the snark is a bit much
I’m not being snarky, I’m just flabbergasted. because of the platform we’re on. itd be a lot less on a normie platform
Using the arrow keys for exactly what they’re made for isn’t a hack lol
Nobody tell OP about the Page Up and Page Down keys, their head might literally explode. (jk op).
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
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
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 !$
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.I’ve seen posts suggesting adding the following to your .bashrc:
alias fuck='sudo $(history -p \!\!)'
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.cd -… Wow, I can’t believe I never knew about this. I should read more man pages.
!! Is useful too, never knew. Thanks!
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
That’s shell dependent, though. It’s bash and some others, but definitely not all of them.
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.
Windows+L every time I leave my desk.
That’s not even a life hack. That’s literally policy, at least where I work at :)
Not everyone knows the keyboard shortcut though. I bet you can find people hunting for it using the mouse every time.
How can people not use shortcuts? If that shortcut wouldn’t exist, I would create it using Autohotkey
None of these comments are life hacks. When did using a documented feature built into your software become a hack?
⌃⌘Q for those of us on MacBooks
No. What the fuck
If anyone left their computer unlocked at my old job, the entire office was getting an email about how much you love Justin Bieber
And so easy to remember: windows L, sicher und schnell!
and win+x > up up right down enter, every night
With open shell to replace the start menu:
Windows - > right right enter for shutdown.
Wibdows - > right right up up enter for hybernate
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.
Using ublock origin picker to remove everything useless. Like, Youtube suggestions, everything but download button on ddl websites, useless footers/headers on news, etc…
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.
Why have I not been doing this?! Just removed the “2 years old” .world banner.
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.
-
Get a Windows recovery USB.
-
Boot into the recovery menu and open the command prompt.
-
Navagate to system32 and make a copy of the cmd.exe file (for a backup)
-
Copy the sticky_keys.exe and have it overwrite cmd.exe, then reboot.
-
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.
-
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)
That… Seems like a pretty massive vulnerability. Like obviously that can be locked down by each user or administrator, but still…
Does bitlocker solve this issue?
Yes, it does. Only affects unencrypted systems.
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.
Not having the disk encrypted is the same as writing the password on the frame of the screen.
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).
This seems like a lot of work to bypass a password on an unencrypted drive. You can access all the files using a bootable Linux drive.
They are already using the Windows recovery disk. This is not about accessing the disk, but to access the OS with admin rights.
I just boot in to a linux iso to use chntpw and reset passwords
I used to use a boot CD with a password eraser. I think the last time I used it was win 7 though
deleted by creator
-
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.
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.
Showed a coworker that while he was training me.
“OK, right-click on that and…”
<center click>
puzzled
"OK, right-click…
<center click>
Unless the page uses shitty “link” implementation where buttons are use instead of actual anchor tags. Fucking SPAs…
Or ctrl-/command-click!
Very recently, I have adopted Shift+LMBclick to open a link in a new browser window.
I use this primarily for accessing one link in favorites bar.
I would love to figure out a non-extension way (curse you, draconian IT policy!) to set this behavior in the favorite/bookmark…
click using the mouse wheel
‘middle click’
Also Ctrl+Shift+T restores recently closed tabs in the order they were closed
It can also restore your whole session if you accidentally closed a window with multiple tabs open
You can also middle click on a tab to close it! Also, middle clicking stuff pinned to your taskbar like the file explorer or your browser opens up a new window of it.
Wow, this I didn’t know! Thanks friend!
there’s a extension to do this with the right click button instead too
Oh I love this one too, probably one of my most used.
Learn vim keybindings.
Learn hotkeys for every program you have and learn to navigate between programs without the mouse.
Stop using the computer and go outside sometimes
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
F6 - goto and highlight the URL bar in a browser
ctrl + F5 - clear cache and reload the tab
F11 - super full screen browser
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).
-