245

How can I increase the cursor speed in terminal? I have Mac OS X by the way. It would also be interesting to know it for Linux.

I don't know what I should search for in Google (or what you like).

General Grievance
  • 4,555
  • 31
  • 31
  • 45
classic_programmer
  • 2,443
  • 2
  • 15
  • 4
  • @Jon Pickup: Definitely not serverfault... Maybe [superuser](http://www.superuser.com/), though. – Cody Gray - on strike Dec 20 '10 at 13:47
  • 3
    You can use https://pqrs.org/osx/karabiner/ – Quyen Nguyen Tuan Mar 27 '15 at 02:29
  • 16
    Assuming that you mean the blinking cursor speed in the terminal: For the El Capitan OS it is much easier to go to the '**System Preferences->Keyboard**' and just adjust '**Key Repeat**' and '**Delay Until Repeat**' scales. – Arsen Jan 13 '16 at 08:17
  • 3
    @BillTheLizard this should be reopened: `software tools commonly used by programmers` – Qix - MONICA WAS MISTREATED Nov 01 '16 at 19:29
  • @Qix The terminal is not primarily a programming tool. – Bill the Lizard Nov 01 '16 at 19:35
  • 6
    @BilltheLizard You're joking right? The terminal is the best friend of a test suite programmer. How many programmers do you see using a graphical test suite? Because I have yet to see one that actually knows what they're doing use one. As it stands, the terminal is the single most important software tool for programmers. Anything you can compile with your fancy IDE's can be done on a terminal – SonarSoundProgramming Oct 03 '17 at 19:41
  • @SonarSoundProgramming I don't think you understand the distinction between tools used by programmers and tools that pretty much *only* programmers use. Read the question. This isn't about programming. It's about increasing the cursor speed on the terminal. It's an OS feature question. – Bill the Lizard Oct 03 '17 at 20:42
  • 2
    @BilltheLizard I'm not going to argue semantics, but those using the terminal are primarily using it for development purposes, save the few souls that just want to grab an apt package, or modify some OS features they don't like/agree with. That being said, I can use an IDE for editing text files if I so felt like it, just like others can run terminal commands if they feel like it. Doesn't mean it's primary purpose isn't development. That is the reason the terminal was invented. To develop and run programs. – SonarSoundProgramming Oct 03 '17 at 22:13
  • @SonarSoundProgramming You understand that if you're just running a program you're not actually programming, right? – Bill the Lizard Oct 04 '17 at 01:41
  • you can also increase the speed by changing the delay time to short in keyboard settings – vikas aggarwal Jan 08 '18 at 04:00

2 Answers2

421

System Preferences => Keyboard => increase Key Repeat Rate

enter image description here

alper
  • 2,919
  • 9
  • 53
  • 102
Piotr
  • 4,209
  • 2
  • 14
  • 2
204

If by "cursor speed", you mean the repeat rate when holding down a key - then have a look here: http://hints.macworld.com/article.php?story=20090823193018149

To summarize, open up a Terminal window and type the following command:

defaults write NSGlobalDomain KeyRepeat -int 0

More detail from the article:

Everybody knows that you can get a pretty fast keyboard repeat rate by changing a slider on the Keyboard tab of the Keyboard & Mouse System Preferences panel. But you can make it even faster! In Terminal, run this command:

defaults write NSGlobalDomain KeyRepeat -int 0

Then log out and log in again. The fastest setting obtainable via System Preferences is 2 (lower numbers are faster), so you may also want to try a value of 1 if 0 seems too fast. You can always visit the Keyboard & Mouse System Preferences panel to undo your changes.

You may find that a few applications don't handle extremely fast keyboard input very well, but most will do just fine with it.

Note: It requires a system restart

Aniket Tiwari
  • 3,561
  • 4
  • 21
  • 61
John Pickup
  • 5,015
  • 2
  • 22
  • 15