diff options
author | Alan Pearce | 2017-09-08 23:15:24 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-08 23:15:24 +0200 |
commit | 0f70a52af55ff90f10282d4894dfba0bb0dd0404 (patch) | |
tree | 1c1a9c3e2b9a220950349955cbc9dbc8b6af6cb7 | |
parent | 2036b1e56798d4ade05fee3475280ea7c111a591 (diff) | |
download | dotfiles-0f70a52af55ff90f10282d4894dfba0bb0dd0404.tar.lz dotfiles-0f70a52af55ff90f10282d4894dfba0bb0dd0404.tar.zst dotfiles-0f70a52af55ff90f10282d4894dfba0bb0dd0404.zip |
Emacs: Replace beacon with builtin hl-line-mode
-rw-r--r-- | emacs/.emacs.d/main.el | 19 | ||||
-rw-r--r-- | nix/.config/nixpkgs/emacs.nix | 1 |
2 files changed, 2 insertions, 18 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 5a665c7..1844ffd 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -183,6 +183,8 @@ :diminish highlight-stages-mode) ;; #+END_SRC +(global-hl-line-mode +1) + ;;;;;; Fonts ;; When possible, set up fonts. I don’t have any settings here for X11, @@ -366,23 +368,6 @@ (volatile-highlights-mode t))) ;; #+END_SRC -;;;;;; Beacon - -;; I was against the idea of having flashy animations inside Emacs, but -;; this one is useful. It highlights the cursor when scrolling or -;; switching windows. - -;; #+BEGIN_SRC emacs-lisp -(use-package beacon - :diminish beacon-mode - :config (progn - (beacon-mode +1) - (setq beacon-blink-delay 0.25 - beacon-blink-duration 0.25 - beacon-size 20 - beacon-color "#a1b56c"))) -;; #+END_SRC - ;;;;;; Renaming major modes ;; Diminishing major modes does not happen in the same manner as minor diff --git a/nix/.config/nixpkgs/emacs.nix b/nix/.config/nixpkgs/emacs.nix index aface0f..d517364 100644 --- a/nix/.config/nixpkgs/emacs.nix +++ b/nix/.config/nixpkgs/emacs.nix @@ -156,7 +156,6 @@ in which-key yaml-mode ]) ++ (with epkgs.elpaPackages; [ - beacon rainbow-mode ]) ++ [ # defined above |