mirror of
https://github.com/jbranchaud/til
synced 2026-01-18 06:28:02 +00:00
Compare commits
4 Commits
56c2910252
...
e678e032dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e678e032dc | ||
|
|
7573119c59 | ||
|
|
5615da920f | ||
|
|
c60c63f554 |
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
|
||||
|
||||
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
|
||||
|
||||
_1512 TILs and counting..._
|
||||
_1513 TILs and counting..._
|
||||
|
||||
---
|
||||
|
||||
@@ -190,7 +190,7 @@ _1512 TILs and counting..._
|
||||
- [Aliasing An Ansible Host](devops/aliasing-an-ansible-host.md)
|
||||
- [Allow Cross-Origin Requests To Include Cookies](devops/allow-cross-origin-requests-to-include-cookies.md)
|
||||
- [Allow HTTPS Through Your UFW Firewall](devops/allow-https-through-your-ufw-firewall.md)
|
||||
- [Check For Cached Site Assocation File For iOS](devops/check-for-cached-site-association-file-for-ios.md)
|
||||
- [Check For Cached Site Association File For iOS](devops/check-for-cached-site-association-file-for-ios.md)
|
||||
- [Check The Status of All Services](devops/check-the-status-of-all-services.md)
|
||||
- [Check The Syntax Of nginx Files](devops/check-the-syntax-of-nginx-files.md)
|
||||
- [Connect To An RDS PostgreSQL Database](devops/connect-to-an-rds-postgresql-database.md)
|
||||
@@ -723,7 +723,7 @@ _1512 TILs and counting..._
|
||||
- [Check If Clusters Are Upgrade Compatible](postgres/check-if-clusters-are-upgrade-compatible.md)
|
||||
- [Check If The Local Server Is Running](postgres/check-if-the-local-server-is-running.md)
|
||||
- [Check If User Role Exists For Database](postgres/check-if-user-role-exists-for-database.md)
|
||||
- [Check Table For Any Oprhaned Records](postgres/check-table-for-any-orphaned-records.md)
|
||||
- [Check Table For Any Orphaned Records](postgres/check-table-for-any-orphaned-records.md)
|
||||
- [Checking Inequality](postgres/checking-inequality.md)
|
||||
- [Checking The Type Of A Value](postgres/checking-the-type-of-a-value.md)
|
||||
- [Clear The Screen In psql](postgres/clear-the-screen-in-psql.md)
|
||||
@@ -1744,6 +1744,7 @@ _1512 TILs and counting..._
|
||||
- [Add Subscriber To Kit Form Via API](workflow/add-subscriber-to-kit-form-via-api.md)
|
||||
- [Add Subtitles To Existing Mux Video Asset](workflow/add-subtitles-to-existing-mux-video-asset.md)
|
||||
- [Access 1Password Credential From CLI](workflow/access-1password-credential-from-cli.md)
|
||||
- [Allow Key-Repeating With Cursor](workflow/allow-key-repeating-with-cursor.md)
|
||||
- [Change Window Name In iTerm](workflow/change-window-name-in-iterm.md)
|
||||
- [Configure Email Redirect With Cloudflare](workflow/configure-email-redirect-with-cloudflare.md)
|
||||
- [Convert An ePub Document To PDF On Mac](workflow/convert-an-epub-document-to-pdf-on-mac.md)
|
||||
|
||||
33
workflow/allow-key-repeating-with-cursor.md
Normal file
33
workflow/allow-key-repeating-with-cursor.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Allow Key-Repeating With Cursor
|
||||
|
||||
I recently installed the Vim extension for Cursor. This is the same extension
|
||||
for VSCode since Cursor is built on VSCode. A lot of the expected Vim behavior
|
||||
was working. However there was one glaring point of friction.
|
||||
|
||||
I often hold down keys like `k` and `j` to go up and down several lines when
|
||||
I'm absent-mindedly scrolling around. This wasn't working with the Vim mode
|
||||
extension. I'd hold `j` down and the cursor would move down a single line and then
|
||||
stop.
|
||||
|
||||
The first thing the Vim extension tells you to do is run a command to enable
|
||||
key-repeating. These instructions are specific to VSCode:
|
||||
|
||||
```bash
|
||||
$ defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
|
||||
```
|
||||
|
||||
That won't work for cursor which is a separate application with a distinct
|
||||
`CFBundleIdentifier`. You can check the current identifier in Cursor's
|
||||
`Info.plist` file to be sure, but it should be `com.todesktop.230313mzl4w4u92`.
|
||||
|
||||
Run this to target Cursor:
|
||||
|
||||
```bash
|
||||
$ defaults write com.todesktop.230313mzl4w4u92 ApplePressAndHoldEnabled -bool false
|
||||
```
|
||||
|
||||
Then restart Cursor.
|
||||
|
||||
Now key-repeating in Vim mode should be working.
|
||||
|
||||
[source](https://github.com/getcursor/cursor/issues/777#issuecomment-1690996370)
|
||||
Reference in New Issue
Block a user