-
-
Notifications
You must be signed in to change notification settings - Fork 190
Lem Manual for Users
jason-chandler edited this page Jan 19, 2022
·
32 revisions
-
lem概要
-
mode
-
Vi mode
-
Emacs mode
-
-
REPL
-
補完機能
-
ジャンプ機能
-
キーボードマクロ
Lem has Emacs-like keybindings, as well as a vi emulation (M-x vi-mode
).
So, to open a file, press C-x C-f
(you get the file selection dialog shown above). To save it, it's C-x C-s
.
To switch to the REPL: C-c C-z
.
To compile and load a buffer: C-c C-k
. To compile a function: C-c C-c
.
To switch windows: C-x o
. To make a window fullscreen: C-x 1
. To split it vertically: C-x 3
and horizontally: C-x 2
.
To switch buffers: C-x b
.
To run an interactive command: M-x
(alt-x
).
See this Emacs & Slime cheatsheet to find more: https://lispcookbook.github.io/cl-cookbook/emacs-ide.html#appendix
;; thanks https://gist.github.com/jason-chandler/6332e3fd753fa87e3b1cd13582df5862
(define-color-theme "monokai" ()
(foreground "#eeeeee")
(background "#262626")
(cursor :foreground "#262626" :background "#eeeeee")
(syntax-warning-attribute :foreground "#87005f" :background "#262626")
(syntax-string-attribute :foreground "#d7d787" :background "#262626")
(syntax-comment-attribute :foreground "#666666" :background "#262626")
(syntax-keyword-attribute :foreground "#5fd7ff" :background "#262626")
(syntax-constant-attribute :foreground "#5fd7ff" :background "#262626")
(syntax-function-name-attribute :foreground "#afd700" :background "#262626")
(syntax-variable-attribute :foreground nil :background "#262626")
(syntax-type-attribute :foreground nil :background "#262626")
(syntax-builtin-attribute :foreground nil :background "#262626"))
(load-theme "monokai")
- https://gist.github.com/jason-chandler/6332e3fd753fa87e3b1cd13582df5862 getting cxxxr/valtan to work along with paredit and the monokai theme