Last active
February 28, 2022 17:26
-
-
Save anhdiepmmk/0610643a38351569e8f67734fc9ecf16 to your computer and use it in GitHub Desktop.
emacs configuration file
This file contains hidden or 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
;; Set up package.el to work with MELPA | |
(require 'package) | |
(require 'use-package) | |
(package-initialize) | |
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) | |
(add-to-list 'package-archives '("melpa" . "http://stable.melpa.org/packages/")) | |
(use-package org | |
:ensure t) | |
(use-package evil | |
:ensure t | |
:config | |
(evil-mode 1)) | |
(global-display-line-numbers-mode 1) | |
(setq display-line-numbers-type 'relative) | |
(require 'recentf) | |
(recentf-mode 1) | |
(setq recentf-max-menu-items 25) | |
(global-set-key "\C-x\ \C-r" 'recentf-open-files) | |
(use-package vterm | |
:ensure t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment