Przykładowy plik konfiguracyjny emacs.
;; ========== Support Wheel Mouse Scrolling ==========
(mouse-wheel-mode t)
;; ========== Enable Line and Column Numbering ==========;;;; Show line-number in the mode line(line-number-mode 1)
;; Show column-number in the mode line(column-number-mode 1)
;; ========= Set colours ==========
;; Set cursor and mouse-pointer colours;;(set-cursor-color “red”);;(set-mouse-color “goldenrod”)
;; Set region background colour;;(set-face-background ‘region “blue”)
;; Set emacs background colour;;(set-background-color “black”)
;; ===== Set the highlight current line minor mode =====;;;; ;; In every buffer, the line which contains the cursor will be fully;; ;; highlighted;;(global-hl-line-mode 1)
(add-hook ‘c-mode-hook ‘turn-on-font-lock)
(global-font-lock-mode 1)
No Comments