Interface
1. basics
remove unnessecary ui elements
(menu-bar-mode 0)
(when (display-graphic-p)
(tool-bar-mode 0)
(scroll-bar-mode 0))
The documentation advices against changing use-short-answers
as the user should carully consider answering yes-or-no-p
questions.
(setq use-short-answers t)
2. theme
I really like the modus themes.
(use-package modus-themes :straight t :ensure t :config (load-theme (if (my/prefer-light-p) 'modus-operandi 'modus-vivendi-tinted) t))
3. swiper
(use-package swiper :straight t :ensure t) (use-package counsel :straight t :ensure t) (ivy-mode) (setq ivy-use-virtual-buffers t) (setq enable-recursive-minibuffers t) ;; enable this if you want `swiper' to use it ;; (setq search-default-mode #'char-fold-to-regexp) (global-set-key "\C-s" 'swiper) (global-set-key (kbd "C-c C-r") 'ivy-resume) (global-set-key (kbd "<f6>") 'ivy-resume) (global-set-key (kbd "M-x") 'counsel-M-x) (global-set-key (kbd "C-x C-f") 'counsel-find-file) (global-set-key (kbd "<f1> f") 'counsel-describe-function) (global-set-key (kbd "<f1> v") 'counsel-describe-variable) (global-set-key (kbd "<f1> o") 'counsel-describe-symbol) (global-set-key (kbd "<f1> l") 'counsel-find-library) (global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol) (global-set-key (kbd "<f2> u") 'counsel-unicode-char) (global-set-key (kbd "C-c g") 'counsel-git) (global-set-key (kbd "C-c j") 'counsel-git-grep) (global-set-key (kbd "C-c k") 'counsel-ag) (global-set-key (kbd "C-x l") 'counsel-locate) (global-set-key (kbd "C-S-o") 'counsel-rhythmbox) (define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history)
(when (my/device-boox-p) (global-set-key (kbd "M-SPC") 'set-mark-command))