Created
December 20, 2023 02:42
-
-
Save jjwatt/07b006f414f3908d88f1f10d681a3eb8 to your computer and use it in GitHub Desktop.
vanilla 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
;; This buffer is for text that is not saved, and for Lisp evaluation. | |
;; To create a file, visit it with C-x C-f and enter text in its buffer. | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "https://melpa.org/packages/") t) | |
(package-initialize) | |
(package-refresh-contents) | |
(unless (package-installed-p 'evil) | |
(package-install 'evil)) | |
(require 'evil) | |
(evil-mode 1) | |
(unless (package-installed-p 'magit) | |
(package-install 'magit)) | |
(require 'magit) | |
(unless (package-installed-p 'markdown-mode) | |
(package-install 'markdown-mode)) | |
(require 'markdown-mode) | |
;; Doesn't seem to work. | |
;; but, bazelbuild provides one with no other deps | |
;; https://github.com/bazelbuild/emacs-bazel-mode | |
;; oh yeah just copy it in emacs load path to bazel.el | |
;; (unless (package-installed-p 'bazel-mode) | |
;; (package-install 'bazel-mode)) | |
;; (require 'bazel-mode) | |
;; Ah! But it is on there, just as bazel | |
(unless (package-installed-p 'bazel) | |
(package-install 'bazel)) | |
(require 'bazel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment