99a83ca18f
A workaround for formatting org mode
...
If point is in a source block, format that source block.
Else don't try to format the buffer. format-all-buffer does not support
org mode.
2020-12-13 15:36:56 +01:00
765b6dcfca
Unset unused markers
...
In case of overlay leaks.
2020-12-12 15:56:36 -05:00
d149c59d2e
Add emacs mode checks to insert mode checks
...
This is to accommodate users who default to emacs mode, rather than
insert mode. The two are also very alike, so many of these checks should
apply to both (almost) equally.
2020-12-11 17:38:09 -05:00
2772ca8e70
Conditionally switch to insert mode on snippet expansion
...
If already in insert (or emacs) state, don't switch mode when expanding
a yasnippet snippet.
2020-12-11 15:50:02 -05:00
863063b60d
Defer internal help & help-mode packages
...
To simplify load order so users can easily modify help-mode-map after
evil-collection has. e.g.
(map! :after help
:map help-mode-map
:n "C-o" nil)
2020-12-11 15:50:02 -05:00
96d7e50f3e
Distinguish <C-i> from "C-i"
2020-12-11 15:50:02 -05:00
7838e312e2
Bump :editor
...
DogLooksGood/parinfer-mode@eaad857 -> DogLooksGood/parinfer-mode@91856b9
abo-abo/lispy@0a9dcfd -> abo-abo/lispy@5c8a59a
clemera/objed@dea5a64 -> clemera/objed@70f9fb5
emacs-evil/evil-collection@05ed92a -> emacs-evil/evil-collection@ab5bb7c
emacs-straight/adaptive-wrap@319db64 -> emacs-straight/adaptive-wrap@8f60ee7
gabesoft/evil-mc@4d4c017 -> gabesoft/evil-mc@7dfb2ca
hlissner/doom-snippets@e1cbbdf -> hlissner/doom-snippets@33eb93b
magnars/multiple-cursors.el@b880554 -> magnars/multiple-cursors.el@83abb05
matsievskiysv/vimish-fold@9d12e39 -> matsievskiysv/vimish-fold@a6501cb
2020-12-05 16:55:27 -05:00
d88e0795b6
Allow eldoc after doom/escape or evil state change
2020-12-02 17:58:10 -05:00
c1bdd63dcd
Bump evil-collection
...
emacs-evil/evil-collection@52b6479 -> emacs-evil/evil-collection@05ed92a
evil-magit was ported to evil-collection
Half-addresses #4324
2020-11-27 22:20:31 -05:00
16344d0f5e
Fix #4286 : incorrect cursor color
2020-11-21 01:39:25 -05:00
53f8e8b249
Enable god-mode support for which-key if required
...
Signed-off-by: Akhil Wali <akhil.wali.10@gmail.com >
2020-11-19 19:06:10 +13:00
42cb866f50
Bump :editor god
...
emacsorphanage/god-mode@ad2e674 -> emacsorphanage/god-mode@f51c8f6
Signed-off-by: Akhil Wali <akhil.wali.10@gmail.com >
2020-11-19 19:06:09 +13:00
523ced6e9a
Fix #4127 : arrayp error on some snippets via +snippets/edit
2020-11-14 14:16:01 -05:00
a14fb64c0c
Fix #4268 : off-by-one region on double-click
2020-11-14 13:58:57 -05:00
da54fa98ce
Fix #4271 : prevent file-templates in org-capture
2020-11-14 12:57:29 -05:00
a68b49a98e
Append evil cursor color init hooks
...
Makes it easier for users to add their own customizations to the cursor
before this fires.
2020-11-10 18:36:48 -05:00
3253f7c86a
Bump :editor evil
...
emacs-evil/evil-collection@a21725f -> emacs-evil/evil-collection@52b6479
emacs-evil/evil@373a57e -> emacs-evil/evil@d6cf668
redguardtoo/evil-nerd-commenter@b670f69 -> redguardtoo/evil-nerd-commenter@563cdc1
2020-11-10 18:36:48 -05:00
ee6c27c2a0
Merge pull request #4143 from innerout/fold-docs
...
Add emacs bindings and documentation in fold module
2020-11-06 02:33:53 -05:00
d50b1528b8
Remove unnecessary use-package statement
2020-11-04 11:43:26 +02:00
5d5d94d49c
Bump :editor snippets
...
hlissner/doom-snippets@d97c65e -> hlissner/doom-snippets@e1cbbdf
Fixes #4127
2020-11-04 03:02:01 -05:00
dec573c4e5
Allow formatter in some "special" buffers
...
Like org-src-edit and scratch buffers.
Fixes #3905
Closes #3915
2020-11-03 21:26:07 -05:00
57e9b89b80
Suppress format-all-mode error when no formatter is available
...
Having this on renders it difficult to work with debug-on-error, since a
_lot_ of filetypes don't have formatters
2020-11-01 08:52:31 -08:00
a88d29580d
Update documentation with new keybinds
2020-10-30 20:27:24 +02:00
7eaf402c0b
Lazy load vimish-fold
2020-10-29 23:35:05 +02:00
2b023357ee
Merge pull request #4126 from tecosaur/licence-gpl3-prefill
...
Licences: Add tabstops with defaults to gpl3
2020-10-29 02:07:48 -04:00
d21d86aafc
Add single quotes to ‘any quote’ text objects
2020-10-28 08:48:01 +01:00
471028ce94
Bump :editor snippets
...
hlissner/doom-snippets@60c57d6 -> hlissner/doom-snippets@d97c65e
Includes new clojure-mode snippets
2020-10-27 23:47:59 -04:00
e574c3470d
Limit evil-textobj-anyblock to non-quotes
...
Now that we have a dedicated q text object.
2020-10-27 23:20:22 -04:00
164b997cb0
Add q text-object for all quotes
2020-10-27 23:18:06 -04:00
3afc81662a
Add documentation for the fold module
2020-10-24 00:27:09 +03:00
848e117e24
Add vimish-fold binds when evil is off
2020-10-24 00:16:47 +03:00
3d993286c0
Licences: Add tabstops with defaults to gpl3
2020-10-22 02:09:22 +08:00
86841da12f
Merge pull request #4120 from systemctl603/develop
...
Format with LSP if supported on save
2020-10-21 12:03:22 -04:00
1c6ea87832
Remap comment-line to evilnc-comment-or-uncomment-lines
2020-10-20 16:52:48 -04:00
30c29cacf1
Update config.el
2020-10-20 18:33:31 +05:30
41d9e4b161
Update config.el
...
Use LSP formatting when server supports 'textDocument/formatting'
Solves hlissner/doom-emacs#3626
2020-10-19 19:55:54 +05:30
923e8c88ee
Extend g s {w,W,e,E,ge,gE} scope to visible buffer
...
Instead of only the current line.
2020-10-15 18:13:42 -04:00
d105a0400c
Add ess-smart-comma support to evil-mc
2020-10-14 01:29:46 -04:00
c37aa52908
Remove redundant evil-collection init code
2020-10-13 00:02:03 -04:00
b6c562b015
Fix #4080 : load evil-collection-xwidget normally
...
Turns out it doesn't need to be lazy loaded. Somehow, I remember
xwidget.el being pulled at startup, but either I'm crazy or it doesn't
seem to be the case anymore.
2020-10-12 23:55:38 -04:00
1757dd1700
Bump :editor evil
...
emacs-evil/evil@1e7aa5b -> emacs-evil/evil@373a57e
redguardtoo/evil-nerd-commenter@87734b9 -> redguardtoo/evil-nerd-commenter@b670f69
emacs-evil/evil-collection@c136589 -> emacs-evil/evil-collection@a21725f
2020-10-09 04:41:45 -04:00
01faa96992
Fix :tabn* ex command conflicts
2020-10-04 23:19:40 -04:00
7b56a5310a
Merge pull request #3992 from rushsteve1/tear-off
...
Bind C-w T / SPC w T to tear-off-window
2020-10-04 20:04:45 -04:00
7fc385c60c
Merge pull request #3980 from yangsheng6810/develop
...
Load yas when yas-activate-extra-mode is called
2020-10-04 19:54:03 -04:00
385e3c20da
Move +spell/add-word from zq -> zg
...
I misread the key that this functionality is on in vim.
2020-10-04 16:15:26 -04:00
84f26e287b
Add keybinding for tear-off-window
...
Added they Evil keybinding `SPC w T` for `tear-off-window` since that is a
fairly useful windowing function.
2020-09-28 08:23:54 -04:00
bb415adbe0
Load yas when yas-activate-extra-mode is called
...
Also load when yas-deactivate-extra-mode is called
2020-09-25 19:50:17 -05:00
91c1e705e6
checkers/spell: add add/remove word & next/prev error commands
...
So both spell-fu and flyspell users have a more consistent interface.
2020-09-02 13:58:27 -04:00
75cca3586d
Fix gq/gw squeezing spaces across filled lines
...
" abcdef" would be changed to "abcdef". Vim doesn't do this. Evil
shouldn't either.
2020-08-24 23:00:32 -04:00
f6bae75bff
Disable spell-fu keybinding if +flyspell enabled
2020-08-24 20:25:49 +02:00