Personal Knowledge Base
Install Emacs and C compiler
sudo apt install emacs
sudo apt install build-essential
Install use-package by creating an Emacs Init File (~/.emacs.el
, ~/.emacs.d/init.el
, ~/.config/emacs/init.el
):
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
Start Emacs
emacs
Install use-package
in the Emacs terminal
M-x package-refresh-contents RET
M-x package-install RET use-package RET
Kill Emacs process
ps -fea | grep emacs
kill -9 <PID>
Replace initialization files and copy packages (move-lines.el, showkey.el)
cp pkb/config/.emacs-debian ~/.emacs.d/init.el
cp pkb/config/custom-vars-debian.el ~/.emacs.d/custom-vars.el
mkdir ~/.emacs.d/lisp
cp pbk/config/packages/*.el ~/emacs.d/lisp
Start Emacs
sh pkb/scripts/start-emacs-server.sh
sh pkb/scripts/start-emacs-client.sh
Feel free to file a GitHub issue or follow me on Twitter. If you prefer a secure channel chat with me on Keybase.
Follow the Contribution guidelines for this project.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Executable code (complete examples) is under the MIT License.