mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
39 lines
1.1 KiB
EmacsLisp
39 lines
1.1 KiB
EmacsLisp
(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.
|
|
)
|