aboutsummaryrefslogtreecommitdiff
path: root/evil-integration.el
AgeCommit message (Collapse)Author
2024-09-15Replace uses of `defadvice` with `advice-add`Stefan Monnier
This either requires a dependency on the `nadvice` package, or bumping the minimum Emacs version to 24.4. I went with the `nadvice` package, but maybe bumping up to 24.4 would be better. * evil.el: Require `nadvice`. * evil-core.el (evil--advices): New var. (evil-mode): Use it instead of `ad-dis/enable`. (evil--advice-add): New function. (set-window-buffer, select-window, toggle-input-method, use-global-map): * evil-search.el (isearch-message-prefix, isearch-delete-char) (isearch-lazy-highlight-search): * evil-integration.el (keyboard-quit, wdired-change-to-dired-mode) (show-paren-function, quail-show-key, describe-char, ace-jump-done): Use `(evil--)advice-add` instead of `defadvice`. (preceding-sexp, pp-last-sexp): Remove old code for when `advice-add` is not available. * evil-repeat.el (evil--read-key-sequence-advice): Adapt to use in `advice-add`. (read-key-sequence, read-key-sequence-vector): Use `advice-add`. * evil-keybindings.el (elp-results): Use `advice-add` and move outside of `eval-after-load`.
2023-08-27Do not silence unused evil-define-command argumentAxel Forsman
2023-08-14Advise `lisp-eval-last-sexp` like elisp equivalentTom Dalziel
Fixes issue raised in #1541
2023-08-07Prefer #' to quote function namesStefan Monnier
2023-06-21Remove undo-tree integration boundp checksAxel Forsman
2023-01-10Wrap just show-paren-data-function in adviceAxel Forsman
Instead of positioning the point and narrowing correctly for the entirety of show-paren-function, just do it for the show-paren-data-function call. This avoids duplicating the logic for removing stale overlays, which had to support both the new and old names of the once renamed show-paren--overlay variables. Not narrowing during show-paren-function also fixes an issue with the "mixed" show-paren-style, which uses pos-visible-in-window-p, see #1739. Closes #1739
2022-04-25Bump version to 1.15.0Tom Dalziel
2021-11-17Fix #1518: "custom functions bound to '0' break motion parsing" in a saner ↵jmmathena
way (#1534) * Try just comparing to '0' * Remove cruft and clean things up * Remove magic number
2021-10-21Fix for #1518 custom functions bound to "0" break motion parsing (#1519)jmmathena
* Modify evil-keypress-parser logic to be more modular * Rewrite tests and update visual line logic for updated digit handling * Completely remove need for redirect-digit-argument at cost of ugliness * Remove reference to obsolete func in evil-keybindings.el
2020-10-08Remove remaining undo-tree activationVasilij Schneidermann
2020-10-01Make undo-tree an optional dependencyVasilij Schneidermann
Closes #1074
2020-09-29Fix previous commitEivind Fonn
Oops. :-P
2020-09-29Mark xref-find-references as a jump commandEivind Fonn
2020-09-29Mark xref-find-definitions as a jump commandEivind Fonn
Fix #1354
2020-03-04Bump version to 1.14.01.14.0Eivind Fonn
2020-02-03Clean up compilation warnings from lexical bindingEivind Fonn
2020-01-29Re-enable lexical bindingEivind Fonn
This reverts commit e9391ae769bee189ef6144b8861b117d5c948a80, and removes spurious debug messages.
2020-01-28Revert "Enable lexical binding"Eivind Fonn
This reverts commit c6086a7b0b44963071096e3ed7545f617de88915.
2020-01-28Enable lexical bindingEivind Fonn
2020-01-13Revert "Enable undo-tree-mode only when evil-mode is turned on"Eivind Fonn
2020-01-13Enable undo-tree-mode only when evil-mode is turned onEivind Fonn
2019-12-21Expand abbrevs after insert state only if abbrev-mode is enabledEivind Fonn
2019-12-18Bump version to 1.13.0Eivind Fonn
Version 1.2.15 was accidentally tagged as 1.12.15, and released as such by MELPA Stable, so now I guess we have to run with it.
2019-12-11Fix/improve some indentationEivind Fonn
2019-12-11Merge pull request #1213 from leungbk/byte-compEivind Fonn
Placate byte-compiler
2019-12-11Bump version to 1.3.0-snapshotEivind Fonn
2019-12-11Bump version to 1.2.151.2.15Eivind Fonn
2019-12-05Add "ext:" to declare-function invocations.Brian Leung
"A FILE with an "ext:" prefix is an external file. check-declare will check such files if they are found, and skip them without error if they are not."
2019-11-21Fix evil motion 0 binding commandZilvinas Urbonas
2019-11-19Make more commands support visual-line-modeJustin Burkett
when evil-respect-visual-line-mode is non-nil, including evil-change-line, evil-delete-line, and evil-yank-line. Most of the work is done through the motions evil-line-or-visual-line and evil-end-of-line-or-visual-line. These motions use visual lines when visual-line-mode and evil-respect-visual-line-mode are non-nil, and revert back to standard lines otherwise. Visual selection via visual lines in the sense of visual-line-mode is supported by adding a new screen-line type (named to avoid confusion with visual state).
2019-01-04Bump version to 1.2.141.2.14Eivind Fonn
2018-09-12Split keybindings out from evil-integrationJames Nguyen
2018-04-22Evil window selection should trigger ElDoc.Yutian Li
2017-12-24Add missing avy commands in evil-integrationwouter bolsterlee
Evil's built-in integration with avy is missing some avy commands, which causes unexpected behaviour: some avy commands do not properly behave as evil motions. Add the missing commands, and while at it, sort the names in alphabetic order.
2017-12-10Move `provide` to the bottom of evil-integration.elEvgeni Kolev
2017-10-02update version to 1.2.131.2.13Eivind Fonn
2017-09-01Fix term-mode undo issuetianjin
Currently Evil breaks `term-char-mode` undo by enabling `undo-tree-mode`, see https://github.com/syl20bnr/spacemacs/issues/4063#issuecomment-162913414 `turn-on-undo-tree-mode` checks the variable `undo-tree-incompatible-major-modes` before enabling `undo-tree-mode`, see https://github.com/emacs-evil/evil/blob/master/lib/undo-tree.el#L2618
2017-08-12Add evil-respect-visual-line-mode optionJustin Burkett
Remap commands to use visual version when `visual-line-mode' is active. These commands are swapped `evil-next-line' <-> `evil-next-visual-line' `evil-previous-line' <-> `evil-previous-visual-line' `evil-beginning-of-line' <-> `evil-beginning-of-visual-line' `evil-end-of-line' <-> `evil-end-of-visual-line'"
2017-07-06Add evil-avy-goto-char-timerSomelauw
2017-03-23Add customizable variable `evil-want-abbrev-expand-on-insert-exit`.Evgeni Kolev
When non-nil (which is default) the `expand-abbrev` will be called in a `evil-insert-state-exit-hook` hook. This is in-line with Vim's behaviour.
2016-06-20Add wrapper for `avy-goto-char-in-line` (fix #679)Frank Fischer
2016-05-23evil-integration.el: Add support for 4 new avy functionsjustbur
2016-04-05update version to 1.2.121.2.12Frank Fischer
2016-03-07update version to 1.2.111.2.11Frank Fischer
2016-02-27Declare `quoted-insert` change repeatable (fix #627)Frank Fischer
2016-01-18update version to 1.2.101.2.10Frank Fischer
2016-01-11update version to 1.2.91.2.9Frank Fischer
2015-11-09update version to 1.2.81.2.8Frank Fischer
2015-11-02update version to 1.2.71.2.7Frank Fischer
2015-10-26update version to 1.2.61.2.6Frank Fischer