aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-17newdocs (#1531)Tom 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-11-16Fix #1538: prefer vim behavior of opening in same window (#1540)Evan Carlin
2021-11-16Refactor `evil-visual-update-x-selection`, remove docstringTom Dalziel
Docstring should be generated by sphinx, not manually
2021-11-16Add option to stop updating X PRIMARY selection with the current visual regionChen Bin
Vim user can select a region in visual mode and press the key `p` to replace the selected text. But in GUI Emacs, the selected text might not be replaced when: - `select-enable-primary` is `t` - Third plugins override `interprogram-paste-function` (xclip.el, for example) - Clipboard managers syncronise data between PRIMARY and CLIPBOARD selection It's because the visual commands automatically insert the content of visually selected region into X PRIMARY selection. But paste commands call the api `current-kill` which calls `interprogram-paste-function`. Value of `interprogram-paste-function` is `gui-selection-value` which might return CLIPBOARD or PRIMARY selection.
2021-11-15Overhaul gn and gN + add tests (#1539)Tom Dalziel
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
2021-10-16Pull temporary goal column normalization into let (#1533)Tom Dalziel
2021-10-12Use `point-max` rather than `end-of-buffer` for G with no count (#1530)Tom Dalziel
2021-10-11Mention that `evil-search-module` doesn't affect keybindingsTom Dalziel
2021-10-11Add docs for evil-start-of-lineTom Dalziel
2021-10-11Improve evil-ensure-column and use with evil-goto-line (#1529)Tom Dalziel
* Add `evil--stick-to-eol-p` and use for `evil-ensure-column` * Evil-shift commands more concise using `evil--stick-to-eol-p` * WIP - track column for evil-goto-line * Move copied line-move-1 code to evil-ensure-column, add tests
2021-10-06<insert> in replace state should append, not insert (#1527)Tom Dalziel
2021-10-06Add keybindings for [insert] (#1526)Tom Dalziel
2021-10-04Fix compiler warnings (#1525)Tom Dalziel
2021-10-04Add evil-start-of-line, evil-ensure-column, and use them (#1524)Tom Dalziel
2021-09-02Add `evil-search-wrap-ring-bell` customization variable (#1509)Johannes Neyer
2021-09-02Exit search prompt on mouse leave minibuffer (#1330)duianto
With the search module: evil-search Exit the `/` or `?` search prompts when mouse selecting another window.
2021-08-10Do not try to switch file/buffer when jumping inside same file (#1506)Konstantin Kharlamov
The vast majority of jumps will end up within the current opened file/buffer, simply because usually users do more movement inside a buffer rather than across buffers. There is even a special case when evil-jumps-cross-buffers is set to nil, which causes jumps never ever switch buffers. So, let's do a small optimization, and not try to call find-file or switch-to-buffer if we know it is unnecessary. As a side-effect, this should also help to users to stumble less upon https://github.com/emacs-evil/evil/issues/1504 bug (it has its own upstream fix, but until that landed, this small optimization is known to help as well).
2021-08-10Add NonGNU ELPA badgeVasilij Schneidermann
2021-08-09Merge pull request #1508 from emacs-evil/nongnu-elpa-mentionVasilij Schneidermann
Mention NonGNU ELPA
2021-08-08Mention NonGNU ELPAVasilij Schneidermann
2021-07-27Add g-home g-end g-up & g-down motion bindings (#1503)Tom Dalziel
2021-07-25Add gI (evil-insert-0-line) (#1502)Tom Dalziel
2021-07-24Add `*` ex-range for last visual range (#1500)Tom Dalziel
2021-07-23Add i_ctrl-@ binding and function (#1498)Tom Dalziel
2021-07-23Revert "Scroll half of the visible screen respecting zoom level (#1490)"Tom Dalziel
This reverts commit 070abb16620653fb343980fb85a13c4d55e1070b. As noted in #1497 this introduced bugs which imo are worse than the bug this commit aims to solve. More work needed.
2021-07-21Add test for ex-search-word when magic and vim-style regexpTom Dalziel
2021-07-21Fix evil-ex-search-word-forward with evil-ex-search-vim-style-regexpTroy Hinckley
Disable evil-ex-search-vim-style-regexp when building the pattern for evil-ex-search-word-forward. We don't want the pattern transformed because it is not being entered by the user. Closes #347
2021-07-19Add [return] to evil-repeat-info when recording for evil-ex-search (#1495)Tom Dalziel
2021-07-15Scroll half of the visible screen respecting zoom level (#1490)Siddhartha Kasivajhula
* evil-scroll half of the visible screen, respecting zoom level * remove unnecessary interactive declaration
2021-07-15evil-vars: reset evil-overriding-maps to an empty list (#1494)Youmu
It's more intuitive for evil beginners if no keymap overriding evil maps. fix #1488
2021-07-13evil-maybe-remove-spaces works for cc<escape> (#1493)Tom Dalziel
2021-07-12Fixes #1322: take tab-line height into account (#1323)sorawee
2021-07-05Allow switching direction on ex-search shorthand repeat (#1485)Tom Dalziel
2021-07-04Support `/` and `//` shorthand for repeated search motions (#1484)Tom Dalziel
2021-06-28Fix 1482 addr wraparound (#1483)Tom Dalziel
* Add wraparound to `evil-ex-re-fwd` + `evil-ex-re-bwd` Fixes a bug noted in #1482 * Tests for 1482
2021-06-24Always return text from evil-yank-rectangle (#1480)Tom Dalziel
2021-06-15evil-core: refactored `evil-get-auxiliary-keymap` (#1478)Lucius Hu
* evil-core: refactored `evil-get-auxiliary-keymap` In `evil-get-auxilliary-keymap`, there's already a check on `state` when entering the function. Should `state` be `nil`, it won't enter the `let*` form. Hence the binding specification `(aux (if state (lookup-key map key) map))` always reduces to `(aux (lookup-key map key))` This commit removed unnecessary `if` form. * minor changes
2021-06-15Fix evil-find-char on empty line (#1475)Axel Forsman
Previously, with the cursor on an empty line `evil-find-char` would continue searching on the next line. This was because `forward-char` would advance to the next line, after which the `search-forward` bound would be wrongly calculated. Co-authored-by: Tom Dalziel <tom_dl@hotmail.com>
2021-06-15Add info about `evil-symbol-word-search` to FAQ. (#1431)Ilya Grigoriev
For me, the Evil default of using words instead of symbols is only really important for `#` and `*` searches. The fix for them is much simpler than for the other motions after https://github.com/emacs-evil/evil/issues/360 (thanks!).
2021-06-14Fix bug in C-r after evil-change (with specified register) (#1476)Tom Dalziel
2021-06-14Remove travis.yml, add test.yml github workflow (#1474)Tom Dalziel
* Remove travis.yml, add test.yml github workflow * Add workflow status badge
2021-05-29Update IRC infoVasilij Schneidermann
2021-05-27Repeat when execute in normal state (#1467)Tom Dalziel
* Handle `execute-kbd-macro`'s nil value for `this-command` * Handle repeating of execute-normal commands earlier in insert
2021-05-23Execute in normal state should cancel insert countTom Dalziel
2021-05-22Fix c-o at eol for cursor-forward commands, replace state, add tests (#1464)Tom Dalziel
Properly fixes #1463 * Fix c-o at eol for cursor-forward commands, replace state, add tests
2021-05-15Fix #1460 where cursor is misplaced after C-o at eol (#1461)Tom Dalziel
2021-05-03Check for empty input before evaluating exprTom Dalziel
2021-04-24use `noerror` properly in `evil-get-register` (#1457)Tom Dalziel
* `unless` -> `when` * Use the noerror param in `evil-get-register`