diff options
-rw-r--r-- | init.el | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -820,6 +820,23 @@ | |||
820 | 820 | ||
821 | 821 | ||
822 | ;; --------------------------------- | 822 | ;; --------------------------------- |
823 | ;; Improved HOME key behavior | ||
824 | ;; -------------------------- | ||
825 | ;; Something bugs me about HOME | ||
826 | ;; moving POINT to the actual | ||
827 | ;; beginning of the line. I want it | ||
828 | ;; to go to the beginning of the | ||
829 | ;; text (i.e. follow indentation) | ||
830 | ;; --------------------------------- | ||
831 | |||
832 | ;; Make home key respect indentation | ||
833 | (global-set-key (kbd "<home>") 'beginning-of-line-text) | ||
834 | |||
835 | ;; Use Shift + HOME for old behavior | ||
836 | (global-set-key (kbd "S-<home>") 'beginning-of-visual-line) | ||
837 | |||
838 | |||
839 | ;; --------------------------------- | ||
823 | ;; Improved Help buffer | 840 | ;; Improved Help buffer |
824 | ;; -------------------- | 841 | ;; -------------------- |
825 | ;; Helpful provides a more | 842 | ;; Helpful provides a more |