added theme

This commit is contained in:
Abraham Raji 2020-01-26 12:28:00 +05:30
parent 23949718a4
commit 538dc9f857
1 changed files with 42 additions and 0 deletions

View File

@ -158,6 +158,19 @@ them all in =~/.emacs.d/backups=, where I can find them with =C-x C-f=
(setq vc-make-backup-files t)
(setq auto-save-file-name-transforms '((".*" "~/.emacs.d/auto-save-list/" t)))
#+end_src
* Themes
I'm a dark theme person. Another theme I'd suggest is the =liso-theme=.
#+BEGIN_SRC emacs-lisp
(use-package doom-themes
:ensure t)
(load-theme ' doom-gruvbox t)
(setq sml/no-confirm-load-theme t)
; Global settings (defaults)
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled
;; Corrects (and improves) org-mode's native fontification.
(doom-themes-org-config)
#+END_SRC
* Windmove
Windmove is a library built into GnuEmacs starting with version 21. It lets
you move point from window to window using Shift and the arrow keys. This is
@ -358,6 +371,35 @@ This turns on the clock globally.
#+BEGIN_SRC emacs-lisp
(display-time-mode 1)
#+END_SRC
* Configure ivy and counsel
I use ivy and counsel as my completion framework.
This configuration:
Uses counsel-M-x for command completion,
Replaces isearch with swiper,
Uses smex to maintain history,
Enables fuzzy matching everywhere except swiper (where its thoroughly unhelpful), and
Includes recent files in the switch buffer.
#+BEGIN_SRC emacs-lisp
(use-package counsel
:bind
("M-x" . 'counsel-M-x)
("C-s" . 'swiper)
:config
(use-package flx)
(use-package smex)
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(setq ivy-count-format "(%d/%d) ")
(setq ivy-initial-inputs-alist nil)
(setq ivy-re-builders-alist
'((swiper . ivy--regex-plus)
(t . ivy--regex-fuzzy))))
#+END_SRC
* custom src
#+BEGIN_SRC emacs-lisp
(org-babel-load-file (expand-file-name "~/.emacs.d/customsrc/dev.org"))