start over with empty conf with just some evil

This commit is contained in:
Thomas Ruoff
2019-08-07 23:18:38 +02:00
parent 09a366a315
commit d9d857de65
6 changed files with 38 additions and 403 deletions

38
emacs/.emacs.d/init.el Normal file
View File

@@ -0,0 +1,38 @@
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(eval-when-compile
(require 'use-package))
(use-package evil
:ensure t
:config
(evil-mode 1)
:init
(setq evil-shift-width 4))
(use-package evil-escape
:ensure t
:init
(setq evil-escape-key-sequence "jk")
(setq evil-escape-delay 0.3))
(use-package evil-surround
:ensure t
:config
(global-evil-surround-mode 1))
(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 (quote (evil-surround use-package evil evil-surround))))
(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.
)