Keyboard Shortcuts Every Programmer Should Know
Вставка
- Опубліковано 10 лют 2025
- 18 Most Useful Keyboard Shortcuts For Programmers
Check out Tabnine, the FREE AI-powered code completion tool I use: www.tabnine.co...
Get 50% off your first year of Tabnine Pro using my link: www.tabnine.co...
Get access to my programming courses: / hallden
Follow me on instagram: / kallehallden
LiveCoder channel: / @livecoder7639
"Clean Code Friday"
If you want to receive one short email from me every week, where I go through a few of the most useful things I have explored and discovered this week. Things like; favourite apps, articles, podcasts, books, coding tips and tricks. Then feel free to join kalletech.com/...
CONTACT: contact@kalletech.com
Follow me on:
TWITCH: / kallehallden
INSTAGRAM: / kallehallden
TWITTER: / kallehallden
GITHUB: github.com/kal...
DISCORD: / discord
PATREON: / hallden
VIDEO EDITOR: editingmachine... (use coupon code KALLE to get 50% off your first month)
--------------------------------------------------------------------------------------------------------
GEAR:
kalletech.com/...
500K subscribers! Thank you all for watching and supporting this weird kid! Who knew that me trying things out, learning new things and sharing that on video would be interesting to watch. I’m infinitely grateful!
Also
if !subscribed:
print(”What are you even doing mate, subscribeee”)
subscribe()
else:
print(”Heyyo”)
Heyyo
heyyyyoooooooooooooo (Syntax error)
Put a Vlog for this 500k subscribers bro😊....we are waiting to see it 😊...
.
Also congrats for this achievement bro😘😍💯 .....long way to go💥 ....
.
A day has never moved without watching your videos😎 ....
.
Love 💝from India 🇮🇳🇮🇳🇮🇳
congrats bro for 500k hopes high for 1m this year
You make nice b roll.
I watch for your b roll.
I subbed for your b roll.
1:32 F2 >> Refactor your Code Rename everywhere
1:57 Selecting a section of text and pressing TAB or Shift + TAB
2:23 CTRL + K +D >> will Format Code ( look nicer)
2:53 CTRL + SHIFT + T >> Reopen closed tabs
3:32 CTRL + Tab >> For Switching between Tabs in your browser
3:53 CTRL + Arrow key Left or Right
4:01 Alt + Right Arrow
4:52 F8 >> Move between different errors
7:10 CTRL + SHIFT + F10 >> To Find Where variable Was declared
7:40 CTRL + BACKSPACE or DELETE >> remove entire word
7:45 SHIFT + END/HOME
8:32 CTRL + p
8:40 F12
8:56 CTRL + s >> Save file
CTRL + S + Shift >> to save all files
9:03 CTRL + c >> COPY
9:06 CTRL + v >> Paste
9:10 CTRL + f >> Search
9:13 CTRL + z >> Undo
CTRL + Shift + z>> Redo
9:32 Win + Shift + S >> Screenshot [You can use Windows key + PrtSc (print Screen)]
Probably took longer to put together this list than it takes someone to watch Kalle's video...
You can also re-do whit control+y
@@K0MBIAN yes 😂 but if anyone want to remember any command it will be easier
i found a better combo to switch tabs in a browser: Ctrl + PgUp/PgDn iterates left or right through the tabs. I knew Ctrl+Tab for years, but it's painful to press Ctrl+Shift+Tab to go the opposite direction.
Thank youuu for this list
*My most useful shortcut on Windows is Windows+V to open the clipboard and so you can copy several things to paste them later.*
or use ditto
Yes it is so useful
How to shortcut:
step 1 - start using VIM
step 2 - survive
step 3 - profit
Good idea
Right on!
Basically this. Imagine using Alt/Ctrl to move between words.
Why not spyder?
For vscode: alt+arrow up or down. This moves the line 1 up and formats
Just for info, same thing for Visual Studio in general and a few other editors/IDEs are doing it too.
Some of them, if not by default, you can edit/add a shortcut to implement that fonctionality.
alt+shift+ arrow up/down duplicates the selected code
same for PyCharm
alt + up/down (sometimes it's ctrl+shift+up/down) is in almost all editors
two more useful shortcuts that I personally use a LOT.
ALT + Up/Down arrow key - move one line up or down where cursor is
ALT + Shift + Up/Down arrow - Copy paste a line or selection. It is basically replacement of copy and paste if you want to do it one after another.
But I use last one anyway because after copying text one after another, new text is automatically selected so i can just do Alt+up/down arrow to move that new copied selection anywhere in code.
Cheers.
Hi Kalle! Another useful tip for all laptop users is function(fn) + Escape(only if there is a lock image on the key) . This helps because you dont have to press fn key to use f1 , f2 , f3 and such. This makes it so that you dont have to press fn to use the function key , but you do have to press to use the media keys and such
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓
CTRL + C And CTR + V is probably the most used keyboard shortcut for programmers :)
An implicit "stackoverflow joke"®. nice.
Or anyone with a computer, I think there’s no shortcut most used than this ever
🤣
Middle Click & Middle Click probably the most used keyboard shortcut for vim programmers :)
StackOverflow stuff
Congrats on 500k.
This is such a game changer!
Thank You For Watching And For More Feedback & Guidance Contact Via {W} {h} {a} {t} {s} {A} {p} {p} Directly = {+1} {9} {0} {9} {3} {1} {2 } {5} {0} {3} {9}......
If you copy a terminal command, then ctrl+v won't paste in terminal, instead you have to use ctrl+shift+v
Edit: this applies for saving and cutting and all of that stuff
Or rihht click
or the mouse wheel clic sometimes
Or Shift+Ins
Life saver.
@@villadseskesen still faster than right clicking
Dude u are awesome. I rly liked alllll of ur videos i am from 🇪🇹ethiopia. Big love bro❤
Congrats from Spain. U r the best computer teacher on Earth.🗽
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓
Also know that different browsers have different settings so when switching between tabs with control tab you either switch to the next Tab or switch to the one last used depending on settings.
In the same area we also have the ctrl+tabnr so ctrl+1 always sends you to the first tab, which is really helpful if you got an API or your build system or something else pinned to that position. You can then switch back to the previously focused tab with control tab if you've got that option selected.
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓.....
Chenge your code formatting to ctrl + s. It will format everytime you save
Enable Format on Save in VS Code
@UA-cam TM I also use autosave and ctrl + s to format with prettier
@@circulardep I use that too 😁
I use intellij keybindings
Thank You For Watching And For More Feedback & Guidance Contact Via {W} {h} {a} {t} {s} {A} {p} {p} Directly = {+1} {9} {0} {9} {3} {1} {2 } {5} {0} {3} {9}......
Ctrl+Shift+T and F8 are my takeaways from this video, thanks!
Helpful!
Another shortcut I find very useful is Alt + Shift + Down arrow, which allows to copy and paste the current line onto the next one!
Congrats for 500K btw!
2:17 tysm all this time i just added an "if 1==1:" statement lol
Thanks. Great job! I learn a lot from you!
Thank you Kalle, this will help very much.
Dude I'm New To Linux And Programing And You Helped Me A Lot.
Thank You ❤️
I love the starting of the video so much , how the intro music starts and then the intro video it literally feels like some avengers movie 😂 " Entry of Iron Man !!"
*Enter Kalle-Man, the most Swedish Programmer in the world.
@@K0MBIAN It makes his entry grand 😍
really love your videos so informative and best content & quality
Congratulations Kalle.
Thanks for fueling us 🖤💙🖤💙
When you use Vim as your IDE there are no keyboard shortcuts.
The “shortcuts” simply become “the way”.
you can also use vim extension for vscode
@aelig wdym just install vim extension and get a simple program to remap escape to caps lock because it's closer that's it, and you'll get used to the keybindings quickly
@@igorswies5913 not even close to the same thing. It’s cute though. I’m if it was half as good as actual VIM I’d still be using VS Code.
Lmao so many vim eliticits while in vim you spend more time fighting the longass key combo to save a file than in any other editor 🤣
@@sddrkk you can map your beloved Ctrl+s to :wq in vim
Thank You So Much, I have Been Waiting for This Subject, Thanks!!!
Great one.
Clipboard history comes in pretty handy aswell
0:46 this background music is kinda sick
Just installed Tabnine a couple of hours ago 👌
3:42
Ctrl+PgUp
Ctrl+PgDn
Can also be used
Always a fan !😃
Congrats on 500K Subs!!!
CTRL + SHIFT + ` = opening the integrated terminal in VSCode. One of my favourite and most used shortcuts.
These are very useful! Great tutorial, Kalle!
I use tab nine and its actually really good I've been using it for months now
Congratulations for hitting 500K!
Useful shortcut thanks, congrats on the 500K subscribers.
Hii Kalle.. thanks for the video..btw out of context.. your background really nice and cozy..👍
Thank you, I need this👍
Congrats for 500k !
Very useful commands here thanks, got something new here
500k subs, congrats! HALF WAY THERE, NICEEE
Here's a quick tip: remap your Caps Lock to Ctrl. Your life will improve dramatically.
Which app are you coding kalle 😃 ?? @5:07
You changed your 'Kite' sponsoring with 'Tabnine'? Tabnine works way better for me.
Would be great to have the list of all shortcut as a cheatsheet :-D
bror den här videon var fett bra du borde göra detta oftare!
Congrats on 500k subs
Love the video very helpful, could you make a video for adding c++ to visual studio code
I do use a few good ones!
CTRL+X = cut text - anywhere
CTRL+K+C = comment/uncomment - VS Code
CTRL+W = close current tab = any(?) browser, even VS Code
CTRL+SPACE = open autocomplete - mostly any(?) IDE
CTRL+HOME/END = go to the start/end of the whole text area - mostly anywhere
ALT+TAB = switch open software - any OS, I guess
CTRL+T = open new tab - any(?) browser
also, CTRL+SHIFT+T and CTRL(+SHIFT)+TAB works in VS Code, just like in the browsers
I love using shortcuts because it's efficient, and by far easier than trying to keep track of the mouse position all the time! 😉
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓.....
Nice video brother 😃
Love from India 🇮🇳
3:35 For switching tabs in the browser I find Ctrl + fn + up/down arrow key easier
Nice video👍
Congrats on 500K.. Keep growing.
Vimium is a must try if you want to navigate chrome through your keyboard.(it's a chrome extension)
BACK WITH GREAT INTRO!!!
My favourite one:
Win + V will allow you to use the windows clipboard tool which is SUPER useful!
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓
Tack så mycket!
Congrats on 500k! Do you still use VIM?
thank you kalle😍
Kalle,
This video is most not useful for me, but for those who need this, it is gonna change their lives for good
Take a poll man, how many use what?, How many do what?
Again a nice helpful Video :)
Nice video, also Murphy's law has this: "A shortcut is the longest route between A & B"
??? 1 how that applies
2 Didn't Murphy was know for another one?
Awesome video man.
CTRL + PageUp or PageDwn will switch tabs in the clockwise or anti clockwise manner, I often use this as pressing CTRL + Tab is kinda hard
Great video! keyboard shortcuts are very useful
probably the best video on youtube
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓.....
The thumbnail are super dope
On your laptop:
Fn+Left Arrow Key = Home
or
Fn+Right Arrow Key = End
Feels better and is faster then pressing F11 or F12 up there.
Really please make a video on micro automation....sounds so cool😂
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓
Congrats on 500k 👍
I've been watching your videos for quite some time and have always liked your wallpaper. Could you please provide a link to it?
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓
nice to know for changing tabs in your browser: you can use numbers to jump to one tabe directly. tab+4 jumps to the fourth tab
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓
Can we get more details about the "Auto-Googler" in 10:05 is this a VSCode keybind or something more? What application do you use for that?
Love how he had to mention Ctrl+C and Ctrl+V
9:30 just use "prt sc" button on the keyboard to take screenshots, open paint then ctrl + v.
That's a 1000 times less efficient
@@indetronable No, it's not.
try Win + PrintScreen
@@sehbanomer8151 You can use alt + prt together to just screenshot of an open and selected window.
This Video was actually pretty useful, thanks :).
Although most of you already know this, but *Ctrl + Shit + Enter* creates a new line above your current line. (I don't know how to explain it :D). I use it on a daily basis ;).
I'm looking forward to the DIY Shortcut tutorial. I only wrote some AutoHotkey Scripts for MediaKeys and some other stuff I wanted.
Man I gotta visit the bathroom everytime I need to insert a line above?
Dude, that's awesome. I just realize Ctrl + Enter also creates new line, but below the current line. This save me time from having go go to the end of a line to make a new line.
Definitely make the custom shortcuts video!
Congratulations on 500k subs, sir can you made more videos on flutter about 2.2 and how to improve in this field, it's been few months I started with flutter and wanted make this my carrier
@@user-lz5xx2ct8v lol 😂 reported
I thought you switched to vim because thats awesome any vim users here i just integrated my vs code into vim using vim extention and i love it .
Shift + alt + f = Format Code (at least in VSC)
For macOS, most things you use command key instead of control key on windows. To move through tabs on Mac, use control+tab/control+shift+tab
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓.....
You should definitely check out Alfred app for MacOS
CRTL + SHIFT + T is cool because when you see your friend close out of a tab, you can go on their computer and use that short cut for funny prank
Thank You
Try Alt + Del..
Also, I use Ctrl + S to format code
Intro 💥💥💥⚡⚡🔥🔥🔥
always love the intro
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓
Thanks alot
yes finally tabnine
i love it
What editor theme do you use?
Just wanted to recommend LightShot. I find the Windows 10 built-in screenshot tool takes a bit of time.
Congrats on 5ook mate
Keyboard Shortcuts are the best feature of any Linux Distros.
~L•E•A•V•E ~A ~M•E•S•S•A•G•E ~O•N ~W•H•A•T•S•A•P•P ~F•O•R ~M•O•R•E ~I•N•V•E•S•T•M•E•N•T ~D•E•A•L•S🤝
+>15139001425✓
Ahh, I didn't know some of these Shortcuts, but somehow (maybe because I am on Windows) they are different. And yes I am also using VS Code :D
For example, Alt+Right Arrow is Switching between Tabs instead of moving the cursor to the next Differentiator...
Now I have to figure out where to find these Shortcuts in the settings :D
im looking for a shortcut to avoid my right hand going to the arrow key back to the jkl. I found some of the developers don't use the usual arrow keys and sometimes they don't have arrows in their keyboard. hope someone could give an idea on this. thank you for sharing this video.
i was looking for this ever since i saw corey schafers videos.
That was a damn good intro!
waiting for micro automation video :)
this looks so helpful 💻💻
Congrats on 500k
when you making those videos please represent every step, so that we can follow