|
|
@ -154,16 +154,13 @@ |
|
|
|
(column-number-mode 1) |
|
|
|
(column-number-mode 1) |
|
|
|
|
|
|
|
|
|
|
|
;; column highlight |
|
|
|
;; column highlight |
|
|
|
|
|
|
|
(require 'fill-column-indicator) |
|
|
|
(setq-default fill-column 80) |
|
|
|
(setq-default fill-column 80) |
|
|
|
(define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) |
|
|
|
(define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) |
|
|
|
(global-fci-mode 1) |
|
|
|
(global-fci-mode 1) |
|
|
|
|
|
|
|
|
|
|
|
;; line numbers |
|
|
|
;; line numbers |
|
|
|
(global-linum-mode 1) |
|
|
|
(global-linum-mode 1) |
|
|
|
(defun configure-linum-colors () |
|
|
|
|
|
|
|
(set-face-foreground 'linum "#555555")) |
|
|
|
|
|
|
|
(configure-linum-colors) |
|
|
|
|
|
|
|
;; redefine the format; otherwise, the number will get "glued" to the code. |
|
|
|
|
|
|
|
(setq linum-format " %5d ") |
|
|
|
(setq linum-format " %5d ") |
|
|
|
|
|
|
|
|
|
|
|
;; answer questions with 'y' instead of full 'yes' |
|
|
|
;; answer questions with 'y' instead of full 'yes' |
|
|
|