aboutsummaryrefslogtreecommitdiff
path: root/evil-ex.el
AgeCommit message (Collapse)Author
2022-04-30Bump version to 1.14.21.14.2stablerelease-1.14Tom Dalziel
2022-04-25Bump version to 1.14.11.14.1Tom Dalziel
2022-04-14Ensure we're not in visual state if there's no ex rangeTom Dalziel
fixes #1595
2022-04-13Ex yank doesn't move pointTom Dalziel
In visual state, it restores point to beginning of visual range Fixes #1593
2022-02-01Add sentence marks to evil-ex-grammar (#1575)Brian Leung
2022-01-07Add `evil-want-empty-ex-last-command` to varsTom Dalziel
fixes #883
2022-01-03Support { and } marks in evil-ex-grammar (#1558)Brian Leung
2021-12-23Handle more registers and range types in ex grammar (#1556)Brian Leung
* evil-ex.el (evil-ex-grammar): Handle ] and [ registers Co-authored-by: Brian Leung <leungbk@posteo.net> Co-authored-by: Tom Dalziel <tom_dl@hotmail.com> * evil-ex (evil-ex-grammar): Handle more range types * evil-ex.el (evil-ex-grammar): Handle comma- or semicolon-separated ranges that omit the first argument. The current line will be used as the input. Co-authored-by: Brian Leung <leungbk@posteo.net> Co-authored-by: Nathaniel Nicandro <nathanielnicandro@gmail.com> Co-authored-by: Tom Dalziel <tom_dl@hotmail.com>
2021-12-11Don't abort ex if choosing completion with mouse (#1553)Tom Dalziel
Fixes #1551
2021-10-04Fix compiler warnings (#1525)Tom Dalziel
2021-07-24Add `*` ex-range for last visual range (#1500)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-04-09Fix `C-r` at evil ex search prompt (#1453)Tom Dalziel
* Introduce `evil-paste-clear-minibuffer-first` to aid `C-r` on search * Add test for pasting from register in ex-search prompt
2021-01-09Add version to `define-obsolete-function-alias' invocationBrian Leung
The latest Emacs 28 requires this.
2020-03-04Bump version to 1.14.01.14.0Eivind Fonn
2020-02-22Deprecate evil-add-to-alist, which doesn't work with lexicalEivind 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-28Fix indentationEivind Fonn
2020-01-28Implement Vim Ctrl-f in minibuffer.Nathan Gass
Open apropriate command windows for Ctrl-f while in minibuffer for an ex command or a search. As all ways to abort a minibuffer do not return and restore the active buffer, we have to set the content of the minibuffer and exit normally to trigger the apropriate action. Also restoring the window configuration is necessary so minibuffer-selected-window is not changed.
2020-01-28Enable lexical bindingEivind 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-11Bump version to 1.3.0-snapshotEivind Fonn
2019-12-11Bump version to 1.2.151.2.15Eivind Fonn
2019-11-23Unconditionally complete ex commands (with fallback)Eivind Fonn
This triggers ex command completion even outside of the command syntactical context. To compensate, the completion now falls through to argument context if no commands can be found.
2019-11-23Fix erroneously short-parsing Emacs commandsEivind Fonn
Fixes #1202
2019-11-20Handle dash in ex commandsVasilij Schneidermann
Closes #919
2019-11-19Fix `evil-ex` called with a current line prefixNathaniel Nicandro
2019-11-19Declare documentation stringsAlexander Shukaev
2019-01-04Bump version to 1.2.141.2.14Eivind Fonn
2018-09-12Support recursive minibuffers in ExNathaniel Nicandro
When `enable-recursive-minibuffers` is non-nil it is possible to enter another minibuffer at a lower editing depth from within the Ex minibuffer. Since `evil-ex-teardown` is added to the global value of `minibuffer-exit-hook`, it will only be called in the minibuffer at the lower level when it exits instead of in the Ex minibuffer since it is removed from `minibuffer-exit-hook` when it is called. But this means that `evil-ex-update` will not be properly cleaned up since it is added to the local value of `after-change-functions` in the Ex minibuffer. After completely exiting all minibuffers and then entering a minibuffer that is not an Ex minibuffer, `evil-ex-update` will still be in `after-change-functions` due to how minibuffers are named (https://www.gnu.org/software/emacs/manual/html_node/elisp/Intro-to-Minibuffers.html) and assuming that the initial Ex was entered when the recursive editing depth was 0. Instead of adding `evil-ex-teardown` to the global value of `minibuffer-exit-hook`, this commit adds it to the local value of `minibuffer-exit-hook` in the Ex minibuffer so that `evil-ex-update` is properly removed regardless of how many recursive minibuffers there are.
2018-09-11Make `evil-ex-replace-special-filenames' robust to remote (TRAMP) file pathsAlexander Shukaev
2018-02-21evil-ex-global: parse COMMAND only once, not on each matching lineEvgeni Kolev
2017-12-27If `evil-ex` is called with initial input, call `evil-ex-update`Evgeni Kolev
As a result, when the following code is executed from lisp, the substitution overlays will be displayed `(evil-ex "%s/this/that")`
2017-10-29Fix typoVasilij Schneidermann
2017-10-24If an autoload, load ex function so completion can be providedEvgeni Kolev
2017-10-02update version to 1.2.131.2.13Eivind Fonn
2017-09-02Remove redundant function level requiresYork Zhao
Now that `shell' has been required at the top level, we don't need to require it inside any functions in the same file. To calm down byte compiler, `require' statements have to be placed outside of any function because they are not parsed at compile time if they are inside functions.
2017-09-02Eliminate a few byte compiler warningsYork Zhao
2017-05-10Support numbers in Emacs commands for exVasilij Schneidermann
Closes #729
2017-02-19Re-add compatibility functions with deprecation warningsEivind Fonn
2017-02-15Remove support for Emacs < 24Eivind Fonn
2016-05-06ex: Run command hooks when calling command from ex (fix #663)Frank Fischer
* run pre/post-command-hook before and after calling the command, resp. * set `this-command` appropriately * required for the jump system to work because it relies on hooks
2016-04-05Merge stableFrank Fischer
2016-04-05update version to 1.2.121.2.12Frank Fischer
2016-03-07Merge with stableFrank Fischer
2016-03-07update version to 1.2.111.2.11Frank Fischer
2016-02-23evil-ex: Simplify previous commitjustbur
Avoid checking (commandp binding) twice in a row
2016-02-23evil-ex: Support remapping ex commandsjustbur
In evil-ex-binding, check for remaps before returning final command.