Commit graph

171 commits

Author SHA1 Message Date
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
8284f1035b
Fix fill-column toggle for vanilla users 2020-10-06 14:28:48 -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
Michael Utz
f460a461d8 Add scheduled entry keybinding
For `org-journal-new-scheduled-entry` in normal emacs bindings.
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
8916f442f1
Update +emacs-bindings.el 2020-08-20 09:12:45 -07:00
Henrik Lissner
c6766c293d
C-down-mouse-2 -> reset text-scale
Make this universal. Also removes redundant C-mouse-{4,5} mouse
bindings, they're already bound by mouse-wheel-mode.
2020-08-05 18:26:07 -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
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
Nicolas Cavigneaux
ab93f61df3
Fix emacs binding for toggling org-tree-slide-mode
org-tree-slide-mode toggling binding was calling a
non-existing (obsolete?) function.
2020-07-16 16:07:16 +02:00
Tim Perkins
20c617bc30 Only bind keys when workspaces module enabled 2020-06-26 01:48:39 -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
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
Nicolas Cavigneaux
345f191376
Fix typo in function name used to jump to an IRC channel using Emacs keybindings 2020-06-08 17:51:29 +02:00
Henrik Lissner
2685fb2141
Merge pull request #3311 from marcusramberg/marcus/macos_keychain
Updates for macos module
2020-06-06 18:18:13 -04:00
Marcus Ramberg
a217a935fd updates for macos module
Add support for keychain
Add README.
Add shortcut for open in iTerm.
2020-06-06 09:02:36 +02:00
Henrik Lissner
e7678f4749
Fix #3309: evil keybind for vanilla users 2020-06-05 16:05:55 -04:00
Didac
03e678958f
Remove space from mc prefix map
Change the space of the multiple-cursors keymap to a "-".
2020-06-02 12:42:58 +02:00
Henrik Lissner
a4b4ea67eb
Bind C-x C-b to ibuffer
Instead of ibuffer-list-buffers, which opens the buffer list in another
window without focusing it.
2020-06-01 18:13:59 -04:00
Gerry Agbobada
718d9a2690
[review] Changes 2020-05-28 11:17:55 +02:00
Gerry Agbobada
98b3153df2
[review] Fix emacs bindings 2020-05-28 09:34:18 +02:00
Gerry Agbobada
bde772103d
[eglot] Add emacs bindings 2020-05-28 09:34:18 +02:00
Henrik Lissner
a9bf0b8985
Add cmd!, cmd!!, cmds! convenience macros
It's kind of silly that our command lambda macros (λ! and λ!!) need a
snippet, special key sequence or copy-paste to insert, so in the spirit
of fn! -- and to make sure they take up less space than `lambda!` --
I've added `cmd!` and `cmd!!` aliases. `lambda!` and `lambda!!` are now
deprecated. λ! and λ!! will remain.

I've also added `cmds!` as a convenience wrapper around
general-predicate-dispatch.
2020-05-27 18:29:35 -04:00
Henrik Lissner
830e1289aa
Bind SPC g G -> magit-status-here
And recenter after invoking it.
2020-05-24 16:32:19 -04:00
Undead Kernel
7fc7c35051 bindings: update bindings / add remote bindings 2020-05-18 22:14:59 +02:00
Henrik Lissner
220916ae17
Merge pull request #3093 from sei40kr/taskrunner
Add tools/taskrunner module
2020-05-18 03:41:02 -04:00
Seong Yong-ju
3f21d8267a Add tools/taskrunner module
Co-authored-by: chrunchyjesus <chrunchyjesus@users.noreply.github.com>
2020-05-18 16:26:32 +09:00
Steven vanZyl
ce8feda2ca Minimap Module fixes
First round of fixes suggested by @gagbo, including moving some keybinds
to be alphabetical, fixing some paths, and pinning the package version.
2020-05-16 18:24:45 -04:00
Steven vanZyl
112b43fe9a Initial Minimap Module
Created a new Minimap module based on minimap.el from ELPA
the module sets some DOOM-specific config, and better defaults.
Also added keybindings for it.
2020-05-16 17:25:12 -04:00
Edmund Miller
f586ae7663
Add open email bindings 2020-05-11 11:21:27 -05:00
James Ravn
300bc65918
Use lsp-format-region-or-buffer if available
Currently the user has to select `SPC c F` for lsp format. But if
lsp-mode is enabled, the user will always want to use the LSP formatter.
So this changes the default `SPC c f` to use lsp formatter if available.
This simplifies the interface a bit so the user doesn't have to worry
about selecting the "right" format, just like how other commands get
auto bound to LSP functions.
2020-05-05 09:52:44 +01:00
Henrik Lissner
35591cfc4c
Correct map! indentation
...now that we have proper property-list indentation (thanks to
03ecfed1a).
2020-05-04 16:53:26 -04:00
James Ravn
fb3c6f9d78
Merge branch 'develop' of https://github.com/hlissner/doom-emacs into add-lsp-command-map 2020-05-04 10:04:23 +01:00
Henrik Lissner
db10149637
Merge pull request #3027 from n-clark/fix-emacs-bindings
Fix emacs bindings to use :checkers
2020-05-03 15:00:37 -04:00
Nick Clark
cdeb3a9f7f Fix emacs bindings to use :checkers
Replaced :tools flycheck and flyspell with :checkers syntax and
spell.
2020-05-03 14:45:21 -04:00
Henrik Lissner
383bc03f4c
Bump :ui treemacs
Alexander-Miller/treemacs@10c96c9 -> Alexander-Miller/treemacs@5c01829

The new treemacs-add-and-display-current-project command does what the
old +treemacs/toggle did, now we just need +treemacs/toggle to
do-what-I-mean with respect to projects (if not in a project,
treemacs-add-and-display-current-project unhelpfully aborts with an
error).
2020-05-03 13:39:29 -04:00
Henrik Lissner
019e988b8d
org-roam-graph-show -> org-roam-graph
org-roam-graph-show is deprecated

Closes #2987
2020-04-27 13:33:00 -04:00
Henrik Lissner
fe5e6fff9a
Remove redundant yasnippet keybinds 2020-04-26 02:33:06 -04:00
James Ravn
c56afcfe01
Add lsp-command-map to SPC-c-l
The default lsp-mode bindings are bound to `s-l` which is impractical
for anyone using keybindings in their window manager. It also conflicts
w/ the doom approach of using leader keys. This change makes
all the default lsp bindings (see
https://github.com/emacs-lsp/lsp-mode#commands) available on SPC-c-l.

So for example, restarting the lsp server can be done with `SPC c l s r`.
2020-04-21 22:22:14 +01:00
Henrik Lissner
763932a55c
Merge pull request #2884 from brianmcgillion/biblio
Add org-noter package
2020-04-17 19:16:06 -04:00
Henrik Lissner
5502013906
Bump :lang org
fuxialexander/org-pdftools@4156b67 -> fuxialexander/org-pdftools@67964a5
integral-dw/org-superstar-mode@4897c33 -> integral-dw/org-superstar-mode@09ddc28
jethrokuan/org-roam@e33c144 -> jethrokuan/org-roam@6175739
magit/orgit@0242088 -> magit/orgit@7d6afa5
2020-04-17 15:47:04 -04:00