Use command key as meta (macOS):
(setq ns-command-modifier 'meta)
Fido mode for minibuffer autocompletion (instead of Helm or Ivy):
(fido-mode t)
(icomplete-vertical-mode t)
I don’t like the custom*
variables being saved in my config file and cluttering it. I prefer to have them in their own location.
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)
Likewise, I don’t like having backup files (~) all over the place. But they are sometimes useful. This setting saves all of them under the same directory.
(setq backup-directory-alist '(("." . "~/.emacs.d/backups")))
Inhibit the startup screen. I’ll take the scratch
buffer, thank you very much.
(setq inhibit-startup-screen t)
I barely use the mouse, so the tool bar and menu bar are just taking screen real state.
(tool-bar-mode -1)
(menu-bar-mode -1)
And I like having the clock in the mode line, so I can easily tell the time when I’m in full screen.
(display-time-mode 1)
Wrap around lines:
(global-visual-line-mode t)
Spacegray theme:
(use-package doom-themes
:config
(load-theme 'doom-palenight t)
(doom-themes-visual-bell-config))
Magit. Use git without the command line.
(use-package pinentry :ensure t)
(use-package magit
:ensure t
:bind ("C-x g" . magit-status)
:config (setq magit-save-repository-buffers nil)
(pinentry-start)
:after (pinentry))