commit 169ea685218289896e315dc7a5c4dff6edecbe07
parent 2d76e9de739eced77c737d755b1cd4d493e85893
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date: Wed, 1 Apr 2026 09:34:31 -0300
EMMS.
Diffstat:
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -138,6 +138,14 @@ Disable the audible bell.
(setq ring-bell-function 'ignore)
#+END_SRC
+**** TODO Fix this
+Disable local variables. For some reason, Emacs would sometimes call ~file-remote-p~ on nil inside of ~hack-local-variables~ and completely break.
+
+#+BEGIN_SRC emacs-lisp
+(setq enable-local-variables nil)
+(setq enable-dir-local-variables nil)
+#+END_SRC
+
*** Compile mode
No default command a keybind, colorize the buffer.
@@ -168,17 +176,12 @@ Makes the minibuffer much nicer.
(setopt ivy-use-selectable-prompt t))
(use-package counsel
+ :bind (("C-x /" . counsel-rg))
:init
(counsel-mode 1))
-(use-package swiper)
-
-(use-package orderless
- :init
- (setq completion-styles '(orderless basic))
- (setq completion-category-defaults nil)
- (setq completion-category-overrides
- '((file (styles basic partial-completion)))))
+(use-package swiper
+ :bind (("C-s" . swiper)))
(use-package marginalia
:init (marginalia-mode))
@@ -401,6 +404,19 @@ Sometimes we need a simple web server.
(use-package simple-httpd)
#+END_SRC
+*** EMMS
+Emacs MultiMedia System.
+
+#+BEGIN_SRC emacs-lisp
+(use-package emms
+ :init
+ (emms-all)
+ (emms-default-players)
+ (emms-mpris-enable)
+ (setq emms-player-list '(emms-player-mpv))
+ (setq emms-source-file-default-directory "~/music/"))
+#+END_SRC
+
*** Miscelaneous
Lice to add licenses.