Henrik Lissner
60b595321e
Lazy-load yasnippet harder for faster first-file load time
...
+ Rather than waiting for the first "interactive" major mode to be
visited to activate yas-minor-mode, we wait until the first time the
user invokes a snippet command to activate yas-global-mode.
+ yas-reload-all is one of the bottlenecks when loading a file for the
first time. Deferring it further should help with this.
+ yas-global-mode reaches more major modes than our former list of
hooks (fixes #5140 ).
Closes #5140
2021-06-05 13:12:00 -04:00
Itai Y. Efrat
8a40e83ab5
unicode-chars-list-chars -> insert-char
...
`unicode-chars-list-chars` doesn't seem to be an actual function (not
defined in emacs or found online), and `insert-char` seems like what one
would want here.
2021-05-13 17:04:16 +03:00
Henrik Lissner
1c0cfd459b
Don't invoke company on TAB if company-mode isn't active
2021-05-11 21:50:14 -04:00
Henrik Lissner
193382e2e3
Fix TAB keybind fallthrough
2021-04-15 18:59:38 -04:00
Eric Dallo
53bd779cc9
ui/treemacs: add +lsp flag
2021-04-14 18:21:04 -03:00
Henrik Lissner
27e2848d3b
Fall back to "TAB" if no [tab] keybind
2021-04-13 18:54:48 -04:00
Henrik Lissner
64f791eda2
Bind <leader> s B -> swiper-all
2021-03-27 15:24:44 -04:00
Henrik Lissner
fa4f03de22
Fix #4784 : browse-at-remote-prefer-symbolic = nil
...
+ Default browse-at-remote-prefer-symbolic to nil because a permanent
URL is generally more desirable for developers sharing links.
+ 'SPC g y' and 'SPC o o' now support the prefix arg, which will negate
the default value of browse-at-remote-prefer-symbolic for that call.
2021-03-11 13:41:16 -05:00
Henrik Lissner
55cfe0cca4
Fix TAB fallthrough for evil keybinds
...
If TAB was bound on the current keymap, our TAB dispatcher would fall
back on it, but it wouldn't see TAB keybinds on evil auxiliary keymaps
on the current keymaps (e.g. in cfw:calendar-mode).
2021-03-06 00:10:55 -05:00
Henrik Lissner
1274de3d34
Minor reformatting & refactors across the board
2021-02-25 13:59:43 -05:00
Henrik Lissner
03fa2eafee
Bind SPC o F to select-frame-by-name
2021-02-25 13:59:43 -05:00
Henrik Lissner
3e32379f54
ui/zen: add +zen/toggle{,-fullscreen} commands
...
A more reliable "Distraction-free" fullscreen mode.
2021-02-24 18:06:30 -05:00
Henrik Lissner
be9b3ff352
Bind SPC f Y
to yank path relative to project
...
Also, both commands now announce "Copied path to clipboard: ..." to make
it clear it worked (and what is being copied).
2021-02-15 14:54:13 -05:00
Henrik Lissner
16a495c97d
Fix #4548 : global TAB overwritten by evil keybind
2021-02-06 06:54:18 -05:00
Marc-André Lureau
f0a5d454c5
Bind useful magit-file-dispatch
...
Thanks to this blog post for teaching me about it:
https://emacsredux.com/blog/2020/12/10/essential-magit-file-commands/
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2020-12-11 15:51:45 +04:00
drchsl
910e3bc1d9
config/default: update deprecated bindings
...
deprecation notice:
47e83f7d3f
2020-12-02 19:16:25 +01:00
Henrik Lissner
b49c40bbb3
Minor refactors & comment revision
2020-11-29 14:37:32 -05:00
Henrik Lissner
03fe396eea
Move +default/{find-in,browse}-emacsd to core lib
...
Renamed them to:
+ doom/find-file-in-emacsd
+ doom/browse-in-emacsd
2020-11-19 00:44:16 -05:00
Henrik Lissner
d6ef43a563
C-s = company-filter-candidates in company-active-map
...
Incrementally filter the candidates list, rather than restart it.
2020-11-15 22:00:56 -05:00
Henrik Lissner
86722ee67e
Minor refactors & reformatting
2020-11-03 16:16:12 -05:00
Henrik Lissner
e408c04548
Rebind rotate-text to ]r / [r
...
Because using ! shadows evil's default shell operator.
2020-10-29 01:42:04 -04:00
Henrik Lissner
d1cef4ac94
Bind SPC b {c,C} to clone buffer indirectly
2020-10-26 04:04:05 -04:00
Henrik Lissner
9929883bf9
Merge pull request #4001 from akirabaruah/emojify
...
ui/emojis: New module for inserting/displaying emojis
2020-10-19 01:25:47 -04:00
Akira Baruah
813804066d
ui/emojis: New module for inserting emojis
...
Uses the emojify package to enable displaying and inserting emojis. Also
adds a new binding "SPC i e" to insert an Emoji. Includes basic docs.
2020-10-11 20:37:19 -07:00
Henrik Lissner
729e8d8f39
Fix #4035 : fill-column toggle
2020-10-06 14:19:36 -04:00
Steven vanZyl
3f28411f64
Use delegate function
...
As suggested by Henrik I changed it to use a delegate function, which reduces
code duplication and makes things cleaner
2020-10-05 10:14:54 -04:00
Steven vanZyl
f96b2310df
Add keybinding to toggle fill column indicator
...
Added a keybinding to the Toggles menu to toggle the fill column indicator if
the `fill-column` module is enabled. The keybind is `SPC t c`.
Suggested by lunik1 on Discord
2020-10-05 10:14:54 -04:00
Henrik Lissner
b94b481f6f
Merge pull request #4003 from ctjhoa/develop
...
Add SPC / in evil-bindings
2020-10-04 20:08:48 -04:00
Henrik Lissner
4165d4ff34
Merge pull request #3934 from theutz/add-org-journal-scheduled-entry-binding
...
Add `org-journal-new-scheduled-entry` Keybindings
2020-10-04 17:05:05 -04:00
Camille TJHOA
ef1e6dd65c
Add SPC / in evil-bindings
...
Add SPC / alias for "Search project" (SPC s p)
- Searching is one recurring action by developers
- Spacemacs has the same keybinding,
so it close one gap between Spacemacs and Doom keybindings (#2542 )
- It's consistent with SPC * "Search for symbol in projet"
as it's Vim "*" and "/" equivalent but project-wide
2020-10-01 15:57:31 +02:00
Gerry Agbobada
04d08bdf5d
Disable non-compatible binding
2020-09-23 00:43:48 +02:00
Michael Utz
5b13c913eb
Add scheduled entry evil binding
...
For `org-journal-new-scheduled-entry`.
2020-09-13 22:52:42 +03:00
Henrik Lissner
841eacc77d
tools/lsp: lazy load <leader> c l keybind
...
Fixes a issue where folks would try to rebind <leader> c, only to get a
non-prefix key error about <leader> c l.
2020-08-27 17:44:58 -04:00
Henrik Lissner
76eae7bc46
Bind SPC s S -> swiper-isearch-thing-at-point #3656
2020-08-25 21:12:50 -04:00
Jakub Darul
2564bbce0d
Use flyspell-mode for SPC t s if +flyspell present
...
Also corresponding bindigs fix for +emacs-bindigs.el
2020-08-24 20:36:16 +02:00
Henrik Lissner
ff9c1ace22
checkers/spell: replace flyspell with spell-fu
...
Spell-fu is significantly faster, but does produce more false
positives (more faces must be added to spell-fu-faces-exclude to reduce
these).
Unfortunately, there is no fancy "correction" interface for spell-fu
yet, so we'll have to resort to ispell-word (on z=) for now.
2020-08-21 18:57:10 -04:00
Krzysztof Baranowski
0f1ff5f411
Update +evil-bindings.el
2020-08-20 09:07:50 -07:00
Henrik Lissner
2e6902f7ae
Unbind TAB in comint buffers
...
They usually handle their own completion keybinding on TAB.
2020-08-09 01:50:41 -04:00
Henrik Lissner
4cbc2abb09
Don't invoke company on C-SPC if in minibuffer
...
In case of evil-collection-setup-minibuffer = t
2020-08-07 20:15:15 -04:00
Henrik Lissner
863eb82efd
S-RET -> insert literal newline
...
A convention on many text editors and applications is to make RET
auto-indent new lines. That has already been done. Another convention is
for S-RET to insert an unindented line; this commit adds this convention
to Doom.
Relevant to #3694
2020-08-05 18:26:06 -04:00
Nham Le
6a4283c9d4
More convenient search buffer
2020-07-31 12:55:49 +07:00
Henrik Lissner
87199113bd
SPC f d -> +default/dired
...
+default/dired will prompt you for a directory to open dired in. If
passed the universal argument, it will prompt you for a known project
instead.
2020-07-26 18:40:42 -04:00
Henrik Lissner
12e414be89
Rename +org/toggle-clock -> +org/toggle-last-clock
...
And rewrite it to ask for confirmation before clocking in on the item at
point. Without this, it's much harder to see what exactly it's doing.
2020-07-26 15:55:11 -04:00
Henrik Lissner
2a325167f8
Merge pull request #3249 from sei40kr/eglot-improve
...
tools/lsp: improve eglot support
2020-07-22 20:41:22 -04:00
Seong Yong-ju
7e52383273
Resolve a key binding conflict
...
Fix the key binding for "Find implementations" conflicts with
"Jump to symbol in any workspace".
2020-06-24 02:01:10 +09:00
Seong Yong-ju
d8c6030a14
tools/lsp: Use general implementation lookup handler
2020-06-24 01:56:26 +09:00
Seong Yong-ju
6798966f78
editor/format: Use eglot LSP formatter
2020-06-24 01:56:26 +09:00
Seong Yong-ju
d3b1664081
config/default: Fix evil LSP key bindings
2020-06-24 01:56:26 +09:00
Raj Krishnan
0e9bb3e6eb
Wording
2020-06-21 18:57:36 +05:30
Raj Krishnan
e0c3ffba0c
Add keybinding for org-roam-insert-immediate
2020-06-21 18:47:11 +05:30