Henrik Lissner
464e7f8bbd
lang/common-lisp: remove obsolete advice
2019-08-21 15:02:53 -04:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
...
See a3e262c7
for rationale
2019-07-28 16:10:53 +02:00
Henrik Lissner
02f2ad1e8d
lang/common-lisp: conform to new conventions
2019-07-26 03:12:07 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
...
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.
Also changes def-package-hook! -> use-package-hook!
The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
...
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:
- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces
More potential changes in the future:
- A new :term category for terminal emulation modules (eshell, term and
vterm).
- A new :os category for modules dedicated to os-specific functionality.
The :tools macos module would fit here, but so would modules for nixos
and arch.
- A new :services category for web-service integration, like wakatime,
twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
Henrik Lissner
7885cbb4f7
Merge sly db/inspector popup rule into others
2019-04-14 13:39:57 -04:00
Henrik Lissner
5e7638d061
Merge pull request #1287 from mfiano/common-lisp-bindings-fix-1
...
Changed some wrong common-lisp bindings
2019-04-02 15:35:59 -04:00
Michael Fiano
0b2f18542c
Fixed bug where sly-db-quit was not being called
2019-03-28 22:31:06 -04:00
Michael Fiano
275bea568e
Added more bindings
2019-03-28 21:40:06 -04:00
Michael Fiano
d77e1fa15f
Removed common-lisp macrostep hydra
...
This can cause a variety of problems, and the actual macrostep mode
toggle has the same keybindings, so no loss of functionality.
2019-03-28 20:00:50 -04:00
Michael Fiano
2f35680845
Added labels for Sly bindings
2019-03-28 19:56:00 -04:00
Michael Fiano
a4364b3fea
Added a label for starting Sly.
...
Also added a command for starting Sly with a choice for the
implementation to use.
2019-03-28 19:17:32 -04:00
Michael Fiano
9519003bcd
Fix common-lisp local leader prefix labels
2019-03-28 19:05:52 -04:00
Michael Fiano
80ea315cca
Changed some wrong common-lisp bindings
...
The Sly documentation which these were originally based off of is out of
date, causing some of the bindings to have no longer defined functions.
2019-03-28 18:28:10 -04:00
Henrik Lissner
9a8f3070a6
Merge pull request #1119 from mfiano/patch-3
...
common-lisp module: Added keybind to quit sly-xref-mode windows
2019-01-20 14:10:51 -05:00
Henrik Lissner
195212f71c
Merge pull request #1118 from mfiano/patch-2
...
common-lisp module: Fix sly-db button binding
2019-01-20 14:10:16 -05:00
Michael Fiano
a183fcddf5
common-lisp module: Added keybind to quit sly-xref-mode windows
2019-01-14 20:48:03 -05:00
Michael Fiano
ddc0c1fc21
common-lisp module: Fix sly-db button binding
2019-01-14 20:07:41 -05:00
Michael Fiano
b7de17aecd
common-lisp module sly-db-quit fix
...
The `q` binding for `sly-popup-buffer-mode-map` was overriding `sly-db-mode`'s binding, causing lots of issues.
2019-01-14 19:54:17 -05:00
Henrik Lissner
3f195614d9
Normalize :leader/:localleader keybinds
...
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
Henrik Lissner
38d0d88018
lang/common-lisp: lazyload sly-repl-ansi-color #1032
2018-12-05 22:11:54 -05:00
Henrik Lissner
7b761a9b42
Refactor feature deferral for (common|emacs)-lisp
...
'lisp-mode is now deferred, to make it easier to lazy-configure it
2018-12-05 22:11:54 -05:00
Michael Fiano
261750c158
Fix: Improve common-lisp module bindings
2018-12-02 01:51:48 -05:00
Michael Fiano
89c1180b73
Minor: lexicographically sort bindings
...
Just so I can see what is bound already more easily.
2018-12-02 00:42:15 -05:00
Michael Fiano
3635e23be7
Minor: common-lisp macro expander hydra as default
...
It is usually the case that we want to easily step through the expansion
of a macro inline, so prevent a modifier key press.
2018-12-01 15:26:44 -05:00
Michael Fiano
fead537328
Fix: common-lisp module jump hydra conflict
...
This hydra conflicts with Doom's popup windows in the case a jump
creates a sly-xref-mode buffer. Use direct local leader bindings instead.
2018-12-01 15:25:12 -05:00
Henrik Lissner
fda4734164
lang/common-lisp: disable fuzzy/flex completions
...
Fuzzy search is slower and less predictable, and is generally disabled
by default across Doom (or gated behind variables/flags).
2018-10-17 15:01:03 -04:00
Henrik Lissner
3c77b0d260
lang/common-lisp: add settings & minor refactor
...
Thanks to @mfiano
2018-10-16 02:49:21 -04:00
Henrik Lissner
f2de08d799
lang/common-lisp: move mrepl history file
...
To doom-cache-dir.
Credit to @mfiano
2018-10-15 16:22:53 -04:00
Michael Fiano
5735a994e0
Do not display debugger or inspector buffers in a popup window.
2018-10-07 21:50:46 -04:00
Henrik Lissner
cdf745e72a
map!: remove buffer-local :desc properties
...
which-key labels are registered globally, and will not work for
buffer-local keybinds. Until general is brought in, we'll have to suffer
label-less localleader keybinds.
2018-10-07 21:34:24 -04:00
Henrik Lissner
a078e3f4b2
lang/common-lisp: fix sly-mode localleader keys
...
This fixes a bug that caused evil keybinds on sly-mode-map to be
inaccessible until you switched states.
2018-10-07 00:47:14 -04:00
Henrik Lissner
34d7e327b2
lang/common-lisp: sly-eval-region = eval handler
...
This allows you to use the `gr` operator to evaluate code on-the-fly.
2018-10-07 00:35:41 -04:00
Henrik Lissner
e70a8d925e
lang/common-lisp: fix consp errors on load
2018-10-07 00:35:25 -04:00
Henrik Lissner
d84b516cf4
lang/common-lisp: don't start sly in temp buffers
...
Org source blocks use a temp buffer in lisp-mode to natively fontify CL
blocks, which can trigger sly. This prevents that.
2018-10-07 00:33:58 -04:00
Henrik Lissner
d21887149f
Minor refactor/reformatting
2018-10-06 20:44:25 -04:00
Henrik Lissner
b4b19c40bf
company-capf = universal default company-backend
...
Also removes company-files from sly-mrepl-mode, because sly's capf
completion includes file completion.
2018-10-03 11:18:58 -04:00
Henrik Lissner
46c3ff782a
lang/common-lisp: fix rainbow-delimiters-mode hook
2018-10-03 01:41:33 -04:00
Henrik Lissner
7a2bad551c
lang/common-lisp: fix comapny in sly repl
2018-10-03 01:34:26 -04:00
Henrik Lissner
ce1198f23d
lang/common-lisp: don't autopair '/` in sly-mrepl
...
Credit goes to @mfiano for this
2018-10-03 01:27:05 -04:00
Henrik Lissner
a251c81aa3
lang/common-lisp: add localleader keys & hydras
...
Credit goes to @mfiano for these keybinds.
2018-10-03 01:27:05 -04:00
Henrik Lissner
fc0d074f15
lang/common-lisp: S-RET => newline-and-indent (REPL)
...
Suggested by @mfiano
2018-10-03 01:27:05 -04:00
Henrik Lissner
f54c36e721
lang/common-lisp: revise sly popup rules
...
Fixes issues with the compilation, inspector, debug or trace buffers
replacing the repl popup.
2018-09-10 12:50:45 -04:00
Henrik Lissner
a0250e60e3
Add rainbow-delimiters in lang/common-lisp instead
...
Gives users one place to look to determine what cosmetic hooks are
applied in lisp-mode.
2018-09-09 09:58:19 -04:00
Henrik Lissner
a820bbd468
lang/common-lisp: fix sly version mismatch prompts
...
Caused by the perfect storm of Emacs, Doom and Sly decision choices,
this prevents the mismatched sly version prompts each time you start up
sly/lisp-mode.
2018-07-30 23:02:06 +02:00
Henrik Lissner
d6461d495b
General & minor reformatting+refactor
2018-07-19 03:40:31 +02:00
Alex Reinisch
ff6e4437a2
Fix handler calls to reference lisp-mode.
...
`set-repl-handler!` helps with opening a repl when a particular mode is
active in a buffer. We want to be able to open a `sly-mrepl` whenever we
are in a lisp buffer, so we should have the repl handler look for
`'lisp-mode` to define opening a sly repl.
I assume the lookup handlers should be making sure we are in a lisp
buffer (similar reasoning to the repl-handler).
2018-06-25 15:56:50 -05:00
Henrik Lissner
fe44d71965
Add repl+lookup handlers and popup rule for sly
2018-06-22 01:49:21 +02:00
Henrik Lissner
13cb219e49
lang/common-lisp: improve evil+sly integration
2018-06-22 01:49:21 +02:00
Henrik Lissner
6a6652d394
lang/common-lisp: replace slime with sly
...
Also add sly server auto-start and cleanup hooks.
2018-06-13 22:14:22 +02:00