From 047db7456e4a1a4b9b536db6a1c22ec904fc86ec Mon Sep 17 00:00:00 2001 From: Yishuai Li Date: Sat, 25 Jul 2020 16:52:01 -0400 Subject: [PATCH] MELPA instructions --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index c8dd836..9358354 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,17 @@ There might be lines you don't want to get trimmed, e.g. spaces in multiline str `apt-get install elpa-ws-butler` +### MELPA +If you haven't [enabled MELPA](https://melpa.org/#/getting-started), +add the following to your `.emacs` and restart Emacs: + + (require 'package) + (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) + (package-initialize) + +Then, run `M-x package-refresh-contents RET` followed by +`M-x package-install RET ws-butler RET` to install `ws-butler`. + ### Configuration To use ws-butler, require it and add ws-butler-mode as a hook on any mode