diff --git a/customizations/misc.el b/customizations/misc.el index 2e9f261..f44fa72 100644 --- a/customizations/misc.el +++ b/customizations/misc.el @@ -24,3 +24,6 @@ (insert "\n")) (global-set-key (kbd "C-c C-n") 'new-note) + +(setq mac-option-modifier 'meta) +(setq mac-escape-modifier nil) diff --git a/customizations/ui.el b/customizations/ui.el index 42a619a..d2d1967 100644 --- a/customizations/ui.el +++ b/customizations/ui.el @@ -8,7 +8,8 @@ (menu-bar-mode -1) ;; Show line numbers -(global-linum-mode) +;;(global-linum-mode) +(global-display-line-numbers-mode 1) ;; You can uncomment this to remove the graphical toolbar at the top. After ;; awhile, you won't need the toolbar. @@ -29,7 +30,7 @@ (load-theme 'tomorrow-night-bright t) ;; make line numbers more visible -(set-face-foreground 'linum "yellow") +(set-face-foreground 'line-number "yellow") ;; increase font size for better readability (set-face-attribute 'default nil :height 105)