(require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) (package-refresh-contents) (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 (git-gutter rainbow-delimiters auto-complete-distel ## auto-complete evil-magit evil magit)))) (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. ) (require 'auto-complete) (global-auto-complete-mode t) (require 'evil) (define-key evil-normal-state-map (kbd "C-k") 'evil-scroll-up) (define-key evil-normal-state-map (kbd "C-j") 'evil-scroll-down) (evil-mode 1) (require 'evil-magit) (add-hook 'prog-mode-hook #'rainbow-delimiters-mode) (global-git-gutter-mode +1) (setq cider-font-lock-dynamically '(macro core function var)) (define-key evil-insert-state-map (kbd "C-\\") 'cider-eval-defun-up-to-point) (define-key evil-normal-state-map (kbd "C-\\") 'cider-eval-defun-up-to-point)