You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.org
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,60 @@ configuration file:
58
58
You can also decide to only activate beginend for some of its
59
59
supported major modes (e.g., through ~beginend-dired-mode~).
60
60
61
+
*** init.el example configuration
62
+
63
+
Vanilla Emacs ~init.el~:
64
+
65
+
#+BEGIN_SRC emacs-lisp
66
+
(require 'beginend)
67
+
(beginend-global-mode)
68
+
#+END_SRC
69
+
70
+
Configuration with the popular [[https://github.com/jwiegley/use-package][use-package]] macro:
71
+
72
+
#+BEGIN_SRC emacs-lisp
73
+
(use-package beginend
74
+
:ensure t
75
+
:demand t
76
+
:config
77
+
(beginend-global-mode))
78
+
#+END_SRC
79
+
80
+
** Cleaning up the modeline
81
+
82
+
By default, beginend adds the ~be~ lighter to the modeline.
83
+
84
+
You can use [[https://github.com/myrjola/diminish.el][diminish.el]] or [[https://savannah.nongnu.org/projects/delight][delight.el]] to turn this off for every minor
85
+
mode beginend defines by looping over the ~beginend-modes~ variable.
86
+
Note that you will /also/ need to "turn off the lights" for
87
+
~beginend-global-mode~, which is not part of this list.
88
+
89
+
If you usually diminish all minor modes, I recommend using [[https://melpa.org/#/minions][minions.el]].
90
+
91
+
In the following snippets, you can replace ~delight~ with ~diminish~ for
0 commit comments