On 2009-09-03, brownh <bro...@historicalmaterialism.info> wrote: > Often, when composing a message, I want to past an address in the To: > line without using my mouse. However, the usual C-y or C-v keyboard > commands don't work. Any suggestions?
Here's an idea. Mutt has a 'query_command' variable (see the mutt manual) that's intended to allow the user to query an external database of addresses. It's normally invoked by typing Ctrl-T while entering an address at the To: or other address prompt. You could set this variable to "xclip -o" (I'm not sure about the options) where xclip is a command-line program for accessing the X clipboard. If you're already using 'query_command' to access an address database, you could simply write a wrapper that would do something like integrate the clipboard output with the other address choices, or recognize an empty address line or special character on the address line as a trigger to use xclip instead of the database. > If I may, a minor secondary question. When I type in an address on the > To: line, the insertion point is not visible. This is annoying when I > need to go back to correct a typo. I don't know where I am so that I > can do a DEL or type at the right place. Can I change this behavior? I believe this is a terminal issue. HTH, Gary