Browse Source

More emacs

Simon Watson 3 years ago
parent
commit
b688cbcc71
1 changed files with 11 additions and 3 deletions
  1. 11 3
      emacs/.emacs-mac

+ 11 - 3
emacs/.emacs-mac

@@ -47,6 +47,11 @@
 (straight-use-package 'ac-slime)
 ;; Not enabled/required by default
 (straight-use-package 'evil)
+(straight-use-package 'dimmer)
+
+(require 'dimmer)
+(setq dimmer-fraction 0.4)
+(dimmer-mode t)
 
 ;; always enable ido mode
 (require 'ido)
@@ -85,15 +90,16 @@
 
 (require 'all-the-icons)
 
+(require 'sublimity)
 (require 'sublimity-scroll)
 (require 'sublimity-map) ;; experimental
 (require 'sublimity-attractive)
 (setq sublimity-scroll-weight 10
       sublimity-scroll-drift-length 5)
-(setq sublimity-map-size 20)
+(setq sublimity-map-size 30)
 (setq sublimity-map-fraction 0.3)
-(setq sublimity-map-text-scale -7)
-(sublimity-map-set-delay 1)
+(setq sublimity-map-text-scale -5)
+(sublimity-map-set-delay nil)
 (setq sublimity-attractive-centering-width nil)
 
 (add-to-list 'default-frame-alist '(font . "GohuFont" ))
@@ -108,6 +114,8 @@
 (load-theme 'nano t)
 (nano-dark)
 
+;; Allow M-up / M-down behavior to switch windows
+(windmove-default-keybindings 'meta)
 
 (display-time-mode t)
 (display-line-numbers-mode t)