mirror of http://codeberg.org/g1n/.emacs.d.git
Initial commit
This commit is contained in:
commit
f24b4e8f2f
|
@ -0,0 +1,4 @@
|
|||
elpa
|
||||
auto-save-list
|
||||
*#
|
||||
*~
|
|
@ -0,0 +1,12 @@
|
|||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages '(evil doom-themes use-package)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
|
@ -0,0 +1,45 @@
|
|||
;; melpa
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
||||
(package-initialize)
|
||||
|
||||
;; use-package
|
||||
(eval-when-compile
|
||||
(require 'use-package))
|
||||
|
||||
;; THEME
|
||||
(require 'doom-themes)
|
||||
(use-package doom-themes
|
||||
:config
|
||||
;; 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
|
||||
(load-theme 'doom-peacock t))
|
||||
|
||||
;; custom
|
||||
(setq custom-file "~/.emacs.d/custom.el")
|
||||
(load custom-file)
|
||||
|
||||
;; EVIL
|
||||
;;; Download Evil
|
||||
(unless (package-installed-p 'evil)
|
||||
(package-install 'evil))
|
||||
|
||||
;;; Enable Evil
|
||||
(require 'evil)
|
||||
(evil-mode 1)
|
||||
|
||||
;; no startup message
|
||||
(setq inhibit-startup-message t)
|
||||
|
||||
;; no toolbar
|
||||
(progn
|
||||
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
|
||||
(menu-bar-mode -1)
|
||||
(scroll-bar-mode -1))
|
||||
|
||||
;; don't ask to spell out "yes"
|
||||
(fset 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
;; show line numbers
|
||||
(global-display-line-numbers-mode)
|
Loading…
Reference in New Issue