diff --git a/init.el b/init.el index 6f3bfa1..cfab601 100644 --- a/init.el +++ b/init.el @@ -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)