Comments (5)
I think consult-history does what you want? It was just added yesterday!
from consult.
Thanks @minad, I did not notice that.
Would you be interested in a PR like abo-abo/swiper@69fedaa? The purpose is to add support for the C-c C-x
commands in comint
and eshell
.
from consult.
@leungbk Can you describe please what you want to do? I took only a quick look to the link, but it is not immediately obvious.
from consult.
If my eshell
history contains:
echo old
echo newer
echo newest
Right now, if I call consult-history
, then select echo old
and hit RET
, there is no way to quickly retrieve its successor, echo newer
in the history list; I would have to either call consult-history
again or mash M-p
until finding it.
The comint
-like modes all contain a command bound to C-c C-x
for retrieving the successor; in eshell
it's called eshell-get-next-from-history
.
Right now, consult-history
does not do the bookkeeping required to update the information used by eshell-get-next-from-history
. The commit I posted above did that for counsel
's relevant commands, and I'd now like to write something analogous here in consult
.
from consult.
@leungbk Ok, I see. This sounds good! Looking forward to a PR!
from consult.
Related Issues (20)
- Transform yanks before listing/previewing in consult-yank HOT 1
- Consult previews don't have any font highlighting
- consult-grep family integrates badly with literally-visited files
- consult--each-line not unquoted `end` symbol
- Sorting when buffer switching
- consult-buffer only showing the active buffer HOT 4
- Usage of :history in consult--read?
- consult-xref broken in emacs 30 HOT 1
- consult-xref assumes xref-file-location in consult-xref--candidates
- `call-interactively` does not use `consult-customize` HOT 1
- Consult (asynchronous) doesn't respect completion-styles with orderless?
- Should preview change the current region?
- `consult-yank-from-kill-ring` appends the text, instead of inserting it
- Match not found with consult-ripgrep and consult-grep
- `void-function internal--without-restriction` under Emacs 30 HOT 1
- how do i use consult to live preview a given list of files + line number
- consult-buffer with `display-buffer-alist` HOT 1
- Error running timer: (wrong-type-argument sequencep #<marker in no buffer>) HOT 2
- `(void-function internal--without-restriction)` Under Emacs 30
- consult-completion-in-region, lsp-mode method signatures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consult.