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-ensure-system-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
Synchronize private notes
./scripts/pkb/sync-private-pull
Start Emacs
./scripts/start-emacs-server
./scripts/start-emacs-client
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.