@@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
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.
You have become my favorite channel on TH-cam 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!
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
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
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.
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
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!
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.
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
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.
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.
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
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
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.
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. :)
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.
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).
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
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
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.)
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
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.
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.
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
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
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.
lol the “if you’ve played Minecraft you’ve been here multiple times” I felt that lol
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
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
8:14 "If you played minecraft you've been here multiple times" got me dying
same lol 😂
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
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
You have become my favorite channel on TH-cam 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!
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
Waiting for "The Neovim experience"
Omg i LOVE autohotkey!!!! Im so glad you're covering it. Not enough people know if it
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)
7:39 For your convinience, " Shell:Startup: "
Thanks dude
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.
12:06 the Spy has already breached our defences!
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
4:00 The realization 😭
Broo
- doesn't know how to do it
- tries to do it (without thinking)
- actually does it
- *realisation* 👁👄👁
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 😅
You were so right about %appdata% and minecraft gamers!))
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.
love how bog managed to rickroll everyone and most people
wont even notice/read the text he's messing around with
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
3:15 Lol you searched so much that Google thought you are a bot
Seeing consistency from my new favorite youtuber makes me so happy! Keep up the awesome videos!!
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!
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.
Auto Hotkey is very helpful at times when it is needed but sometimes it is annoying, But great video bro.
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
11:33 Linux would never.
on windows you can double click to select a word, or triple click to select a line
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
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.
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?
I installed this app, around an hour ago and now I see your video. Thanks for telling me the basics of using it
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`
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
"If you've played minecraft, you've been here multiple times."
-Bog
0:09 had me in the first half.
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
what notepad app were you using in the beginning
im also interessed to know
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…
I love you bog i always find something useful in your videos that i have to come back to see how to do it😂❤
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.
Bog you're the best content creator, every video that you make teaches me a new thing
Just watching this video made me understand how AutoHotkey works (I never used it before and now I already have multiple scripts running)
You can hold ctrl+shift+ arrow up or down to select the enterity of the line...
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. :)
i'm so much thankful you mad this video i recently stumble upon a problem and now i'm watching this video again
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.
Watching the video from end to start makes more sense
I WAS JUST USING AHK FOR THE FIRST TIME IN MONTHS LIKE AN HOUR BEFORE THIS WAS POSTED YOU ARE STALKING ME AAAAAAAAAAAAAAAAAA
You should do a video where you show us all the plugins and utilities you use to make your Windows look better.
FINALLY, some peace to my mind, i've been waiting for a video of BOG after i saw the last video
I feel like a tech god when I watch people use auto hotkey without notepad++
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).
0:26 Dude, try shift + arrow ⬆️
Edit: nvm you already figure it out at 3:32
"If you played minecraft, you've been here many times before" true legend yo
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 😅
The biggest thing I miss switching to a Mac is AutoHotkey. The second biggest thing are Alt-menu walkthrough shortcuts.
Can you please make a video or explain how to make it so windows is on one partion while games and apps are on another
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 can also create remappings within the PowerToys Keyboard Manager
Damn that line mover thing is amazing, thanks for the finding bro 1:36
Ctrl + Shift + Arrow (up or down)
Selects a line up to the start/end of the next/previous one.
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'm at 0:49... so maybe later it's obvious... but Shift+Home or Shift+End?
Another viddeo by Bog, we love it!!!
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
Tip: you can also open the Startup folder in Windows by typing shell:startup in the Run window (Win+R)
I love your videos. Thanks Bog. ❤
on windows you can do CTRL + A to select all
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
My guess is that in ahk, shift down means you're holding down shift and shift up means you're letting go
you can also just create a text file and replace txt extension with ahk to create autohotkey file.
You can instead type "shell:startup" in run to open startup folder
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.)
You can hold ctrl and move your mouse to select text...
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
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
WIN+R then shell:startup to get to the "startup" folder then proceed to make a desktop shortcut of it.
0:46 - you can just hold shift + home/end to select
8:06 theres a short version of that directory thats just ”shell:startup”
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.
This was so nice for using my keyboard as a boxx/smashbox controller.
This video really shows the reasons why I don't use windows any more. That update on the end was the icing on the cake ofcourse 🤣🤣
Instead of the app data thing you can just type shell:startup in the run box to directly open the startup folder.
i use ctrl + alt + ↑/↓ to move to the beginning or end of a line
+ hold down shift to select
Wait until he learns he doesn't have to use notepad.
That scroll for premiere pro is gonna still affect you when you are scrolling in browsers when premiere is open