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 8689407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:38:22+00:00 2026-06-12T23:38:22+00:00

Possible Duplicate: Override Ctrl-TAB in EMACS org.mode I’m trying to rebind C-y to redo.

  • 0

Possible Duplicate:
Override Ctrl-TAB in EMACS org.mode

I’m trying to rebind C-y to redo.
I’ve tried all possible options:

(global-unset-key (kbd “C-y”)), outside and inside a org mode hook,
and (define-key org-mode-map (kbd “C-y”) nil).

Yet nothing. Outside of OrgMode it acts perfectly fine, but inside? it yanks.
This is actually not to first KeyBinding that doesn’t work whenever I’m inside OrgMode,
and it boggles me.

Help, please.

  • 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-12T23:38:23+00:00Added an answer on June 12, 2026 at 11:38 pm

    After quick help from the fabulous phils, I stumbled upon two things:
    Globally override key binding in Emacs
    which I currently use, and
    http://www.masteringemacs.org/articles/2011/02/08/mastering-key-bindings-emacs/
    which I will surely read ASAP.

    Thanks Phils;)

    My current setup is this:

    (defvar custom-keys-mode-map (make-keymap) "custom-keys-mode keymap.")
    (define-minor-mode custom-keys-mode
      "A minor mode so that my key settings override annoying major modes."
      t " my-keys" 'custom-keys-mode-map)
    (custom-keys-mode 1)
    
    (defun my-minibuffer-setup-hook ()
      (custom-keys-mode 0))
    (add-hook 'minibuffer-setup-hook 'my-minibuffer-setup-hook)
    
    (defadvice load (after give-my-keybindings-priority)
      "Try to ensure that my keybindings always have priority."
      (if (not (eq (car (car minor-mode-map-alist)) 'custom-keys-mode))
          (let ((mykeys (assq 'custom-keys-mode minor-mode-map-alist)))
            (assq-delete-all 'custom-keys-mode minor-mode-map-alist)
            (add-to-list 'minor-mode-map-alist mykeys))))
    (ad-activate 'load)
    (define-key custom-keys-mode-map (kbd "<C-key>") 'some-command)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: python: class override “is” behavior I am trying to override the is
Possible Duplicate: Java: Always override equals? should I override equals function for any class
Possible Duplicate: When do you use Java’s @Override annotation and why? From the javadoc
Possible Duplicate: @Override annotation error (android prefs) I have imported a project into my
Possible Duplicate: PHP - override existing function I want to use mocking to unit
Possible Duplicate: Can i override HOME Button on my own Home-Screen from my application?
Possible Duplicate: Terminated Thread Revival Thread threadWait = new Thread() { @Override public void
Possible Duplicate: Override django-admin edit form field values for encrypted data The inline model
Possible Duplicate: How do I override rails naming conventions? My app is gonna be
Possible Duplicate: Is there any way in C# to override a class method with

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.