@@lawliot The idea is that you first hit home so it's always at the beginning of the line no matter what, and then you do Shift+End so it selects it all.
I usually have 3 places I check for startup. 1. shell:startup 2. shell:common startup 3. Windows Registry: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
shift home : selects from cursor to start of the line shift end : selects from cursor to end of line end : takes you to the end of the line home : takes you to the start of the line ctrl shift home : selects till the start of document ctrl shift end : selects till end of documents ctrl home / ctrl end : moves you to the start or end of document if the keys are in uncomfortable places just use autoHotKey to relocate them
It is so relaxing listening to your chill staying voice, even if something won't want to work. You manage to make the most boring topics enjoyable to watch, keep it up
You have become my favorite channel on RUclips so fast. I'm always digging ways to create shortcuts and finding new tools to make the work flow easier. You are the place to come. YOU THE MAN!
Shift + Home selects the entire line from right to left, and Shift + End selects the entire line from left to right in any software on Windows with default keyboard settings. You can use most keyboard shortcuts in Windows with slightly different combinations, but this requires a full-sized (100%) keyboard, not a 60% keyboard.
He is doing the journey right, first Hyprland and now AutoHotkey, has some decent vim skills, next time he will write his scripts blazingly fast in vim.
I just wanna say. I started watching you after the windows app iceberg video (very nice video btw) and have stuck ever since. Love ur videos, they are all very interesting and kinda relatable too cause I was trying Linux right as u started
Dude, you are a LIFESAVER. I saw this in your Davinci Resolve video and i always wondered how to work it. P.S: you can type shell:startup into the run window to get to the startup folder faster
what you are looking for is ctrl + shift + left/right arrow keys indeed, and then if you want your cursor to teleport to the end of the sentence you just press right_arrow after selecting, or left_arrow for the opposite effect
Home moves the cursor to the beginning of the line and end send the cursor to the end of the line. holding shift while moving the cursor (by using arrow keys or the home and end keys or by clicking your mb1) selects whatever is in between your cursor's current position and where you are sending the cursor to
Selecting a line? Isn’t it just Shift + Home though? From the end of the line, of course, it would work in reverse obviously. So (in AHK v1) !Right::Send, {End}+{Home} works like a charm
Bog my dude, what you need is Vim 😅 1. 2:17 "how do you select a whole line" Vim equivalent shortcut: Shift + v (then you can use jk or up, down arrow keys to continue selecting more lines of text) 2. 4:00 "i want to select an entire line and then delete it" Vim equivalent shortcut: dd (dd just deletes the current line, you can even do "d, 5, down arrow key" in that order and it will delete 5 lines below including the current line etc) 3. 4:20 "i want to be able to jump to the beginning of a line" Vim equivalent shortcut: Shift + i (this is will move the cursor to the beginning of the line and puts you into insert mode, insert mode is the mode in vim where you can just type text, in the normal mode, every key is a shortcut ) Shift + a will jump to the end of the line and jump into insert mode as well, if you wanted to add something to the end of the line easily there's soo many fucking keybindings in vim to do interesting things that i can really comment it all out, will take ages, and i dont even know all of em either haha (skill issue moment, i know) some of my favourites are o : just jumps into a new line, like enter key, but your cursor dont need to be at the end of the line O : same shit as o, but creates a new line above the current line. like Enter but its above the current line instead of below gg and G: goes to the top and bottom line of the whole file, so gg will jump me into line 1, and G will jump me into the last line .(fullstop key): this will repeat whatever action you just did before. If you did some complex shortcut just now, and you went down a few lines and saw that you had to do that same thing again, then you can just hit fullstop key instead. Ctrl v: which is like shift v but instead of selecting the whole line, only selects the the charecter thats highlighted by the cursor, and you have use hl or left and right arrow keys to select charecters, but when you hit up or down arrow key, instead of selecting the whole line like on windows, it will only select the charecter thats in that location, eg: say theres a line and your cursor is on a letter B, and just above it , on the previous line, there's another letter C. if i do ctrl v and then up, it wil select both B and C, which i can then use other shortcuts to edit, delete etc. A practical eg would be, say there's a few line of code youre working on, and you want to comment them out. i hit ^ to go to the beginning of the line (same as shift i but i dont get jumped into insert mode yet), then i hit ctrl v which jumps me into visual block mode, and i hit down arrow key a few times and selects the lines i want to comment out, then i hit shift i to get into insert mode, type # to comment that line, then hit escape and all those lines that i selected will have a # in front of it. this can be further simplified by writing a custom macro just for it ci: this is a bit complex one, lets take ci" as an example. c is for changing a charecter, i here means 'in' " means the "" thats in the line you are in. So, say you have a line where you have a text "this is a text" with those quotes, and you want to change them to something else, you can just move your cursor to any charecter within that "" and type ci" and it will remove all text within the quotes but the qoutes will still exit, and you will be in insert mode between the 2 quotes, ci" means change in "", similarly there's ca" for change around "" and that will do exactly like ci" but will also remove the quotes.
Just so you know CTRL + triple click selects the whole line of text on windows, also double click selects the word closest to your cursor. I use it all the time.
To delete the entire line I usually do Ctrl+X, the only downside is it overrides what’s in the clipboard. What you can do is to enable clipboard history (Win + V), and use Win + V to paste something.
It's so fun seeing people learn AHK, it's a pretty nifty little language =P I really recommend a proper IDE though, vscode is really nice once you install the AHK extension. Also you can assign Reload to a hotkey 'f9::Reload' which helps a lot when prototyping.
please get a full size keyboard, a num pad is hella useful especially for when you need tons of shortcuts. you could also get a TKL (full size keyboard with no numpad) and get a external one to put on the left, or get no numpad it’s up to you also, use a code editor for AHK (VS Code) and use a plugin or extension to get intellisense (like autocorrect for code). makes life easier!
Back in the days, in ~2007 me and my friends used AHK to automate Lineage2 (MMOrpg game) process, for auto CP potions spam, and it was auto activated on color change in hp bar, or to launch macro from another window, just for that we had to launch them on sandbox. :)
In vscode you can cut/copy a line by putting your cursor on the line and just pressing ctrl x, or ctrl c, to cut or copy the whole line. Make sure to not select anything beforehand.
Amazing video as always! I love how patient you always are, spending hours trying to find information. I appreciate you trying to learn all of these yourself, but in 2024 it's just faster to make ChatGPT write AHK scripts for you. (It should also be good at configuring vim if you're considering it.)
Your issue is that on your keyboard you have to hold FN to make home and end work. It's much easier on tenkeyless or full size keyboards (since it has home and end keys).
5:30 you need to have the wildcard (*) operator to accept it with different key combos like shift. Overall you pretty much nailed it! Note that this wil disable all of their native functions
great work, also windows power toys from microsoft can do custom shortcuts too btw, this way you don't have to use a 3rd party app and the interface is way better.
With your keyboard being programmable you could probably do some of this by setting key combos in they keyboard editor gui. Though it was worth it to do it this way just for the experience. Nice.
7:45 literally you could in startup apps show "command line" column which will show location from where it starts and does it have special command for launch (uwp apps don't show anything) Edit: Yeah, it's really great (personally use for closing apps in tray when they startup on boot). If you want you can compile as an exe instead of being script.
you DO NOT need home and end keys: although ctrl + left/right only jumps one word at a time ctrl + up/down arrows jumps the entire line at a time, just like what you are looking for combine ctrl + up/down with shift, to select the entire line and finally, if the entire line is SELECTED, and you want your cursor to teleport to the end of the line OR the beginning of it, you can (while the line is selected) just press right or left arrow accordingly try it out
I downloaded something called keyboard manager. Allows you to remap your keys / shortcuts. I’m a Mac user at home but work is windows ofc. Remapped everything to where it works like a Mac does. Alt-shift-left highlights the whole line to the left etc etc
There is also a DVORAK layout called CTRL+QWERTY which reverts the keys to the QWERTY layout when the control key is pressed to fix common shortcuts. With MKLC, it could probably be adapted to work with Alt shortcuts as well.
First problem solution to highlighting the entire sentence: hold click and drag your mouse across the parts you want to highlight. Or, shift key plus up arrow key.
my Home and End buttons are literally Fn+Left and Fn+Right, and Page Up & Page Down are Fn+Up and Fn+Down, you should change the keyboard (lmao) or map key in this way, it totally makes sence
You're so close to discovering vim
next video: The Vim experience
Bog please use neovim if you want to use vim 😮
We're in 2024 he should just try neovim or helix
@@Ozzy_Axil I'm excited now
Shift+v
1. press HOME to move the cursor to the start of the line
2. press SHIFT + END to highlight the entire line
thank you!!
if the cursor is at the end of the line, pressing shift + home selects the entire line
or END then SHIFT+HOME
@@scattagain yeah, autohotkey is still useful if the home/end button is inconveniently placed on your keyboard
@@lawliot The idea is that you first hit home so it's always at the beginning of the line no matter what, and then you do Shift+End so it selects it all.
Win + R
shell:startup
Opens the startup folder
I usually have 3 places I check for startup.
1. shell:startup
2. shell:common startup
3. Windows Registry: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
@@TheAgentOfMakwhere is that regkey? HKLM? HKCU? or where
@@System3200 HKCU
@@System3200 I would guess HKEYCurrentUser because I think startup items are different from user to user but I might be wrong, maybe just try both lol
@@System3200 i think both have one, just like the two shell ones one is per user one is global
your videos are the most accurate description of ✨problem solving✨
AND. I. FUCKING. LOVEIT.
shift home : selects from cursor to start of the line
shift end : selects from cursor to end of line
end : takes you to the end of the line
home : takes you to the start of the line
ctrl shift home : selects till the start of document
ctrl shift end : selects till end of documents
ctrl home / ctrl end : moves you to the start or end of document
if the keys are in uncomfortable places just use autoHotKey to relocate them
The LTT Sponsor is crazy
real lol it took me off guard
had to look twice at the channel name
@@cpxcth fr
@@cpxcthalmost died of laughter
Your videos have been helpful for learning things I didn’t think I needed to know, but now that I have them in my brain, it feels great
lol the “if you’ve played Minecraft you’ve been here multiple times” I felt that lol
Bro is missing Home and End keys on his keyboard.
I have them but tbh I'm not used to my hand reaching that corner of the keyboard
@@morphious86.laptop keyboards be like
anyway, on full sized keyboards they are much easier to access
That's why you use AHK to set custom keys to access home and end easier.
1 step away from vim
he's 2 steps ahead 💀
@@darukutsunah
Nice prediction
(Neo)Vim: look what they need to a fraction of our power
real and true
@@yarrakobama3417 use the home/end keys
love the dd
The hell is that
Mimick
Literally any video made by you is awesome.
Even I can watch washing dishes by Bog.
It is so relaxing listening to your chill staying voice, even if something won't want to work. You manage to make the most boring topics enjoyable to watch, keep it up
You have become my favorite channel on RUclips so fast. I'm always digging ways to create shortcuts and finding new tools to make the work flow easier. You are the place to come.
YOU THE MAN!
if you want to delete/select whole line then > home > shift + end (> delete or backspace, both work)
ikr so easy
Bog's channel really feels like premium youtube
8:14 "If you played minecraft you've been here multiple times" got me dying
same lol 😂
Shift + Home selects the entire line from right to left, and Shift + End selects the entire line from left to right in any software on Windows with default keyboard settings. You can use most keyboard shortcuts in Windows with slightly different combinations, but this requires a full-sized (100%) keyboard, not a 60% keyboard.
Yeah, its quite a basic shortcut but as he is coming from different os, customizing is the best way to go.
@@shivanshsaini1 but its not a sustainable solution it is just a temporary contraption.m
@@nonesubham nah. I feel like its a sustainable solution. Customizing stuff to your workflow style will ultimately boost productivity.
Almost all 60% keyboards come with these keys in the FN layer or it can be easily configured
@@Jj82op but requires extra combinations too
Omg i LOVE autohotkey!!!! Im so glad you're covering it. Not enough people know if it
7:39 For your convinience, " Shell:Startup: "
Thanks dude
Waiting for "The Neovim experience"
or use Ctrl+Shift to select multiple lines, or Shift+End/Home to select a whole line (not control or it'll do the whole document)
Seeing consistency from my new favorite youtuber makes me so happy! Keep up the awesome videos!!
love how bog managed to rickroll everyone and most people
wont even notice/read the text he's messing around with
All bro had to do is hit Shift+Home while at the end or Shift+End while at the beginning, does the same thing
Well atleast these keybinds are more convenient and he learned something along the way.
Auto Hotkey is very helpful at times when it is needed but sometimes it is annoying, But great video bro.
You know it's a good video when you can watch it with out even using the OS. :3
He is doing the journey right, first Hyprland and now AutoHotkey, has some decent vim skills, next time he will write his scripts blazingly fast in vim.
Definitely next step i3 Rice custom dotfiles 😅
i never knew about autohotkeys, and i never knew ctrl + shift + up selected the whole line, you've opened my eyes today bro
ok nvm, just tried autohotkey, it sucks, my computer froze whenever i pressed spave, and i didn't have any shortcuts for space
12:06 the Spy has already breached our defences!
I just wanna say. I started watching you after the windows app iceberg video (very nice video btw) and have stuck ever since. Love ur videos, they are all very interesting and kinda relatable too cause I was trying Linux right as u started
I installed this app, around an hour ago and now I see your video. Thanks for telling me the basics of using it
Bog you're the best content creator, every video that you make teaches me a new thing
Dude, you are a LIFESAVER. I saw this in your Davinci Resolve video and i always wondered how to work it.
P.S: you can type shell:startup into the run window to get to the startup folder faster
Every time I switch from Linux, I miss the Meta/Alt + left click and Meta/Alt + right click functionality to move windows and resize windows.
4:00 The realization 😭
Broo
- doesn't know how to do it
- tries to do it (without thinking)
- actually does it
- *realisation* 👁👄👁
FINALLY, some peace to my mind, i've been waiting for a video of BOG after i saw the last video
what you are looking for is
ctrl + shift + left/right arrow keys indeed, and then if you want your cursor to teleport to the end of the sentence you just press right_arrow after selecting, or left_arrow for the opposite effect
Home moves the cursor to the beginning of the line and end send the cursor to the end of the line. holding shift while moving the cursor (by using arrow keys or the home and end keys or by clicking your mb1) selects whatever is in between your cursor's current position and where you are sending the cursor to
Selecting a line? Isn’t it just Shift + Home though? From the end of the line, of course, it would work in reverse obviously.
So (in AHK v1)
!Right::Send, {End}+{Home}
works like a charm
I love you bog i always find something useful in your videos that i have to come back to see how to do it😂❤
I WAS JUST USING AHK FOR THE FIRST TIME IN MONTHS LIKE AN HOUR BEFORE THIS WAS POSTED YOU ARE STALKING ME AAAAAAAAAAAAAAAAAA
11:33 Linux would never.
Bog my dude, what you need is Vim 😅
1. 2:17 "how do you select a whole line"
Vim equivalent shortcut: Shift + v (then you can use jk or up, down arrow keys to continue selecting more lines of text)
2. 4:00 "i want to select an entire line and then delete it"
Vim equivalent shortcut: dd (dd just deletes the current line, you can even do "d, 5, down arrow key" in that order and it will delete 5 lines below including the current line etc)
3. 4:20 "i want to be able to jump to the beginning of a line"
Vim equivalent shortcut: Shift + i (this is will move the cursor to the beginning of the line and puts you into insert mode, insert mode is the mode in vim where you can just type text, in the normal mode, every key is a shortcut )
Shift + a will jump to the end of the line and jump into insert mode as well, if you wanted to add something to the end of the line easily
there's soo many fucking keybindings in vim to do interesting things that i can really comment it all out, will take ages, and i dont even know all of em either haha (skill issue moment, i know)
some of my favourites are
o : just jumps into a new line, like enter key, but your cursor dont need to be at the end of the line
O : same shit as o, but creates a new line above the current line. like Enter but its above the current line instead of below
gg and G: goes to the top and bottom line of the whole file, so gg will jump me into line 1, and G will jump me into the last line
.(fullstop key): this will repeat whatever action you just did before. If you did some complex shortcut just now, and you went down a few lines and saw that you had to do that same thing again, then you can just hit fullstop key instead.
Ctrl v: which is like shift v but instead of selecting the whole line, only selects the the charecter thats highlighted by the cursor, and you have use hl or left and right arrow keys to select charecters, but when you hit up or down arrow key, instead of selecting the whole line like on windows, it will only select the charecter thats in that location, eg: say theres a line and your cursor is on a letter B, and just above it , on the previous line, there's another letter C. if i do ctrl v and then up, it wil select both B and C, which i can then use other shortcuts to edit, delete etc. A practical eg would be, say there's a few line of code youre working on, and you want to comment them out. i hit ^ to go to the beginning of the line (same as shift i but i dont get jumped into insert mode yet), then i hit ctrl v which jumps me into visual block mode, and i hit down arrow key a few times and selects the lines i want to comment out, then i hit shift i to get into insert mode, type # to comment that line, then hit escape and all those lines that i selected will have a # in front of it. this can be further simplified by writing a custom macro just for it
ci: this is a bit complex one, lets take ci" as an example. c is for changing a charecter, i here means 'in' " means the "" thats in the line you are in. So, say you have a line where you have a text "this is a text" with those quotes, and you want to change them to something else, you can just move your cursor to any charecter within that "" and type ci" and it will remove all text within the quotes but the qoutes will still exit, and you will be in insert mode between the 2 quotes, ci" means change in "", similarly there's ca" for change around "" and that will do exactly like ci" but will also remove the quotes.
last one ci, da... etc are wordmotions. recommend checking
@@darukutsu yes. really cool shit.
also, say hello to okabe for me, ye?
You were so right about %appdata% and minecraft gamers!))
Watching the video from end to start makes more sense
Just so you know CTRL + triple click selects the whole line of text on windows, also double click selects the word closest to your cursor. I use it all the time.
3:15 Lol you searched so much that Google thought you are a bot
To delete the entire line I usually do Ctrl+X, the only downside is it overrides what’s in the clipboard.
What you can do is to enable clipboard history (Win + V), and use Win + V to paste something.
It's so fun seeing people learn AHK, it's a pretty nifty little language =P
I really recommend a proper IDE though, vscode is really nice once you install the AHK extension. Also you can assign Reload to a hotkey 'f9::Reload' which helps a lot when prototyping.
i'm so much thankful you mad this video i recently stumble upon a problem and now i'm watching this video again
bro i actually clicked off at the from our sponsor thing but then i heard just kidding while it was switching to home screen lmao
When you watch Bog instead of him bogging your mind , It actually clears it…
Another viddeo by Bog, we love it!!!
please get a full size keyboard, a num pad is hella useful especially for when you need tons of shortcuts. you could also get a TKL (full size keyboard with no numpad) and get a external one to put on the left, or get no numpad it’s up to you
also, use a code editor for AHK (VS Code) and use a plugin or extension to get intellisense (like autocorrect for code). makes life easier!
Back in the days, in ~2007 me and my friends used AHK to automate Lineage2 (MMOrpg game) process, for auto CP potions spam, and it was auto activated on color change in hp bar, or to launch macro from another window, just for that we had to launch them on sandbox. :)
on windows you can double click to select a word, or triple click to select a line
When making key remaps, you don't actually need to include `Send()` - For example, to map Alt+Right to Home, you can use `!Right::Home`
Damn that line mover thing is amazing, thanks for the finding bro 1:36
My fight or flight kicked in when i saw that sponsor jumpscare
I feel like a tech god when I watch people use auto hotkey without notepad++
Just watching this video made me understand how AutoHotkey works (I never used it before and now I already have multiple scripts running)
You should do a video where you show us all the plugins and utilities you use to make your Windows look better.
0:09 had me in the first half.
0:26 Dude, try shift + arrow ⬆️
Edit: nvm you already figure it out at 3:32
In vscode you can cut/copy a line by putting your cursor on the line and just pressing ctrl x, or ctrl c, to cut or copy the whole line. Make sure to not select anything beforehand.
"If you've played minecraft, you've been here multiple times."
-Bog
man is edging the vim community
"If you played minecraft, you've been here many times before" true legend yo
Im a normal man
I see bog posts a video
I get happy
The biggest thing I miss switching to a Mac is AutoHotkey. The second biggest thing are Alt-menu walkthrough shortcuts.
Tip: you can also open the Startup folder in Windows by typing shell:startup in the Run window (Win+R)
Amazing video as always! I love how patient you always are, spending hours trying to find information. I appreciate you trying to learn all of these yourself, but in 2024 it's just faster to make ChatGPT write AHK scripts for you. (It should also be good at configuring vim if you're considering it.)
This should really be a built in feature. It's definitely something I would have expected was in Windows, before watchin this video that is 😅
Ctrl + Shift + Arrow (up or down)
Selects a line up to the start/end of the next/previous one.
Your issue is that on your keyboard you have to hold FN to make home and end work. It's much easier on tenkeyless or full size keyboards (since it has home and end keys).
I love your videos. Thanks Bog. ❤
Wait until he learns he doesn't have to use notepad.
5:30 you need to have the wildcard (*) operator to accept it with different key combos like shift. Overall you pretty much nailed it! Note that this wil disable all of their native functions
WIN+R then shell:startup to get to the "startup" folder then proceed to make a desktop shortcut of it.
great work, also windows power toys from microsoft can do custom shortcuts too btw, this way you don't have to use a 3rd party app and the interface is way better.
With your keyboard being programmable you could probably do some of this by setting key combos in they keyboard editor gui. Though it was worth it to do it this way just for the experience. Nice.
7:45 literally you could in startup apps show "command line" column which will show location from where it starts and does it have special command for launch (uwp apps don't show anything)
Edit: Yeah, it's really great (personally use for closing apps in tray when they startup on boot). If you want you can compile as an exe instead of being script.
For those of us without Home/End keys, I think Shift + Fn + Right/Left Arrow - select entire line
You can hold ctrl+shift+ arrow up or down to select the enterity of the line...
This was so nice for using my keyboard as a boxx/smashbox controller.
you DO NOT need home and end keys:
although ctrl + left/right only jumps one word at a time
ctrl + up/down arrows jumps the entire line at a time, just like what you are looking for
combine ctrl + up/down with shift, to select the entire line
and finally, if the entire line is SELECTED, and you want your cursor to teleport to the end of the line OR the beginning of it, you can (while the line is selected) just press right or left arrow accordingly
try it out
I downloaded something called keyboard manager. Allows you to remap your keys / shortcuts.
I’m a Mac user at home but work is windows ofc.
Remapped everything to where it works like a Mac does. Alt-shift-left highlights the whole line to the left etc etc
what notepad app were you using in the beginning
im also interessed to know
AutoHotKey is pretty OP when writing in DVORAK and all Keyboard Shortcuts would be messed up...
There is also a DVORAK layout called CTRL+QWERTY which reverts the keys to the QWERTY layout when the control key is pressed to fix common shortcuts. With MKLC, it could probably be adapted to work with Alt shortcuts as well.
0:46 - you can just hold shift + home/end to select
First problem solution to highlighting the entire sentence: hold click and drag your mouse across the parts you want to highlight. Or, shift key plus up arrow key.
I use shift + home to select lines in vscode (default on windows 10 i think), the start of the video had me dying a little 😂 3:54
"stop reading my folder names" on the desktop🤣
Instead of the app data thing you can just type shell:startup in the run box to directly open the startup folder.
8:06 theres a short version of that directory thats just ”shell:startup”
"If you played minecraft you have been here multiple times" 😂😂
Has anyone noticed the folder name lol
my Home and End buttons are literally Fn+Left and Fn+Right, and Page Up & Page Down are Fn+Up and Fn+Down, you should change the keyboard (lmao) or map key in this way, it totally makes sence
fake pr ad got me 😭😭😭😭💀💀💀💀
0:30 imagine have to hold a button down on your keyboard to select a line of text