My Avatar

LanternD's Castle

An electronics enthusiast - survive technically

Spacemacs Rocks Note Day 3

2017-10-24

A series of notes that I learn Emacs hacking. Splitting the it.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

Auto-revert-mode

Package loading mechanism

The real topic of this part

Abbrevation mode

1
2
3
4
(abbrev-mode t)
(define-abbrev-table 'global-abbrev-table '(
					    ("ltd" "LanternD")
					    ))

Popwin package

1
2
(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

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


Disqus Comment 0