Skip to content

Instantly share code, notes, and snippets.

@jjwatt
Created December 20, 2023 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjwatt/07b006f414f3908d88f1f10d681a3eb8 to your computer and use it in GitHub Desktop.
Save jjwatt/07b006f414f3908d88f1f10d681a3eb8 to your computer and use it in GitHub Desktop.
vanilla emacs "config"
;; 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