Emacs: Remove (my/toggle-truncate-lines), is already in Emacs.
This commit is contained in:
parent
937611fd12
commit
5ad5efc049
|
@ -13,18 +13,12 @@
|
|||
:custom ((require-final-newline t) ; Always add newline at end of file.
|
||||
(fill-column 80) ; Documents are 80 chars wide by default.
|
||||
(word-wrap t)) ; Wrap at word for continuation lines.
|
||||
:config (defun my/toggle-truncate-lines ()
|
||||
"Toggle `truncate-lines'."
|
||||
(interactive)
|
||||
(if truncate-lines
|
||||
(setq truncate-lines nil)
|
||||
(setq truncate-lines t)))
|
||||
: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.
|
||||
("M-<f7>" . list-registers) ; List all registers.
|
||||
("C-c t" . my/toggle-truncate-lines))
|
||||
("C-c C-S-t" . toggle-truncate-lines))
|
||||
:hook (text-mode . auto-fill-mode)) ; Enable word-wrapping at fill-column.
|
||||
|
||||
;; Quickly jump to next/previous register.
|
||||
|
|
Loading…
Reference in New Issue
Block a user