1

Add key bind to toggle line wrapping

This commit is contained in:
Jessie Hildebrandt 2017-11-15 13:38:58 -05:00
parent ceaae99c10
commit ea49b52ffd

View File

@ -16,6 +16,7 @@
;;====================
;; Custom Bindings:
;; [ F6 ] -> Toggle line-wrapping
;; [ F7 ] -> Toggle linum-mode
;; [ C-x C-b ] -> (Overwritten) Invoke ibuffer
;; [ C-x RET ] -> Open eshell in the current buffer
@ -25,6 +26,9 @@
;; [ M-. ] -> Go to definition
;; [ C-/ ] -> Alt. undo binding
;; Bind a key to toggle line wrapping behavior.
(global-set-key [f6] 'toggle-truncate-lines)
;; Bind a key to show line numbers.
(global-set-key [f7] 'linum-mode)