Skip to main content

Productive Windows keyboard shortcuts

The further you get a long in your development career, the more and more you begin to make use of keyboard shortcuts. Time is precious, and more so as you take on more responsibility and have more projects you need to work on.

How do you get faster? You code as fast as Sonic..

Sonic the hedgehog (credits https://variety.com)
How did he get here so fast?

But since you'll never code that fast, you instead have to be like the rest of us not-fast-like-Sonic humans and memorize some keyboard shortcuts. Here is a collection of shortcuts that I've found handy in day to day work.

Copy and paste

Absolutely necessary. ctrl + c (copy) and ctrl + v (paste).

Create new folders

On Windows, when you are in Explorer (or File Explorer or Windows Explorer), which you can open up with the Windows key + e, ctrl + shift + n creates a new folder in the current directory you are viewing.

Creating a new folder in explorer
Creating that new folder on the fly

Locking your PC

Getting up from your desk? You can't just rely on your privacy screen, you better lock your computer up. Hate that you have to hold down ctrl + alt + delete to lock up? Why not just lock your computer with the windows key + L.

Get to the Task Manager

ctrl + shift + esc. Boom.

Task view

What is task view? If you are like me and you haven't ever used it, you are surely missing out. Mac users, you've had this feature for a while but now its turn for Windows. Hit windows key + tab to get an expanded view of all the applications that are currently running on your desktop.

From this view you can choose which application you'd like to give focus to, or return from task view by clicking windows key + tab.

I prefer windows key + tab over alt + tab OR alt + shift + tab to cycle through my open applications. Give both a try and see if you like to use one or the other or both.

Hidden context menu

Shift + right click in an explorer window to get additional options. The options you will likely only care about here are open cmd/Powershell/shell here. There are other hidden context menu items but those are application specific (if you haven't installed the application or haven't checked you want additional context menu items, you won't see anything different here).

The hidden context menu
Handy!

Close the application

This application needs to have focus, and won't get you l33t status; alt + f4.

Rename the selected item

Select the item (in explorer) and click f2. This works outside of just [Windows] explorer.

Refresh the active window

F5. Helpful if another application is adding/removing files from the directory you have open with explorer and the files are not showing in the explorer window.

Perform command

In applications, you can click alt + [any] letter to run the command that is defined. You will know which letter to click by looking at the underlined letters that appear after you click alt.

Visual Studio alt commands
Using the command shortcut

alt + f would open up the file menu, alt + s opens the test menu, etc.

More

Of course there are practically infinite number of shortcuts, but my brain can only hold onto so much. Are there any shortcuts that you've found helpful? Share them in the comments below.

Comments

Popular posts from this blog

UI redesigns are mostly a waste of time

To preface the article, I primarily work on, and prefer, back-end code. I've been involved in both web and software development for over 4 years now and worked with many front-end and back-end frameworks. New Twitter UI Before all of the UI designers that read this go out and riot and champion against me for saying UI redesigns are a waste of time, let me say that I do value design . I think at the bare minimum, a product or website needs to be usable , and if you possess a good eye and steady hand , you should feel compelled to create something that looks pleasing. David Just stop redesigning the UI all the time . UI redesigns, in my opinion, are a waste of time 95% of the time. Let me explain further. No one cares Come see our fresh new look ! What about our new  material design , come see! I'm sorry, but besides fixing the UI where it impacts the usability of your application, no one is raving about how a redesign makes the application any better. ...

[Fix] - ASUS PCE-AC68 adapter (no internet)

There seem to be a lot of problems with this adapter, even with such strong performance . Why so many issues? I'm not quite sure, but I needed to find a fix because I kept on losing wifi. The ASUS PCE-AC68 The fix Keeping it short - this is how I fixed the issue: Downloaded the driver for my OS from ASUS's support page -  https://www.asus.com/us/Networking/PCEAC68/HelpDesk_Download/ (in my case it was Windows 10 64-bit). Open Device Manager by holding the Windows key and pressing R, then typing "devmgmt.msc" and hitting Enter. (Don't worry, this isn't a scam . We are simply opening Window's Device Manager through the Microsoft Management Console snap-in .) Navigate to the yellow warning sign sitting under Network adapters and right click it. Select Update driver . Select Browse my computer for driver software  and choose the following path of the OS that you have installed on your computer. (The path for the driver on my computer was C...

Logging into a website with Powershell

Powershell is great, and it's lately been my go-to shell while I'm working on Windows. Sorry command prompt I really don't do a lot of work in the shell, but I do like to play with low-level interfaces from time to time. The article is about Linux shells, but goes into good explanation about what a shell is if you don't know. Log into a website Today, I wanted to do something that I have never really tried before and that is logging into a website using Powershell . The concepts behind this are quite simple really, as Powershell has support to send HTTP requests  and that's usually all we need, unless the server has CSRF protections in place (which it should). We are going to attempt  to log in to my favorite website for buying socks, Absolute Socks : Is that a turkey?! In order to do that, we need to have a login. So if you don't already have an account on www.absolutesocks.com , go make one now. Viewing the login request On websites,...