Comments (11)
@binaryplease That works for me! Specifically, I have set:
set query_command = "echo && notmuch address %s | fzf --height=10 --query=%s"
...But it mangles Neomutt's window layout once it's finished - is there a way to force Neomutt to run <redraw-window>
once fzf has exited?
from neomutt.
to get something close what i'm trying to explain here please try the following.
set query_command = "notmuch-addrlookup --mutt %s |fzf"
you will need: notmuch-addrlookup and fzf of course.
Try:
set query_command = "echo && notmuch-addrlookup --mutt %s |fzf"
mutt gets rid of the first line
from neomutt.
@257
That sounds useful, but I don't understand what you want from NeoMutt.
If query_command
works, then there's nothing to do.
For now, NeoMutt is just going to be sets of patches for Mutt. I'm not going to make binary releases and I'm not going to bundle other software (however good it is).
from neomutt.
query_command in this case doesn't quite work actually. i get a list hits but there is not way to feed that into mutt... fzf also is written in go but i would like to implement this in C and ncurses; not sure if such a thing exist in ncurses actually. any pointers?
from neomutt.
@flatcap: on the second read of your post i think i didn't explain myself properly. using fzf is just for illustration. i didn't mean to ask to have something external bundled and released.
from neomutt.
This issue has been closed -- Sorry, but there isn't enough interest in it at the moment.
The idea's now listed on the Blue Sky Ideas page.
If, in the future, someone wants to add this feature we will re-open this issue.
from neomutt.
@binaryplease That works for me! Specifically, I have set:
set query_command = "echo && notmuch address %s | fzf --height=10 --query=%s"
...But it mangles Neomutt's window layout once it's finished - is there a way to force Neomutt to run
<redraw-window>
once fzf has exited?
Did you ever find a solution?
from neomutt.
@thriveth, @pinpox I was also trying to get the same thing to work. As you have discovered, there is no <refresh>
or equivalent available in the "Editor" mode, so you can't get the screen to redraw (even with a separate binding) until you're back in a different mode.
I have worked around this by opening fzf
in a new terminal by way of a wrapper, and getting the results back from it via a named pipe.
See https://github.com/benmaddison/fzf-complete-query for details if you're still looking for a solution...
from neomutt.
Thanks @benmaddison!
I have since moved on to use My4e as my mail client so this is not relevant for me anymore, but it looks like a good solution!
from neomutt.
My4e
Can't find that on google, do you have a link?
from neomutt.
@pinpox Ooops, my bad, typo. Mu4e. A mail-utils client running in Emacs.
https://www.djcbsoftware.nl/code/mu/mu4e.html
from neomutt.
Related Issues (20)
- Subject debris in replies HOT 5
- Manual sync "$" should be reflected immediately in status bar. HOT 3
- Show information about the encryption of a message HOT 2
- Unable to send because of 'invalid return path' HOT 6
- Lines suspicious of being a memory leak in smime.c HOT 2
- mailbox_folder_format vs folder_format mixed up? HOT 2
- The manual pages trigger many formatter warnings HOT 1
- Variables in macros for custom commands, shortcuts, piping... etc. How can I find documentation about this? HOT 3
- Segfault when opening forwarded multipart email (as attachment) before sending HOT 5
- Runtime error when invoking complete in save-entry HOT 3
- get mail address from abook fail when forget add Comma HOT 2
- send-hook not updated based on group context: bug or user error? HOT 4
- Copyright clarification: GPL-2 or GPL-2+ HOT 2
- shutdown-hook does not execute sync-mailbox (possible bug) HOT 7
- Configure default subject prefix for reply messages HOT 4
- View entire thread in folder
- Neomutt time to time: Fetching message headers... HOT 5
- Search/Limit search To: not From: in sent mails HOT 6
- neomutt freeze (IMAP config)
- After calling an external program from the index, the currently selected message is shown in a different line (`menu_scroll=yes`)
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 neomutt.