emacs-evil / evil

The extensible vi layer for Emacs.
GNU General Public License v3.0
3.29k stars 276 forks source link

`C-w <count> +` and `C-w <count> -` will not work; you *have* to put the count in front #1902

Closed jf closed 1 month ago

jf commented 1 month ago

Issue type

Environment

Emacs version: GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.2.0, Carbon Version 170 AppKit 2487.3) of 2024-04-10 Operating System: macOS Sonoma Evil version: Evil version 1.15.0 Evil installation type: ehh, no idea. Came with Doom Emacs Graphical/Terminal: graphical Tested in a make emacs session (see CONTRIBUTING.md): No

Reproduction steps

Expected behavior

I expect for the C-w and count to work as intended, resizing up (with C-w 5 +) or down (C-w 5 -) the current pane.

Actual behavior

C-w 5 + does nothing for the pane size. It moves the cursor down. C-w 5 - ditto. It moves the cursor up.

tomdl89 commented 1 month ago

@jf I've implemented this and merged to master. Let me know if it works as you expect.