Skip to content

Instantly share code, notes, and snippets.

@anhdiepmmk
Last active February 28, 2022 17:26
Show Gist options
  • Save anhdiepmmk/0610643a38351569e8f67734fc9ecf16 to your computer and use it in GitHub Desktop.
Save anhdiepmmk/0610643a38351569e8f67734fc9ecf16 to your computer and use it in GitHub Desktop.
emacs configuration file
;; 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