Commit Graph

62 Commits

Author SHA1 Message Date
Henrik Lissner
7224f0870a
lang/common-lisp: add *sly-description* popup rule 2020-02-02 02:02:50 -05:00
Henrik Lissner
cb86fd046c
lang/common-lisp: SPC m {m,M} -> sly macroexpand
macrostep-expand was the wrong command (and plugin).
2020-02-02 02:01:40 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
b45cc335db
lang/common-lisp: offload to evil-collection-sly 2019-10-12 00:48:48 -04:00
Henrik Lissner
94ce52a70d
Fix #1772: void-variable sly-contribs errors 2019-10-08 22:00:30 -04:00
Henrik Lissner
051bceb0a8
Refactor localleader keybinds #1270
Introduces a select few of the localleader keybind standards proposed in
issue #1270, corrects a few typos and introduces more localleader
keybinds in general.

Co-authored-by: yuhan0 <>
2019-10-04 22:04:47 -04:00
Henrik Lissner
d297dc6934
Minor refactor & comment revision across the board 2019-10-03 23:33:59 -04:00
Henrik Lissner
66abe99dec
Increase sly REPL popup's size #1296 2019-10-03 20:49:04 -04:00
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
2522862016 Feature: Enable sly-repl-ansi-color in common-lisp
This gives ANSI color escape sequence support in the REPL, needed by
some software.
2018-12-01 15:30:48 -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