help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting keybinding for org-support-shift-select t


From: Christopher Dimech
Subject: Re: Setting keybinding for org-support-shift-select t
Date: Sun, 4 Oct 2020 14:25:27 +0200

A problem I am encountering with keybindings is that I end up with very strange
key combinations. I rather type a key followed by a string as is done in Emacs
such as "M-x org-mode". Is there an relatively easy way to do this for one's own
operations?

Cheers
C*


> Sent: Sunday, October 04, 2020 at 12:52 PM
> From: "Emanuel Berg via Users list for the GNU Emacs text editor" 
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Setting keybinding for org-support-shift-select t
>
> > (require 'some-mode)
> >
> > (define-key some-mode-map "[\MODIFIER-]key[-...]" #'function-name)
>
> E.g., it can look like this:
>
> (require 'org)
>
> (define-key org-mode-map "\C-c\C-c" #'org-latex-export-to-pdf)
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
> https://dataswamp.org/~incal
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]