   :init (load-theme 'spacemacs-dark t))
 
 
-;;; Set `ESC' to `C-g' (no more `ESC-ESC-ESC')
-;;;(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
-(define-key key-translation-map (kbd "ESC") (kbd "C-g"))
-
-
 (custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.


(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))
(eval-when-compile
  (require 'use-package))


(use-package evil
  :ensure t
  :config (evil-mode 1)

  (use-package evil-leader
    :ensure t
    :config (progn
	      (setq evil-leader/in-all-states t)
	      (evil-leader/set-leader "<SPC>")
	      (global-evil-leader-mode)))

  (use-package evil-escape
    :ensure t
    :init (setq evil-escape-key-sequence "jk")
    :config (evil-escape-mode)))

(use-package org
  :ensure t)

(use-package magit
  :defer t)

(use-package rainbow-delimiters
  :ensure t
  :config (add-hook 'prog-mode-hook 'rainbow-delimiters-mode))

 ;; If there is more than one, they won't work right.
 '(package-selected-packages
   (quote
    (diminish evil-numbers ivy use-package spacemacs-theme rainbow-delimiters evil-leader evil-escape))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
