Henrik Lissner
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
Henrik Lissner
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
Jakub Darul
f6bae75bff
Disable spell-fu keybinding if +flyspell enabled
2020-08-24 20:25:49 +02:00
Henrik Lissner
e730cd030b
editor/evil: move ]s/[s keybinds to motion state
...
The original keybinds these are meant to override are bound in motion
state.
2020-08-21 20:09:36 -04:00
Henrik Lissner
d5e64d0586
Add zq, zw, ]s and [s keybinds for spell-fu
...
These are canonical vim keybinds for interacting with the dictionary and
navigating spelling errors.
2020-08-21 18:57:10 -04:00
Henrik Lissner
40cf6139ed
Make evil-join remove comment delimiters
...
See emacs-evil/evil#606
2020-08-09 01:50:41 -04:00
Henrik Lissner
8bbac4bfb3
Minor refactors
2020-08-08 03:06:26 -04:00
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
Henrik Lissner
1a6f508640
Fix #3504 : evil-ex-substitute-global = nil
2020-07-28 15:36:51 -04:00
Henrik Lissner
f085cb6424
Fix #3606 : disable evil-snipe in treemacs
2020-07-22 20:53:57 -04:00
Henrik Lissner
f3bb23aa73
Fix g s SPC not targeting all windows
2020-07-21 16:19:08 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board
2020-06-04 20:13:28 -04:00
Henrik Lissner
024503b2f4
Add ${...} support to evil-surround in scala
...
For string interpolation.
2020-05-28 04:40:38 -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
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
35591cfc4c
Correct map! indentation
...
...now that we have proper property-list indentation (thanks to
03ecfed1a
).
2020-05-04 16:53:26 -04:00
Henrik Lissner
c1f973bf4a
Fix #3037 : gr/gR not bound on correct elfeed keymap
2020-05-04 16:51:21 -04:00
Henrik Lissner
69868a8f47
Fix evil-escape in evil-collection-powered minibuffer
2020-05-01 18:39:40 -04:00
Henrik Lissner
50ff934ff2
Fix #2832 : filename modifiers replaced with empty strings
2020-04-26 04:12:33 -04:00
Henrik Lissner
afcdae4fff
Fix invoking helpful-key from evil-ex
...
This should probably be reported upstream, but to whom? Helpful? Evil?
The Doom slayer?
2020-04-17 23:08:28 -04:00
Henrik Lissner
bce0cc2152
Change how evil-easymotion is lazy loaded
...
Fixes an issue where gs wouldn't work after an operator.
2020-04-14 15:41:54 -04:00
Henrik Lissner
70eda9507a
Fix 'No such file or directory +everywhere' error
2020-04-08 16:56:53 -04:00
Henrik Lissner
7ffb6a61c1
Silence evil-collection warning
2020-04-08 15:54:16 -04:00
Henrik Lissner
ce57eef471
Stop recentering/preserving window pos on evil searches
...
It needs a lot of work to not be so jarring, but I don't have the time
to perfect it, so I'll disable it for now.
2020-03-31 14:38:56 -04:00
Henrik Lissner
2ecd100c38
Bump :editor evil
...
emacs-evil/evil-collection@e6a4ba6 -> emacs-evil/evil-collection@fe0700e
emacs-evil/evil@7c42ba4 -> emacs-evil/evil@2969324
ninrod/exato@88266fa -> ninrod/exato@d5daea3
redguardtoo/evil-nerd-commenter@fa40dab -> redguardtoo/evil-nerd-commenter@4387407
2020-03-27 01:15:41 -04:00
Henrik Lissner
dd402b7db3
Remove references to enh-ruby-mode
2020-03-12 11:29:54 -04:00
Henrik Lissner
fb8d96f1cb
Preserve cursor+window position, rather than recenter
...
After n/N or */# searches with evil.
2020-03-06 16:36:35 -05:00
Henrik Lissner
88dd15e204
Revise comments
2020-02-28 22:26:19 -05:00
yoavm448
f4d908852a
Integrate evil-lion to evil-mode
...
adds `gl`, `gL` operators for alignment.
2020-02-25 14:21:00 +02:00
Henrik Lissner
743d8825ef
Merge pull request #2586 from hackeryarn/remove-racket-smart-open-bracket-mode
...
Conditionally enable racket-smart-open-bracket-mode
2020-02-24 20:43:15 -05:00
hackeryarn
887d127748
Conditionally enable racket-smart-open-bracket-mode
2020-02-23 15:36:16 -06:00
Henrik Lissner
b30f38ac06
Minor refactor & reformatting across the board
2020-02-23 15:42:43 -05:00
Henrik Lissner
82b1efeb8a
Fix #2576 : bind gt/gT for navigating centaur tabs
2020-02-20 18:21:56 -05:00
Henrik Lissner
b1c02e64f5
Conform advice to naming conventions
2020-02-11 03:44:36 -05:00
Henrik Lissner
cc260b2e97
Merge pull request #2495 from dsdshcym/fix-recenter-after-evil-search
...
Fix recenter after evil search
2020-02-11 03:26:49 -05:00
Henrik Lissner
af9d8257f1
Fix void-function: closure errors on vterm-toggle-send-escape
2020-02-09 04:33:17 -05:00
Henrik Lissner
92f8ce562c
Fix dir-locals targeting fundamental-mode while evil-mode is active #2493
...
Due to hack upstream, in evil
2020-02-06 16:55:28 -05:00
Yiming Chen
7387b60300
Add recenter after evil-ex-search-{next,previous}
2020-02-06 15:47:19 +08:00
Yiming Chen
ca831ae347
Fix recenter after evil-ex-search-word-forward
2020-02-06 15:46:51 +08:00
Henrik Lissner
75e7466ad9
Remove gsw binding to evil-snipe
...
Not sure how that got there.
2020-02-04 21:02:26 -05:00
Henrik Lissner
1575300ad4
Add iu/au text-object for urls #2484
2020-02-04 13:58:43 -05:00
Henrik Lissner
4a5cf04761
General refactors & appease byte-compiler
2020-02-02 02:05:20 -05:00
Henrik Lissner
c733a6aa27
evil-respect-visual-line-mode = nil
...
Since this is vim's default behavior (gj and gk exist for navigating
virtual lines). Also the cause of #2447
2020-01-31 16:21:23 -05:00
Henrik Lissner
fe0c5e135d
Fix #2293 : easymotion with evil operators
...
Reverts fix for #1672 , but provides a workaround:
(map! :n "gl" (λ! (+evil/easymotion 'normal 'global)))
2020-01-28 17:50:11 -05:00
Henrik Lissner
c7ab4fafc6
Fix void-variable char error in evil-global-marker-p advice
2020-01-28 16:52:44 -05:00