Commit Graph

121 Commits

Author SHA1 Message Date
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
164b997cb0 Add q text-object for all quotes 2020-10-27 23:18:06 -04:00
Henrik Lissner
1c6ea87832 Remap comment-line to evilnc-comment-or-uncomment-lines 2020-10-20 16:52:48 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Steven vanZyl
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
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