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
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; 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:
@ -62,6 +62,8 @@
:bind
("C-r" . jump-to-register) ; Move point to location 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-<f6>" . my/next-register) ; Jump to next marker register.