My Avatar

LanternD's Castle

PhD Student in ECE @ MSU

Spacemacs Rocks Note Day 3


A series of notes that I learn Emacs hacking. Splitting the `init.el` file, enabling auto revert mode, package loading mechanism overview, enable abbreivation mode, about popwin package, more about major and minor mode in Eamcs, function and variable naming convention, counsel-git to find files.

Split the init.el configuration into multiple files

Use git to keep track of your .emacs.d


Package loading mechanism

The real topic of this part

Abbrevation mode

(abbrev-mode t)
(define-abbrev-table 'global-abbrev-table '(
					    ("ltd" "LanternD")

Popwin package

(require 'popwin)
(popwin-mode t)

More about major and minor mode

require and load-file

Naming conventions

3 types of major mode

Set key for counsel-git

(global-set-key (kbd "C-c p f") 'counsel-git)

Disqus Comment 0