+;; Load configuration for website
+;(load "mustache-html")
+
+;; Denote config
+(setq denote-directory "/home/frederik/Nextcloud/notes/")
+
+;; Dired configuration
+(with-eval-after-load 'dired
+ (require 'dired-x)
+ ;; Set dired-x global variables here. For example:
+ ;; (setq dired-x-hands-off-my-keys nil)
+ )
+(add-hook 'dired-mode-hook
+ (lambda ()
+ ;; Set dired-x buffer-local variables here.
+ (dired-omit-mode 1)
+ (dired-hide-details-mode 1)
+ (nerd-icons-dired-mode 1)
+ ))
+(setq delete-by-moving-to-trash t)
+(setq dired-guess-shell-alist-user
+ '(("\\.\\(png\\|jpe?g\\|tiff\\)" "feh" "xdg-open")
+ ("\\.\\(mp[34]\\|m4a\\|ogg\\|flac\\|webm\\|mkv\\)" "mpv" "xdg-open")
+ (".*" "xdg-open")))
+
+;; Use `vertico' package to get a vertical view of the minibuffer.
+(setq vertico-resize nil)
+(vertico-mode 1)
+
+;; Use `marginalia' package. This will display useful
+;; annotations next to entries in the minibuffer. For example, when
+;; using M-x it will show a brief description of the command as well
+;; as the keybinding associated with it (if any).
+(marginalia-mode 1)
+
+;; Use 'winner' mode to undo and redo windows changes
+;; using C-c <left> and C-c <right>.
+(winner-mode 1)