Commit Graph

366 Commits

Author SHA1 Message Date
dfce5ddb17 feat(selectrum): Add +selectrum/search-symbol-at-point 2021-07-25 02:49:40 +03:00
09845be083 feat(selectrum): Add Search buffer binding 2021-07-25 02:49:40 +03:00
5b70b888b8 feat(selectrum): Add selectrum-repeat binding 2021-07-25 02:49:40 +03:00
b4e1b2130c refactor(selectrum): Move evil bindings where they belong 2021-07-25 02:49:40 +03:00
e2ca32bd6b Fix fill column indicator toggle on 'SPC t c'
The :ui fill-column module was dropped in 044a1a5f2.
2021-07-12 10:24:31 -04:00
42ff369142 SPC TAB N binding (#5173)
* Introduce `SPC TAB N` binding

* Add vanilla Emacs binding
2021-07-09 01:13:13 -04:00
74fc7ae664 Fix command to show git log of current buffer file
Currently <kbd>SPC g L</kbd> runs `magit-log` which opens a context
window for git log with an option selected that limits the log to the
file open in buffer. The user then has to press <kbd>l</kbd> to actually
see the log. The same result can be achieved by calling
`magit-log-buffer-file` instead
2021-07-07 03:33:13 +05:30
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
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
1c0cfd459b Don't invoke company on TAB if company-mode isn't active 2021-05-11 21:50:14 -04:00
193382e2e3 Fix TAB keybind fallthrough 2021-04-15 18:59:38 -04:00
53bd779cc9 ui/treemacs: add +lsp flag 2021-04-14 18:21:04 -03:00
27e2848d3b Fall back to "TAB" if no [tab] keybind 2021-04-13 18:54:48 -04:00
64f791eda2 Bind <leader> s B -> swiper-all 2021-03-27 15:24:44 -04:00
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
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
1274de3d34 Minor reformatting & refactors across the board 2021-02-25 13:59:43 -05:00
03fa2eafee Bind SPC o F to select-frame-by-name 2021-02-25 13:59:43 -05:00
3e32379f54 ui/zen: add +zen/toggle{,-fullscreen} commands
A more reliable "Distraction-free" fullscreen mode.
2021-02-24 18:06:30 -05:00
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
16a495c97d Fix #4548: global TAB overwritten by evil keybind 2021-02-06 06:54:18 -05:00
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
910e3bc1d9 config/default: update deprecated bindings
deprecation notice:
47e83f7d3f
2020-12-02 19:16:25 +01:00
b49c40bbb3 Minor refactors & comment revision 2020-11-29 14:37:32 -05:00
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
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
86722ee67e Minor refactors & reformatting 2020-11-03 16:16:12 -05:00
e408c04548 Rebind rotate-text to ]r / [r
Because using ! shadows evil's default shell operator.
2020-10-29 01:42:04 -04:00
d1cef4ac94 Bind SPC b {c,C} to clone buffer indirectly 2020-10-26 04:04:05 -04:00
9929883bf9 Merge pull request #4001 from akirabaruah/emojify
ui/emojis: New module for inserting/displaying emojis
2020-10-19 01:25:47 -04:00
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
729e8d8f39 Fix #4035: fill-column toggle 2020-10-06 14:19:36 -04:00
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
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
b94b481f6f Merge pull request #4003 from ctjhoa/develop
Add SPC / in evil-bindings
2020-10-04 20:08:48 -04:00
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
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
04d08bdf5d Disable non-compatible binding 2020-09-23 00:43:48 +02:00
5b13c913eb Add scheduled entry evil binding
For `org-journal-new-scheduled-entry`.
2020-09-13 22:52:42 +03:00
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
76eae7bc46 Bind SPC s S -> swiper-isearch-thing-at-point #3656 2020-08-25 21:12:50 -04:00
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
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
0f1ff5f411 Update +evil-bindings.el 2020-08-20 09:07:50 -07:00
2e6902f7ae Unbind TAB in comint buffers
They usually handle their own completion keybinding on TAB.
2020-08-09 01:50:41 -04:00
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
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
6a4283c9d4 More convenient search buffer 2020-07-31 12:55:49 +07:00
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
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