Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8231013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:19:51+00:00 2026-06-07T17:19:51+00:00

I do really like key-chord.el but I’d need it to only trigger when I

  • 0

I do really like key-chord.el but I’d need it to only trigger when I start pressing keystrokes after a short delay during which I didn’t do anything elapsed. I’d like to know if it’s easy to modify key-chord.el to do that.

Why I want that is simple and I’ll try to explain it as easily as I can:

  • I do want keychords to be assigned to keys that are on my “strong” fingers (no pinky) and that are on my home row (I do touch-type). Hence I’m potentially creating quite a few keychords which may clash with common words / code when I’m typing.

  • I realized that everytime there’s a clash (i.e. keychords kicking in while I didn’t want to) it’s because I’m in the process of frenziedly modifying the buffer.

Here’s an example…

I’m a fast typist so if I’m entering, say, “held”, there is never going to be a long delay between when I add the ‘e’ of “held” and when I then type the ‘l’. So in this case it should be “obvious” that I do not want key-chord to kick in when I type ‘ld’. However if there’s a pause and if ‘ld’ is an assigned key-chord and then I hit ‘ld’, then it is very unlikely that I’m writing code / text that would be starting with ‘ld’. So in this later case (and because I have assigned ‘ld’ to a key-chord), I do want it to kick in.

Now don’t get me wrong: I’m not sayin this would eliminate every single possible clash in every single case. All I’m saying is that, in my case, this would probably eliminate 99.9% of the (already rare) clashes. The “time lost” should one clash still occur after this change to key-chord would be negligible compared to the amount of time key-chord is making me gain.

The code to key-chord.el is very small so maybe such an addition wouldn’t be too hard?

Does anyone have an idea as to how if it would be easy to modify key-chord.el to provide such a feature? (I hope I explained correctly what I want to do)

Here’s the code to key-chord.el and half of it is comments:

http://emacswiki.org/emacs/key-chord.el

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:19:53+00:00Added an answer on June 7, 2026 at 5:19 pm

    The Idle Timer mechanism should be able to facilitate this.

    C-hig (elisp) Idle Timers RET

    I’ll leave it to you (or someone else) to figure out the details. Offhand thoughts are:

    • enable the Key Chord functionality via an idle timer
    • use post-command-hook to disable it again

    That might be all that is needed?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I really like Entity Framework, but there are some key pieces that are a
I really like the zx key combination in Vim (it folds everything but the
I really like the CTRL - W key in Vim insert mode, but I
I really like the magento structure but finding things is very hard ;) My
I really like the promote to home page feature of drupal. But what if
I really like the idea of automatic binding generation like SWIG does. But it
I don't believe in a Silver Bullet, but I really like to use sequences
I really like the ExpandoObject while compiling a server-side dynamic object at runtime, but
Im trying to use git extensions and I really like it so far, but
I really like the MVC way and have actually enjoyed learning ASP.NET MVC (I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.