Emacs: Add keybindings for copy-to-register and insert-register.

This commit is contained in:
tastytea 2020-02-19 01:15:55 +01:00
parent ff420e32f0
commit ee44595d60

View File

@ -1,6 +1,6 @@
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*- ;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-02-19T01:15:14+0100> ;; Time-stamp: <2020-02-19T01:15:41+0100>
;;; Commentary: ;;; Commentary:
@ -62,6 +62,8 @@
:bind :bind
("C-r" . jump-to-register) ; Move point to location in register. ("C-r" . jump-to-register) ; Move point to location in register.
("C-S-r" . point-to-register) ; Store location of point in register. ("C-S-r" . point-to-register) ; Store location of point in register.
("M-W" . copy-to-register) ; Store text in register.
("C-S-y" . insert-register) ; Insert text from register.
("C-<f5>" . my/prev-register) ; Jump to previous marker register. ("C-<f5>" . my/prev-register) ; Jump to previous marker register.
("C-<f6>" . my/next-register) ; Jump to next marker register. ("C-<f6>" . my/next-register) ; Jump to next marker register.