Press and hold keys in Obsidian Vim mode for OSX


Obsidian is my personal knowledge management system of choice.

When I found out that Obsidian supports vim mode, I was delighted! However, while using it on my Mac, I noticed that I couldn’t hold movement keys HJKL. Bad practice aside, it’s something I do pretty often.

The solution, turns out to be reasonably straightforward. In OSX, pressing and holding keys is disabled system-wide. Or, at least it was for me.

Running the following command in the terminal will help you on your way:

defaults write -g ApplePressAndHoldEnabled -bool false

This enables repeating keys for all apps on your system. Now, I can press and hold my Vim movement keys to my heart’s content.

Hive Five newsletter

Sharing what matters in security. Every week I curate the InfoSec news, so you can focus on securing web apps and earning bug bounties.

As a thank you, you’ll receive 100+ InfoSec RSS feeds.



Source link