Eğitim / Kodlama 26 Nisan 2024

Mac Control Keyboard Shortcuts – Hotkeys that Work Everywhere in MacOS

Mac Control Keyboard Shortcuts – Hotkeys that Work Everywhere in MacOS

MacOS has several keyboard shortcuts that work everywhere – in your browser, in your terminal, in any place where you can input text. I call these the “Control Hotkeys” since they all involve holding the Control key.

These shortcuts seem to originate from Unix (MacOS is built on top of Unix), and they work in Linux as well.

You may be asking: why should I bother learning these? Well I will tell you: I use these thousands of times each day. They dramatically speed up my typing and text editing. And I rarely ever have to use my mouse, the arrow keys, or take my fingers off the letter keys of my keyboard.

What is Swap Caps on Mac and Why Do it?

Caps Lock is a useless key. So I remap my Caps Lock key to instead be Control. Then I can easily move my left pinky over to hold it when I do these shortcuts.

You can do this in MacOS like this:

  1. Go to Mac preferences

  2. In the search box, type “modifier keys” and click it

  3. Set Caps Lock to Control

Mac Control Keyboard Shortcuts – Hotkeys that Work Everywhere in MacOS

Here’s the full list of Control Shortcuts I use on Mac:

Movement

  • Control+f – move the cursor to the right

  • Control+b – move the cursor to the left (backward)

  • Control+n – Go to the next line

  • Control+p – Go to the previous line

  • Control+a – Go to the beginning of the current line

  • Control+e – Go to the end of the current line

Deleting / Substituting

  • Control+h – backspace

  • Control+d – delete the character to the left (this is like the traditional delete key on Windows, and as far as I know, this shortcut is the only way to delete this way on Mac)

  • Control+t – switch the position of two characters

  • Control+k – “yank” the current line of text.

  • Control+y – “paste” the yanked line. Note that this uses a different clipboard than the traditional clipboard, so you can use to it have two things stored at the same time – one for your Command+v paste clipboard and one for your Control+y clipboard.

Again, once you get used to these, they’ll save you a TON of time. Just a few milliseconds each time, but those add up very quickly over the course of a day at the keyboard.

Happy coding.

source

Spread the love <3

You may also like...

Eyl
02
2024
0

AirPods Max’e kafa tutuyor: Dyson OnTrac Türkiye’de satışa çıktı! 

Geçtiğimiz haftalarda lansmanı gerçekleştirilen Dyson OnTrac kulaklığı artık Türkiye pazarında. İlginç tasarımı ve yüksek kalitede ses vaadiyle dikkat çeken kulaklık...

Spread the love <3
Nis
04
2024
0
React Crash Course 2024

React Crash Course 2024

Learn the basics of React, such as components, props, state, data fetching, and more, while building a job listing frontend....

Spread the love <3
Mar
12
2024
12
Apple’ın en hızlı cihazları belli oldu! En hızlısı iPhone 15 Pro Max değil

Apple’ın en hızlı cihazları belli oldu! En hızlısı iPhone 15 Pro Max değil

Apple, geçtiğimiz yıl iPhone 15 dahil en yeni ürünlerini satışa sundu. Tabii bununla birlikte markanın ürün yelpazesi bir hayli genişledi ve bu...

Spread the love <3
May
03
2024
0
Apple: Pay attention to emerging markets, not falling China sales

Apple: Pay attention to emerging markets, not falling China sales

Apple’s chief financial officer Luca Maestri challenged investor worries over an 8% drop in China revenue by noting that sales...

Spread the love <3
Whatsapp İletişim
Merhaba,
Size nasıl yardımcı olabilirim ?