mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
a bit cleaner lisp code in appearance file
This commit is contained in:
@@ -27,19 +27,19 @@
|
||||
;; Display line numbers globally
|
||||
(global-linum-mode t)
|
||||
(if window-system
|
||||
(setq linum+-smart-format "%%%dd") (setq linum+-smart-format "%%%dd "))
|
||||
(if window-system
|
||||
(setq linum+-dynamic-format "%%%dd") (setq linum+-dynamic-format "%%%dd "))
|
||||
(setq linum+-smart-format "%%%dd" linum+-dynamic-format "%%%dd")
|
||||
(setq linum+-smart-format "%%%dd " linum+-dynamic-format "%%%dd "))
|
||||
|
||||
;; scroll one line at a time (less "jumpy" than defaults)
|
||||
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)) ;; one line at a time
|
||||
mouse-wheel-progressive-speed nil ;; don't accelerate scrolling
|
||||
mouse-wheel-follow-mouse 't ;; scroll window under mouse
|
||||
scroll-step 1 ;; keyboard scroll one line at a time
|
||||
scroll-margin 10)
|
||||
|
||||
;; Display whitespace characters globally
|
||||
(global-whitespace-mode t)
|
||||
|
||||
;; scroll one line at a time (less "jumpy" than defaults)
|
||||
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) ;; one line at a time
|
||||
(setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling
|
||||
(setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse
|
||||
(setq scroll-step 1) ;; keyboard scroll one line at a time
|
||||
|
||||
;; Customize Whitespace Characters
|
||||
(setq whitespace-display-mappings
|
||||
(quote ((newline-mark ?\n [?¬ ?\n] [?$ ?\n])
|
||||
|
||||
Reference in New Issue
Block a user