Last active
March 1, 2023 14:13
-
-
Save thiago-rezende/caaa069dd98ea3c2eb83876e5aba5dc3 to your computer and use it in GitHub Desktop.
Simple Emacs Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; package initialization | |
(require 'package) | |
(package-initialize) | |
;; package archives | |
(add-to-list 'package-archives | |
'("melpa" . "https://melpa.org/packages/")) | |
;; editor | |
(menu-bar-mode -1) | |
(tool-bar-mode -1) | |
(if (fboundp 'scroll-bar-mode) | |
(scroll-bar-mode -1)) | |
(global-display-line-numbers-mode) | |
;; backups | |
(setq make-backup-files nil) | |
;; startup | |
(setq inhibit-startup-message 1) | |
(setq initial-scratch-message nil) | |
;; theme | |
(load-theme 'wombat) | |
;; use-package | |
(unless (package-installed-p 'use-package) | |
(package-refresh-contents) | |
(package-install 'use-package)) | |
(require 'use-package) | |
;; evil mode | |
;; (use-package evil | |
;; :ensure t | |
;; :config | |
;; (evil-mode) | |
;; (evil-set-undo-system 'undo-redo)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment