Skip to content

Instantly share code, notes, and snippets.

View lazaruslarue's full-sized avatar
🐦
* chirp *

lazarus lazaruslarue

🐦
* chirp *
View GitHub Profile
@lazaruslarue
lazaruslarue / spacemacs-cheatsheet.md
Last active January 12, 2020 19:26 — forked from heroheman/spacemacs-cheatsheet.md
Spacemacs Cheatsheet - A cheat sheet for my most common shortcuts in Spacemacs

General

Shortcut Description
SPC f e d Open Configuration
SPC f e R Reload Configuration
SPC SPC Search Emacs
SPC h SPC Search Spacemacs Layer
SPC f s Save Buffer
SPC q q Quit Emacs w/ Prompt
SPC q Q Quit Emacs w/o Prompt
(function () {
var makeCallback = function(eventType, observer) {
if (eventType === 'value') {
return function(snap) {
observer.onNext(snap);
};
} else {
return function(snap, prevName) {
// Wrap into an object, since we can only pass one argument through.
observer.onNext({snapshot: snap, prevName: prevName});