DEV Community 👩‍💻👨‍💻

Cover image for Hand position for Ctrl key?
Janardhan Pulivarthi
Janardhan Pulivarthi

Posted on • Updated on • Originally published at i.janardhanpulivarthi.com

Hand position for Ctrl key?

I am referring to touch typing, it is a bit painful to Ctrl + ~, is there a better way to do that?

We can press it with bottom start of the pinky finger.

Practice this key hand positioning, it will payoff in the long run.

Ctrl + Shift + ~ for opening terminal

Make a karate movement!

 raw `Ctrl + Shift + ~` endraw  for opening terminal

Ctrl for control key combinations

We can press it with bottom start of the pinky finger.

 raw `Ctrl` endraw  for control key combination

📝 The second trick I have learned sometime from some reddit post

Happy coding!

Top comments (26)

Collapse
 
fromaline profile image
Nick

IMO, the best way to solve this whole Ctrl-issue is to bind Ctrl to Caps lock.
Such layout was a default option in the past.

Collapse
 
j143 profile image
Janardhan Pulivarthi • Edited on

I type most of the Java variables in CAPS, so for me I could not remove / swap caps.

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn • Edited on

One option for that is to just turn on Sticky Keys (or whatever your desktop calls it). Most implementations let you double-tap a modifier key to ‘lock’ it, which lets you use Shift just like you would on the keyboard on your phone.

Thread Thread
 
j143 profile image
Janardhan Pulivarthi

Okay, now I learned what to do with sticky keys. It is helpful. It would take a while for me to make use of sticky keys.

Collapse
 
fromaline profile image
Nick

Yeah, it's a good reason to not swap Caps!
My advice is not suitable for everyone, of course.

Collapse
 
insidewhy profile image
insidewhy • Edited on

Most variables in caps? Shouty! I thought the majority of Java apps use lowerCamelCase and just caps for configuration constants?

Thread Thread
 
j143 profile image
Janardhan Pulivarthi

Even for a single CAPS word, I prefer CAPSLOCK on instead of Shift+. Some people can have other preference. 😊

Collapse
 
bradtaniguchi profile image
Brad

Ctrl + Shift + ~

I don't think I've ever had to execute this shortcut to open a terminal on any of my systems, or if they were there I never used it. I have had to use Ctrl + Shift + ESC, which is similar, but this usually is a "one-time-task" such as opening something that I wont ever close/toggle.

Currently in windows I use Win + ~ to toggle a "quake" terminal. Almost the same thing, but without the nasty Shift.

Collapse
 
booboboston profile image
Bobo Brussels

I have never gotten this detailed 😅

Collapse
 
whitep4nth3r profile image
Salma Alam-Naylor

My trouble is with "shift + |" all with the right hand. Have tried to train myself to press shift with the left hand. Not happening. Pls help.

Collapse
 
j143 profile image
Janardhan Pulivarthi

You can press shift with left hand, like a karate hand strike. And | with right hand pinky finger.

If you see the first (ctrl +shift + ~) press position in this post, you place more pressure on shift key.

Collapse
 
algj profile image
Alg

For me it's super hard to reach how it was shown in the post above.
My most unused keys are: cap locks, right alt, right shift, left alt.
You could, for example, do this:

  1. If ALT key is easily reachable with your thumb, swap CTRL and ALT. It is hard to learn using it.
  2. Cap locks - backspace
  3. Right shift - I have it as ESC because I was using VIM a few months ago
  4. Right alt - make it act like some FN key, e.g. holding it and pressing WASD would make them work as arrow keys, or maybe Home up/dn, Page up/dn?

If CTRL/ALT/Shift is a huge problem for you, and you don't play video games, you can try home row modifiers:
there's Super/ALT/CTRL/Shift on both sides of your keyboard and when you press a key shortly, it will act as a key press, not a modifier. If you hold it and press any other key, it will act as a modifier.

Collapse
 
j143 profile image
Janardhan Pulivarthi

Hi @algj update after 3 months,

It was a bit uncomfortable to use the position in this post, but now I am smoothly able to press Ctrl+R, Ctrl+Shift+~, and Ctrl+ .

If ALT key is easily reachable with your thumb, swap CTRL and ALT. It is hard to learn using it.

I started using ALT key with thumb nowadays.

thanks

Collapse
 
radualexandrub profile image
Radu-Alexandru B

In Windows, you can use AutoHotKey to map every command you can think of to every possible key or combinations of keys.

I wrote some articles about this a while ago, you can find them here: dev.to/radualexandrub/top-8-macros...

Collapse
 
waylonwalker profile image
Waylon Walker

I use a corne and hit control with my thumb.

Collapse
 
j143 profile image
Janardhan Pulivarthi • Edited on

Buying corne is in my wishlist, hope to earn that much sometime in future.

For people who want to know more about corne: github.com/foostan/crkbd

Collapse
 
carlosgallego98 profile image
Jean Carlos

My gamer fingers aren't scared performing any akward positions hahaha

Collapse
 
j143 profile image
Janardhan Pulivarthi

I wish I could do that.

Collapse
 
cess11 profile image
PNS11

$ setxkbmap -option ctrl:swapcaps

Collapse
 
azlan_syed profile image
Azlan-Syed

ctrl-shift-esc for opening task manager in windows

Collapse
 
j143 profile image
Janardhan Pulivarthi

Thanks. The point here about hand positioning, not about shortcuts!

Collapse
 
vikulikov profile image
Viktor Kulikov

Recently, have known about Karabiner on Mac. It allows to reassign Caps Lock key for ESC if pressed single and for CTRL + key if pressed with another key

Collapse
 
babakks profile image
Babak K. Shandiz

And why not using the right Ctrl (or Shift + Ctrl) with your right hand?

Collapse
 
j143 profile image
Janardhan Pulivarthi • Edited on

Lazyness to fire up the terminal 😅. Using one hand to fire up is really useful there.

That's a real deal.

Collapse
 
jeremyf profile image
Jeremy Friesen

I've mapped CAPS to Ctrl and when I press both shift keys, that turns on Caps Lock.

I use karabiner-elements to handle the mapping.

Collapse
 
j143 profile image
Janardhan Pulivarthi

In that position, reaching to ~ felt difficult for me.

Timeless DEV post...

How to write a kickass README

Arguably the single most important piece of documentation for any open source project is the README. A good README not only informs people what the project does and who it is for but also how they use and contribute to it.

If you write a README without sufficient explanation of what your project does or how people can use it then it pretty much defeats the purpose of being open source as other developers are less likely to engage with or contribute towards it.