Keyboard Shortcuts Every Programmer Should Know
HTML-код
- Опубликовано: 21 авг 2024
- 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
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
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?
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
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
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✓
Chenge your code formatting to ctrl + s. It will format everytime you save
Enable Format on Save in VS Code
@RUclips TM I also use autosave and ctrl + s to format with prettier
@@yamogebrewold8620 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}......
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}......
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
But you’ll spend a fuckload of time to get productive there
@@jvik 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 🤣
2:17 tysm all this time i just added an "if 1==1:" statement lol
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.
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✓.....
Dude u are awesome. I rly liked alllll of ur videos i am from 🇪🇹ethiopia. Big love bro❤
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?
Always a fan !😃
3:42
Ctrl+PgUp
Ctrl+PgDn
Can also be used
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!
Here's a quick tip: remap your Caps Lock to Ctrl. Your life will improve dramatically.
0:46 this background music is kinda sick
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✓
Congratulations Kalle.
Thanks for fueling us 🖤💙🖤💙
Thank you Kalle, this will help very much.
3:35 For switching tabs in the browser I find Ctrl + fn + up/down arrow key easier
Thank You So Much, I have Been Waiting for This Subject, Thanks!!!
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 😍
Love how he had to mention Ctrl+C and Ctrl+V
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✓.....
Ctrl+Shift+T and F8 are my takeaways from this video, thanks!
These are very useful! Great tutorial, Kalle!
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
really love your videos so informative and best content & quality
Thank you, I need this👍
Nice video👍
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✓.....
Dude I'm New To Linux And Programing And You Helped Me A Lot.
Thank You ❤️
Congrats for 500k !
500K 😃🎉
Tack så mycket!
BACK WITH GREAT INTRO!!!
The thumbnail are super dope
Awesome video man.
Congratulations for hitting 500K!
Just installed Tabnine a couple of hours ago 👌
Very useful commands here thanks, got something new here
Again a nice helpful Video :)
Great one.
Clipboard history comes in pretty handy aswell
bror den här videon var fett bra du borde göra detta oftare!
Useful shortcut thanks, congrats on the 500K subscribers.
CTRL + SHIFT + ` = opening the integrated terminal in VSCode. One of my favourite and most used shortcuts.
Congrats on 500k subs
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✓
Love the video very helpful, could you make a video for adding c++ to visual studio code
Congrats on 5ook mate
Congrats on 500K Subs!!!
Congrats on 500k 👍
The title should’ve been “vscode cheat sheet in a video”
Hii Kalle.. thanks for the video..btw out of context.. your background really nice and cozy..👍
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.
Vimium is a must try if you want to navigate chrome through your keyboard.(it's a chrome extension)
500k subs, congrats! HALF WAY THERE, NICEEE
Vilken stad kommer du ifrån?
Congrats on 500K.. Keep growing.
waiting for micro automation video :)
I use tab nine and its actually really good I've been using it for months now
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
thank you kalle😍
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✓
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.
I do not use ctrl+tab to navigate between tabs. instead i use alt+numbers.
Great video! keyboard shortcuts are very useful
Thank You
yes finally tabnine
i love it
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✓
when you making those videos please represent every step, so that we can follow
Congrats on 500k! Do you still use VIM?
Nice video brother 😃
Love from India 🇮🇳
Definitely make the custom shortcuts video!
Thanks alot
Ctrl + backspace also removes a whole word... instead of repeatedly pressing backspace
i was looking for this ever since i saw corey schafers videos.
For the Alt+Left/Right shortcut, do you know the shortcut i can use for codeblocks?
My commands I use:
Ctrl + T (To open a new browser tab)
Ctrl + N (To open a new browser)
Fn + F2 (To rename a file)
Ctrl + Shift + N (For making a new folder)
~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✓
Which app are you coding kalle 😃 ?? @5:07
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✓
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?
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.
Congrats on 500k
That was a damn good intro!
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✓
Amazing intro
Shift + alt + f = Format Code (at least in VSC)
this looks so helpful 💻💻
Congrats, dude
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✓.....
Day 2 of telling Kalle to make a video about wifi pineapple
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.