Emacs: Add simpler keybindings for points in registers.

This commit is contained in:
tastytea 2020-01-07 10:45:05 +01:00
parent 4faa73ba20
commit 159ddd1c9b
1 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-01-07T07:32:45+0100>
;; Time-stamp: <2020-01-07T10:42:10+0100>
;;; Commentary:
@ -286,5 +286,13 @@
(whitespace-space ((nil :foreground "gray18")))
)
(use-package register
:ensure nil ; Builtin.
:bind
("C-r" . jump-to-register) ; Move point to location in register.
("C-S-r" . point-to-register) ; Store location of point in register.
)
(provide 'text/common)
;;; common.el ends here