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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:10:32+00:00 2026-06-11T23:10:32+00:00

I would like to bind the following key sequence C-x r l to a

  • 0

I would like to bind the following key sequence C-x r l to a function called helm-bookmarks.

From what I understand, I could do this with a keymap that is triggered with C-x, e.g.

(define-prefix-command 'my_sense_map)
(global-set-key (kbd "C-x") 'my_sense_map)
(define-key my_sense_map (kbd "r l") 'helm-bookmarks)

but this shadows all my other bindings (e.g. C-x 2 or C-x 3 for window splitting), i.e. they stop working.

How can I bind C-x r l to 'helm-bookmarks without changing any other key bindings?

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

    All you need to do is to just set the binding of C-xrl in the current global map to helm-bookmarks:

    (global-set-key (kbd "C-x r l") 'helm-bookmarks)
    

    Emacs defines C-x as a prefix key that uses a keymap stored in the variable ctl-x-map, which contains most bindings for key sequences starting with C-x. If you re-define it so that it uses a new keymap with no entries, you will lose all those bindings stored in ctl-x-map.

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

Sidebar

Related Questions

I have the following collection which i would like to bind to a combobox:
I would like to bind C-` (control-backquote) but I could not do it. The
I would like to bind to initialized datepicker onSelect function. I've been trying hard
I have the following XAML in a WPF application. I would like to bind
I'm using AUCTeX and I would like to bind a key, e.g. C-0 ,
I am having trouble with this combination: I would like to bind both my
I would like to have a route like this get users/sms_confirmation/:sms_confirmation_code => users#sms_confirmation bind
I would like to use Spring's @RequestBody annotation to bind JSON from the request
I would like to bind the boolean enabled property of an NSTextField to the
I would like to bind a TreeView control I have defined in XAML to

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.