 
 ;; My preferred set up
 (setq
+  apropos-do-all t                      ;; More extensive search in apropos
+  delete-by-moving-to-trash t           ;; Move to OS' trash when deleting stuff
   display-time-24hr-format t            ;; Time in 24h format
   doom-modeline-enable-word-count t     ;; Add a word count selection-info modeline segment.
   doom-modeline-major-mode-color-icon t ;; Display color icons for `major-mode'. It respects `all-the-icons-color-icons'.

(global-set-key (kbd "C-. p") (lambda () (interactive) (find-file (expand-file-name "my-packages.el" my-elisp-dir))))
(global-set-key (kbd "C-. u") (lambda () (interactive) (find-file (expand-file-name "my-ui.el" my-elisp-dir))))

;; Some modes settings
(add-hook 'sgml-mode-hook 'emmet-mode) ;; Auto-start emmet on any markup modes
(add-hook 'css-mode-hook  'emmet-mode) ;; And on css modes as well

;; UI tweaks on macOS
;;;;;;;;;;;;;;;;;;;;;

  :inherit nil
  :background (face-background 'highlight))

;; Some modes settings
(add-hook 'before-save-hook 'copyright-update)        ;; Automatically updates copyright updates on save
(add-hook 'css-mode-hook  'emmet-mode)                ;; And on css modes as well
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode) ;; Dired support for all-the-icons
(add-hook 'sgml-mode-hook 'emmet-mode)                ;; Auto-start emmet on any markup modes

;; Make the default frame maximized at startup
(add-to-list 'default-frame-alist '(fullscreen . maximized))

;; Enable web-mode for editing HTML files
(require 'web-mode)
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))

;; Make sure PDF will be opened with pdf-tools
(pdf-loader-install)

;;;;;;;;;;;;;;;;

;; Global custom keyboard shortcuts
(global-set-key (kbd "M-g")    'goto-line)
