Skip to content

Instantly share code, notes, and snippets.

@mmarshall540
Last active June 22, 2025 18:12
Show Gist options
  • Save mmarshall540/c5fa065b9aac7e02fa212777a40fb672 to your computer and use it in GitHub Desktop.
Save mmarshall540/c5fa065b9aac7e02fa212777a40fb672 to your computer and use it in GitHub Desktop.
List of default keybindings under C-x and C-c (org-mode) that can use an active region

List of default keybindings that use region under C-x and C-c

(Note: this is easier to read if you click the “Raw” button, or even better, download and view it in Emacs.)

This is for helping to locate bindings that might be corrected for CUA-mode.

Global-map (only C-x)

  • Editing
    C-x TAB
    indent-rigidly
    C-x C-l
    downcase-region
    • Bind downcase-dwim to M-l.
    C-x C-u
    upcase-region
    • Bind upcase-dwim to M-u.
    C-x u
    undo
    • Use CUA’s C-z.
    C-x C-;
    comment-line
    • Bind this to M-;.
    • Unless you prefer its default binding of comment-dwim, in which case you don’t need this command anyway.
  • Macros and Command-execution
    C-x C-k r
    apply-macro-to-region-lines
    C-x ESC ESC and C-x M-:
    repeat-complex-command
  • Abbrevs
    C-x a C-a and C-x a + and C-x a l
    add-mode-abbrev
    C-x a g
    add-global-abbrev
  • Narrowing
    C-x n n
    narrow-to-region
    • Use a custom DWIM command bound to C-|, since narrowing commands use too many keys already.
  • Rectangles
    • These are probably solved by using CUA’s own rectangle mode.
    C-x r M-w
    copy-rectangle-as-kill
    C-x r N
    rectangle-number-lines
    C-x r c
    clear-rectangle
    C-x r d
    delete-rectangle
    C-x r k
    kill-rectangle
    C-x r o
    open-rectangle
    C-x r r
    copy-rectangle-to-register
    C-x r t
    string-rectangle
  • Registers
    C-x r s and C-x r x
    copy-to-register
    • Use CUA’s numeric arguments to copy and cut to numeric registers and to paste from numeric registers. C-9 C-c to copy the region to register 9. C-9 C-x to kill the region to register 9. C-9 C-v to paste from register 9.
  • Version control
    C-x v h
    vc-region-history

Org-mode-map (only C-c)

C-c *
org-ctrl-c-star
C-c +
org-table-sum
C-c -
org-ctrl-c-minus
C-c ^
org-sort
C-c C-,
org-insert-structure-template
C-c C-x C-b
org-toggle-checkbox
C-c C-x C-f
org-emphasize
  • Add characters to insert-pair-alist and bind them to the insert-pair command under M-i.
C-c C-x C-w
org-cut-special
C-c C-x v
org-copy-visible
C-c C-x M-w
org-copy-special
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment