update
This commit is contained in:
parent
89a9f17fcd
commit
75901ee9bf
2 changed files with 12 additions and 5 deletions
11
emacs.el
11
emacs.el
|
|
@ -48,14 +48,13 @@
|
||||||
|
|
||||||
(define-minor-mode remove-trailing-whitespace-mode
|
(define-minor-mode remove-trailing-whitespace-mode
|
||||||
"Minor mode to remove trailing whitespace on every save"
|
"Minor mode to remove trailing whitespace on every save"
|
||||||
:lighter " rmtws"
|
|
||||||
|
|
||||||
(add-hook 'before-save-hook 'delete-trailing-whitespace))
|
(add-hook 'before-save-hook 'delete-trailing-whitespace))
|
||||||
|
|
||||||
(add-hook 'prog-mode-hook 'remove-trailing-whitespace-mode)
|
(add-hook 'prog-mode-hook 'remove-trailing-whitespace-mode)
|
||||||
|
|
||||||
;; Other stuff
|
;; Other stuff
|
||||||
(straight-use-package 'better-defaults)
|
(straight-use-package 'better-defaults)
|
||||||
|
(straight-use-package 'delight)
|
||||||
(straight-use-package 'doom-themes)
|
(straight-use-package 'doom-themes)
|
||||||
(straight-use-package 'undo-tree)
|
(straight-use-package 'undo-tree)
|
||||||
(straight-use-package 'multiple-cursors)
|
(straight-use-package 'multiple-cursors)
|
||||||
|
|
@ -70,7 +69,7 @@
|
||||||
(straight-use-package 'marginalia)
|
(straight-use-package 'marginalia)
|
||||||
(straight-use-package 'company)
|
(straight-use-package 'company)
|
||||||
;; (straight-use-package 'eglot)
|
;; (straight-use-package 'eglot)
|
||||||
;; (straight-use-package 'lsp-mode)
|
(straight-use-package 'lsp-mode)
|
||||||
(straight-use-package 'speed-type)
|
(straight-use-package 'speed-type)
|
||||||
(straight-use-package 'magit)
|
(straight-use-package 'magit)
|
||||||
(straight-use-package 'restart-emacs)
|
(straight-use-package 'restart-emacs)
|
||||||
|
|
@ -113,11 +112,13 @@
|
||||||
|
|
||||||
(use-package undo-tree
|
(use-package undo-tree
|
||||||
:config
|
:config
|
||||||
(global-undo-tree-mode))
|
(global-undo-tree-mode)
|
||||||
|
:delight)
|
||||||
|
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:config
|
:config
|
||||||
(which-key-mode))
|
(which-key-mode)
|
||||||
|
:delight)
|
||||||
|
|
||||||
(use-package doom-themes
|
(use-package doom-themes
|
||||||
:config
|
:config
|
||||||
|
|
|
||||||
6
mpd.conf
6
mpd.conf
|
|
@ -2,3 +2,9 @@ music_directory "/home/joachim/audio/music"
|
||||||
playlist_directory "/home/joachim/.mpd/playlists"
|
playlist_directory "/home/joachim/.mpd/playlists"
|
||||||
state_file "/home/joachim/.mpd/state"
|
state_file "/home/joachim/.mpd/state"
|
||||||
sticker_file "/home/joachim/.mpd/sticker.sql"
|
sticker_file "/home/joachim/.mpd/sticker.sql"
|
||||||
|
pid_file "/home/joachim/.mpd/pid"
|
||||||
|
|
||||||
|
audio_output {
|
||||||
|
type "pulse"
|
||||||
|
name "PulseAudio"
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue