diff options
author | Humphrey Lin <[email protected]> | 2020-11-26 12:50:22 +0800 |
---|---|---|
committer | Humphrey Lin <[email protected]> | 2020-11-26 12:50:22 +0800 |
commit | 6c0e55563b7ae36b8d3b5fa81d731cbcf9db4312 (patch) | |
tree | 24b2e805f2781e7c0846b3704ca99c0688ea0b47 /init.el | |
parent | 79035ca45fa13628fd8c34c369d6a8cbc22068b4 (diff) | |
download | dotfiles-6c0e55563b7ae36b8d3b5fa81d731cbcf9db4312.tar.gz dotfiles-6c0e55563b7ae36b8d3b5fa81d731cbcf9db4312.tar.bz2 dotfiles-6c0e55563b7ae36b8d3b5fa81d731cbcf9db4312.zip |
Add wsl2 config and emacs config
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -0,0 +1,29 @@ +;; Set up package.el to work with MELPA +(require 'package) +(add-to-list 'package-archives + '("melpa" . "https://melpa.org/packages/")) +(package-initialize) +(package-refresh-contents) + +(when (version<= "26.0.50" emacs-version) + (global-display-line-numbers-mode)) + +;; Download Evil +(unless (package-installed-p 'evil) + (package-install 'evil)) + +;; Enable Evil +(require 'evil) +(evil-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)))) +(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. + ) |