| Age | Commit message (Collapse) | Author |
|
|
|
way (#1534)
* Try just comparing to '0'
* Remove cruft and clean things up
* Remove magic number
|
|
|
|
Docstring should be generated by sphinx, not manually
|
|
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.
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
With the search module: evil-search
Exit the `/` or `?` search prompts
when mouse selecting another window.
|
|
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).
|
|
|
|
Mention NonGNU ELPA
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
* evil-scroll half of the visible screen, respecting zoom level
* remove unnecessary interactive declaration
|
|
It's more intuitive for evil beginners if no keymap overriding evil maps.
fix #1488
|
|
|
|
|
|
|
|
|
|
* Add wraparound to `evil-ex-re-fwd` + `evil-ex-re-bwd`
Fixes a bug noted in #1482
* Tests for 1482
|
|
|
|
* 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
|
|
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>
|
|
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!).
|
|
|
|
* Remove travis.yml, add test.yml github workflow
* Add workflow status badge
|
|
|
|
* Handle `execute-kbd-macro`'s nil value for `this-command`
* Handle repeating of execute-normal commands earlier in insert
|
|
|
|
Properly fixes #1463
* Fix c-o at eol for cursor-forward commands, replace state, add tests
|
|
|
|
|
|
* `unless` -> `when`
* Use the noerror param in `evil-get-register`
|