Henrik Lissner
6f2471cda7
Bind ZX -> Save then kill current buffer
...
Since bury-buffer is already on SPC b z, and isn't a common operation in
day to day Emacs use.
Other useful keybinds:
ZZ -> Save then kill current window
zx -> kill current buffer (prompts if unsaved)
SPC b z -> bury buffer
zn -> (operator) narrow buffer
zN -> widen narrowed buffer
2020-08-05 20:58:29 -04:00
Henrik Lissner
4bed77aa3a
evil-kbd-macro-suppress-motion-error = t
...
Don't let innocuous motion errors abort the recording or playback of
macros.
2020-08-05 20:50:05 -04:00
Henrik Lissner
77fbde957a
Remove universal repeater on ; and ,
...
Ultimately, I didn't find this useful. Unifying n/N and ;/, was
inconvenient when you wanted to repeat each kind of search
independently (which happened more often than I had anticipated).
What's more, it introduced another point of confusion for new users
coming from vim. In the end, it's simply better to do as vim does.
Fixes #3689
2020-08-05 14:56:30 -04:00
Henrik Lissner
5a68352cd5
Mention that +evil-repeat-keys can be set to nil
...
To disable universal repeating on ; and ,
2020-08-05 03:32:17 -04:00
Janfel
6ba04c13b2
Fix file template header in $DOOMDIR/autoload.
2020-08-04 15:24:50 +02:00
Henrik Lissner
a9d36ddcaf
editor/multiple-cursors: minor refactor
...
Remove some redundant entries in evil-mc-custom-known-commands.
2020-08-02 19:21:38 -04:00
Henrik Lissner
c3be74139a
Add eval-and-replace support to evil-mc
...
And refactor evil-mc-custom-known-commands init
2020-08-02 18:11:45 -04:00
Henrik Lissner
6a64f37435
Minor refactors & revision across the board
2020-07-31 01:39:24 -04:00
Henrik Lissner
1a6f508640
Fix #3504 : evil-ex-substitute-global = nil
2020-07-28 15:36:51 -04:00
Henrik Lissner
d41df5f2c2
editor/format: add README #1166
2020-07-25 23:24:38 -04:00
Henrik Lissner
b2787a9426
Fix #3627 : persist auto-yasnippet snippets
...
Needs to be persisted to a directory yasnippet can see.
2020-07-25 22:05:40 -04:00
Henrik Lissner
61cb7252e2
Fix #3509 again
2020-07-24 02:13:19 -04:00
Henrik Lissner
da1030985d
Minor refactors & reformatting
2020-07-23 01:26:03 -04:00
Henrik Lissner
8609e22f73
Fix #3509 : add swiper-mc to mc/cmds-to-run-once
2020-07-23 00:57:00 -04:00
Henrik Lissner
7a868b1537
Fix yasnippet+hippie-expand interop
2020-07-23 00:55:51 -04:00
Henrik Lissner
1dfe690f36
Bump :editor snippets
...
joaotavora/yasnippet@5b1217a -> joaotavora/yasnippet@5cbdbf0
hlissner/doom-snippets@422f683 -> hlissner/doom-snippets@21b7c8d
Fixes hlissner/doom-snippets#39
2020-07-23 00:51:20 -04:00
Henrik Lissner
f085cb6424
Fix #3606 : disable evil-snipe in treemacs
2020-07-22 20:53:57 -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
Henrik Lissner
f3bb23aa73
Fix g s SPC not targeting all windows
2020-07-21 16:19:08 -04:00
Henrik Lissner
804652366a
Bump :editor evil
...
emacs-evil/evil@017b442 -> emacs-evil/evil@2bc6ca3
janpath/evil-numbers@c2cfdd1 -> janpath/evil-numbers@006da40
Fixes #3588
2020-07-19 15:47:54 -04:00
Henrik Lissner
63a94698a2
Fix #3509 : add swiper-mc to mc/cmds-to-run-once
2020-07-18 16:59:54 -04:00
Henrik Lissner
77f554c63d
Prevent evil-collection loading too early
...
A recent update causes evil-collection-process-menu to load immediately
at startup (because `simple` is loaded immediately), so we defer it
until process-menu-mode is called.
Loading process-menu so early pulls in evil far too early, causing other
issues, like undoing all of evil's prior-to-loading keybindings.
2020-07-17 23:34:44 -04:00
Henrik Lissner
72c03965cc
Bump :editor evil
...
emacs-evil/evil@25fc5c6 -> emacs-evil/evil@017b442
emacs-evil/evil-collection@e065da3 -> emacs-evil/evil-collection@3e62b6b
emacs-evil/evil-surround@1c34944 -> emacs-evil/evil-surround@346d4d8
redguardtoo/evil-nerd-commenter@1bd2de5 -> redguardtoo/evil-nerd-commenter@87734b9
Some functionality has been upstreamed into evil-collection and thus
removed from their respective modules.
Closes #3577
2020-07-17 19:40:19 -04:00
Seong Yong-ju
6798966f78
editor/format: Use eglot LSP formatter
2020-06-24 01:56:26 +09:00
Henrik Lissner
991a205ebd
Fix wrong-number-of-args error on +format/region-or-buffer
2020-06-13 00:43:48 -04:00
yoavm448
956a90598e
Add lispy to evil-mc-incompalible-minor-modes
2020-06-07 01:57:36 +03:00
Henrik Lissner
5ecd83fcfa
Fix truncated text object description in readme
2020-06-06 03:59:08 -04:00
Henrik Lissner
b2919ee5d6
Fix #2639 : duplicate snippets in completion prompt
2020-06-05 02:52:18 -04:00
Henrik Lissner
7a8bf22e41
Change gzu to delete cursors in visual selection
...
Will still undo last cursor in normal mode.
2020-06-05 00:33:57 -04:00
Henrik Lissner
51ffacb4d9
Fix gzz not toggling evil-mc cursors in normal mode
2020-06-05 00:12:26 -04:00
Henrik Lissner
8da2472bb4
Inhibit file templates in org-journal-mode
2020-06-04 20:13:29 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board
2020-06-04 20:13:28 -04:00
Henrik Lissner
37b1a78dcd
Bump :editor evil
...
emacs-evil/evil-collection@1237452 -> emacs-evil/evil-collection@e065da3
emacs-evil/evil-surround@9b0b17f -> emacs-evil/evil-surround@1c34944
emacs-evil/evil@3f3b2fe -> emacs-evil/evil@25fc5c6
hlissner/evil-snipe@2ba6353 -> hlissner/evil-snipe@6dcac7f
ninrod/exato@d5daea3 -> ninrod/exato@aee7af7
Closes #3260
2020-05-31 06:10:46 -04:00
Henrik Lissner
024503b2f4
Add ${...} support to evil-surround in scala
...
For string interpolation.
2020-05-28 04:40:38 -04:00
Tudor Roman
649052337b
fix +format/region when formatting with LSP
2020-05-26 18:16:23 +03:00
Henrik Lissner
3a38fc633c
Change doom-{interactive,debug}-mode suffix to -p
...
Because these are not really modes.
Also makes `doom-debug-mode` an actual (global) minor mode.
2020-05-25 03:43:40 -04:00
Henrik Lissner
d8fda76c7d
yas-also-auto-indent-first-line = nil
...
Stop yasnippet from aggressively reindenting the whole snippet; assume
the user is expanding the snippet exactly where they want it.
Half-fixes #3211
2020-05-24 14:29:41 -04:00
Henrik Lissner
090a68ab8f
Add +format-with-lsp variable
...
To control whether or not to use LSP code formatter when it is
available.
2020-05-21 01:20:00 -04:00
Henrik Lissner
4c61f22132
Fix #3175 : don't format org-exported buffers
...
By inhibiting the formatter in temp or special buffers.
2020-05-20 04:46:37 -04:00
Henrik Lissner
f0632f812b
Bump :editor evil
...
emacs-evil/evil@d243eae -> emacs-evil/evil@3f3b2fe
emacs-evil/evil-collection@ba36304 -> emacs-evil/evil-collection@1237452
To include emacs-evil/evil-collection#335
2020-05-18 17:17:11 -04:00
Henrik Lissner
470fe21098
Merge pull request #3137 from CeleritasCelery/spell
...
Wrap flyspell-correct-at-point in feature check
2020-05-18 03:00:22 -04:00
Troy Hinckley
993a0770e5
Allow the user to override lispyville themes
2020-05-17 10:29:25 -06:00
Troy Hinckley
00ddb2eba6
Only rebind ispell-word if flyspell-correct is enabled
...
flyspell-correct-at-point is not defined unless the the spell module is
enabled.
2020-05-16 22:33:33 -06:00
Henrik Lissner
ea18c83c0a
General refactors & reformatting across the board
2020-05-15 01:44:53 -04:00
Henrik Lissner
abb9ab7674
Fix :mc/REGEXP not placing real cursor in correct position
...
With ':mc/abc' we should get
a b c
a b [a]bc
a [a]bc c
[a]bc b c
a b c
Instead, we got
a b c
a b abc
a [a]bc c
[a]bc b c
a b c
And the real cursor would be somewhere else (on the same column it was
left in when you were in visual mode).
2020-05-13 15:23:19 -04:00
Henrik Lissner
7472cffadd
Integrate LSP into +format/{buffer,region} commands
...
Relevant to #1652
2020-05-08 22:04:59 -04:00
Henrik Lissner
0f696ec8b3
Merge pull request #3017 from sei40kr/fix-set-formatter
...
Fix set-formatter! documentation
2020-05-07 03:19:00 -04:00
Henrik Lissner
680ab78767
Merge pull request #3050 from sei40kr/fix-java-templates
...
Fix Java file templates
2020-05-07 01:25:25 -04:00
Seong Yong-ju
b8e85a42c7
Remove .yas-setup.el for java-mode
2020-05-07 08:28:12 +09:00
Henrik Lissner
9a628c7a12
Fix missing paren in +format/region-or-buffer #3054
...
Because I'm a derp
2020-05-06 16:43:42 -04:00