aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-31ci: Use Eask to test macos and windows (#1885)Jen-Chieh Shen
* ci: Use Eask to test macos and windows * ci: Install eask * ci: Fix jump file test * revert spaces * ci: skip find-file test on windows * ci: Revert original test for windows * Delete Cask file * ci: Exclude tests on macos below 28.x
2024-05-30Replace message with evil-echo where appropriateTom Dalziel
2024-05-26Allow count after C-w for window commandsTom Dalziel
Fixes #1902
2024-05-26Quit uses evil-window-delete to gain balancingTom Dalziel
2024-05-21Add another window balacning key sequenceTom Dalziel
2024-05-13Fix block pasting at bolp on empty lineTom Dalziel
2024-05-13Chosing register keeps eol anchoring in visual block stateTom Dalziel
2024-05-06Backreferences in vim-style regexpTom Dalziel
Fixes #1895
2024-05-03Fix regression cauased by 55f29f0Tom Dalziel
Refactoring accidentally changed `evil-operator-state-p` to `evil-operator-state`
2024-04-30Define documentation dependenciesAxel Forsman
Read the Docs stopped installing spinx-rtd-theme by default, which broke documentation builds. This commit fixes that by pinning the required dependencies. See: https://blog.readthedocs.com/defaulting-latest-build-tools/
2024-04-30Small cleanupsAxel Forsman
2024-04-30Remove evil--visual-eol-anchoredAxel Forsman
There already exists a method for sticking to EOL: Setting temporary-goal-column to most-positive-fixnum. As such, there is no need for the variable evil--visual-eol-anchored introduced by commit e31bff8cb64d773bbfd9a8e326db8645eaee43fd. This commit also fixes a regression where "g$" made "gj"/"gk" stick to visual EOLs.
2024-04-30Don't mutate register when stripping test props during pasteTom Dalziel
Fixes an issue noticed while triaging #1894
2024-04-21Fix Visual Insert affecting one too many linesAxel Forsman
This fixes a regression caused by commit 004ac4e0cd766d49d48d53270e9c0c080ad9f173, where Visual mode "I" repeated the insertion on one too many lines unless at EOB.
2024-04-16treewide: replace `(eq/equal foo nil)` with `(null foo)`Konstantin Kharlamov
2024-04-16TIL should-not existsTom Dalziel
2024-04-15Always undo in normal state (#1888)Tom Dalziel
2024-04-14Fix download links for PDF and Epub versionsChoan
2024-04-14Visual eol anchoring, so g$ is stickyTom Dalziel
Also fixes #1876
2024-04-13Add keyboard escape quit to commands which exit visual stateTom Dalziel
Fixes #1886
2024-04-09ci: Avoid deprecated action warningsJenChieh
2024-04-09ci: Test Emacs 28 and 29JenChieh
2024-04-04evil-undo is a jump commandTom Dalziel
Partially fixes #1878
2024-04-02Fix point placement after D and C in normal stateTom Dalziel
Bug since 476f5fbcf1288c5a46a6ba35efe0b8dd1e4dd0ec Thanks to @axelf4 for spotting.
2024-04-01Don't miss a final empty line in visual block insertionTom Dalziel
2024-03-31Visual X, deletion column respects stick eolTom Dalziel
2024-03-31Add handler for expanding line for line-based operatorsTom Dalziel
Most of the work was done by Maxi Wolff (@smile13241324) over 6yrs ago. I've made a few changes, so have assumed authorship. This fixes #968
2024-03-26doc: Fix a typoDmitry Bogatov
2024-03-24Handle args-out-of-range error in evil-repeat-startTom Dalziel
Fixes #1110
2024-02-22evil-types.el: fix deprecation warning for Evil's internal variableKonstantin Kharlamov
This deprecation warning is targeted towards users' configuration. Having it warn about the variable being processed inside Evil is pointless, because of course it is processed in the mode, the mode have to handle it. So suppress it by wrapping into `(with-no-warnings)`. Fixes: evil-types.el:96:22: Error: ‘evil-want-visual-char-semi-exclusive’ is an obsolete variable (as of 1.15.0); Semi-exclusivity prevents selecting text + 1st char of next line, without having to introduce new niche functionality.
2024-01-28evil-commands: replace (backward-delete-char) with (delete-char)Konstantin Kharlamov
Fixes a warning: evil-commands.el:2125:15: Warning: ‘backward-delete-char’ is for interactive use only; use ‘delete-char’ instead.
2024-01-23No performant delete if range suppliedTom Dalziel
Fixes #1858
2024-01-11Added clarification to evil-define-key for escaping modifier keys (#1856)Naokotani
* Added clarification to evil-define-key for escaping modifier keys It is useful to have clarification in the doc string for evil-define-key that it is necessary to escape modifiers keys for users that are accustomed to using functions like global-set-key or keymap-global-set where this is not necessary. This is also not made particularly clear in the define-key function itself, which is a legacy function. * Fixed poor wording and used kdb in place of escape sequence
2024-01-04Fix pasting charwise text onto linewise selectionTom Dalziel
2024-01-02Add err-code arg to :cq ex commandTom Dalziel
2023-12-25Declare goto-char as a motion, fix evil-goto-charTom Dalziel
Tests added for evil-goto-char. Fixes #1852
2023-12-18Add :retab commandJakub Kadlcik
See "Changing tabs" section in the Vim manual https://vimhelp.org/change.txt.html#change.txt
2023-12-15Fix jumping to next/prev paren/brace from a string is not working (#1849)Mihai Cristian Tanase
2023-12-13Fix define-globalized-minor-mode BODY in Emacs <27Axel Forsman
This commit reintroduces the evil-mode advice that commit f003ca28a9691d24a17866e5dce3e7866c9bb257 replaced with a BODY argument to define-globalized-minor-mode, as that broke support for older versions of Emacs since the BODY parameter was only recently introduced in Emacs 27.
2023-12-12Add racket-repl-mode to evil-insert-state-modes (#1847)Brian Leung
2023-12-12Assign :jump to evil-{next-close,previous-open}-{brace,paren} (#1844)Brian Leung
2023-11-06Make evil-read-key-key-map generation more directTom Dalziel
2023-11-04Don't disable keypad num fallbacks for digraph's read-keyTom Dalziel
2023-09-20Disable vim-style-regexp conversions of already converted patterns (#1827)Tom Dalziel
* (Failing) test for `&` with very-magic vim-style backreferences * Disable vim-style-regexp conversions of already converted patterns
2023-09-08Add the missing quote for obsoletedalu
Otherwise it will pop an error after this commit https://github.com/emacs-mirror/emacs/commit/802a54ad620 For ref: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62248
2023-08-28tabs: Go to nth tab when tab-next is prefixedAnkit Pandey
This emulates the behavior of vim, where {N}gt goes to the Nth tab, but {N}gT goes back N tabs.
2023-08-27Support command-line window for any minibuffer argAxel Forsman
Introspection of the current minibuffer argument history and prompt is possible, hence there is no need for the specialized evil-ex-command-window and evil-ex-search-command-window functions.
2023-08-27Reselect minibuffer when quitting command-line winAxel Forsman
Pressing C-f while editing an Ex command to open the command-line window and later quitting that window used to not reselect the Ex command line, but instead just continue the recursive edit in some previous window. This was specially confusing before commit 02004bce6884619e687654d333b75c90f8fc27d0, as the evil-ex-abort hack did not trigger, leaving you in a bad state with evil-ex-current-buffer set to t. This commit fixes that by setting the delete-window window parameter on the command-line window to a function that switches back to the minibuffer after deleting the window, which closes #1379. This commit also replaces the split-window call with a display-buffer invocation, to always spawn the window at the bottom of the frame, but also allow the user to override this behavior.
2023-08-27Add evil-command-line-mapAxel Forsman
There was a lot of duplication between evil-ex-completion-map and evil-ex-search-keymap, which meant that any rebinds had to be done twice. This commit fixes that by introducing evil-command-line-map as a common ancestor of the two keymaps. Also renames evil-ex-map to evil-ex-shortcut-map to avoid confusion, as its purpose is more niche than evil-ex-completion-map which functions the same as any other keymap passed to read-from-minibuffer.
2023-08-27Do not silence unused evil-define-command argumentAxel Forsman