aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-29Make evil-mode-line-format recognise nil valueProtesilaos Stavrou
2022-12-29evil-core: don't change match data in the advice of set-window-bufferLin Sun
2022-12-29Remove some unnecessary evil-normalize-position:sAxel Forsman
All Emacs functions that take positions as arguments such as goto-char already do the normalization performed by evil-normalize-position. The only case where it would be necessary is when a marker that may be mutated is stored. Therefore it would probably be a good idea to replace evil-normalize-position with conditional marker-position altogether.
2022-12-29Remove str-conversions in evil-visual-block-cornerAxel Forsman
2022-12-29Make visual block selection after j/k match VimAxel Forsman
Vim only extends the visual block selection to the temporary goal column if tracking EOL. Consider [a]bc a When entering Visual block mode with "C-v", going to the "c" in "abc" and then to the next line with "fcj", the selection should only include the two "a":s, and not "bc". Contrast this with when "$" is executed.
2022-12-29Simplify temporary-goal-column logicAxel Forsman
In `evil-ensure-column` there is no point in normalizing `temporary-goal-column` a second time after BODY, since that variable is used to store the saved column that need not be overwritten. Also tracking EOL after `evil-end-of-line` is already handled as it fakes being a `next-line` command. Adds a test for commit 7aa71576d258b9546238f6dbd4cf5ca0a1b70088.
2022-11-22Only restrict objects when current line is not empty (#1721)Tom Dalziel
2022-11-15Don't post-command deactivate visual when not in transient mark mode (#1718)Tom Dalziel
Fixes #1122
2022-11-09Select the correct window after rotating windows with evil-window-rot… (#1716)kpence
2022-11-09Only do performant ex-delete if no argsTom Dalziel
2022-11-09Add test for last selected visual area marksTom Dalziel
2022-11-09Revert "Make sure visual markers are up to date in evil-visual-range"Tom Dalziel
This reverts commit 71332209386e431ae13442f20468b2edb59f727b.
2022-11-05gp & gP linewise & blockwiseTom Dalziel
2022-11-01Add evil-keep-lines and evil-flush-linesTom Dalziel
2022-11-01Flush and keep for evil-ex-global performanceTom Dalziel
Fixes #1334
2022-10-30Update ] and [ markers when doing operatorTom Dalziel
2022-10-24Update docsTom Dalziel
2022-10-24evil transient mouse selection (#1706)Tom Dalziel
2022-10-17Add evil-execute-last-recorded-macro à la nvimTom Dalziel
2022-10-17Add [S-left] and [S-right] bindings for insert stateTom Dalziel
2022-10-15Remove z kb macros for discoverabilityTom Dalziel
2022-10-13 Remove make-variable-buffer-local from variables (fixes #1416)Ghosty
- make-variable-buffer-local should not be used for user-option variables according to the emacs elisp manual. See 12.11.2 Command: make-variable-buffer-local
2022-10-13Fix compiler warningsTom Dalziel
2022-10-13Shorten doc-stringsTom Dalziel
2022-10-13Suppress operator for evil-set-markerTom Dalziel
2022-10-12Revert "Suppress operator for some normal state commands" partiallyTom Dalziel
This reverts commit 460af439e51da7f6602732318ff52820bd2286fd. Fixes #1699
2022-10-07Fix evil-select-paren #1673 for regexp special chars (#1696)marcolgl
2022-10-05Fixup evil-select-paren for multichars delimitersmarcolgl
Solve a bug that caused evil-select-paren to loop indefinitely when running the function with an open delimiter composed of more than one character and the following open delimiter isn't closed.
2022-10-05Add tests for c-w yanking word in evil searchTom Dalziel
Additional to #1127
2022-10-05evil-ex-completion-map/evil-ex-search-keymap respect evil-want-C-w-deletejixiuf
2022-10-05C-w support yank word when search-module is 'evil-searchjixiuf
2022-10-04Fix evil-ex-substitute up to EOBAxel Forsman
Fixes #1682
2022-10-04Fix up the cmds that scroll relative to cursorAxel Forsman
Reverts commit bbe92d1 (Handle scroll margin in scroll-to-top/bottom functions (re #618), 2016-03-31) which introduced a bug in evil-scroll-bottom-line-to-top (due to recenter argument becoming negative.) recenter itself has clamped to scroll_margin for at least 18 years now, so it is unclear why that commit was even necessary. Also fixes the docstring for evil-scroll-top-line-to-bottom and avoids scanning down from (point-min) to the line the point is already at.
2022-10-04Add testAxel Forsman
2022-10-04Handle gj/gk when tracking EOLAxel Forsman
2022-10-04Move commentAxel Forsman
2022-10-04Reset tmp goal col between visual/logical ln moveAxel Forsman
Resolves #1469
2022-10-04Better fix for #1687Tom Dalziel
2022-10-04Fix warning with cl-case on Emacs 29Brian Leung
2022-10-04Ensure column doesn't spoof `next-line`Tom Dalziel
Fixes #1687
2022-10-03Suppress operator for some normal state commandsTom Dalziel
2022-10-02evil-select-parens selects next pair if not in parens (#1673)Garklein
Co-authored-by: marcolgl <marco-9-6-96@hotmail.it> Co-authored-by: Tom Dalziel <tom_dl@hotmail.com>
2022-09-29doc: follow the Emacs Lisp Style Guidedalu
2022-09-29fix: replace deprecated functionsdalu
2022-09-29flesh out commentElliott Shugerman
2022-09-29only use `gui--selection-value-internal` for 29+ for nowElliott Shugerman
2022-09-29Fix pasting from ?+ in Emacs 29Elliott Shugerman
2022-09-28Fix Ex completion of empty stringAxel Forsman
An empty string will not parse as an Ex command, meaning evil-ex-cmd would be nil even after evil-ex-update returns. This commit makes sure evil-ex-command-completion-at-point handles this. Also remove the unnecessary nil-check in evil-ex-binding.
2022-09-28Bring evil-digraphs up to date with vimTom Dalziel
2022-09-26Store digraph character directly for repetitionTom Dalziel
Fixes #1675