zkk / Emacs from scratch - System Crafters



The Basics of Emacs Configuration

emacs configuration file

basic configurations

Emacs configuration file is written in Elisp programming language. E(macs)lisp language belongs to the lisp programming language category.

Emacs configuration file is all about:

setting variable value

(setq inhibit-startup-message t)

To evaluate a function:

Tunrinig mode on or off

Setting mode on or off is all about set the variable with a positive or negative value, conventionally is to set -1 to disable or 1 to enable.

(tool-bar-mode -1)
(scroll-bar-mode -1)
(menu-bar-mode -1)

Load themes

(load-theme 'deeper-blue t)

Basically setting true the variable related to said theme. The symbol ' before the variable tell Emacs Please do not evalute the following.

Some key-bindings

Copy/cut and paste

Getting help

Pressing C-h v or C-h f with coursor over a function or variable the default action is to show description of said variable/function.