Best way to yank text in Mutt (without mouse)

Hi,
I was wondering if anyone knew of an easy way to yank/copy text while reading an email in Mutt, using just key strokes. Right now, I have to resort to the mouse to select text, which of course is not very Mutt-like.
Ideally, it'd be cool to get into a sort of "caret/visual" mode, like in Pentadactyl for Firefox, where a cursor appears and you can move it around and highlight/yank text like in Vim, but I doubt anything of that sort is available for a ncurses application like Mutt.
The only idea I have right now is, while reading an email, press "r" to open a reply in Vim, then select/yank the relevant text, then ":q" to go back to reading the email. Not terrible, but not exactly elegant either.
Any other ideas?
Brian

I originally was using "e" (edit) instead of "r" (reply), until I noticed that when I quit, it would create a duplicate copy of the email, which I would have to delete. Now I realize that the duplicate was because I was exiting with ":wq" (out of pure vim habit), which would write a duplicate copy even without any modifications.
Exiting edit mode with ":q" works perfectly and is definitely better than reply mode since I don't have to deal with all the added >'s, my signature, etc.
I may tinker with piping a decoded email into vim so I don't have to see the headers, but then again, I already have it set so that my cursor is placed after all the headers, on a blank line, meaning I can scroll down and/or forward search without running into the headers.

Similar Messages

  • Best way to handle text files in OD10g

    We have a requirement to store reports in text format into a database field, to be able to view the reports, and to print them if desired using Forms 10g. What is the best way to handle this?
    - define the field in the database as clob or blob?
    - if CLOB is the choice, what tools to use to upload CLOBs to the database (since webutil transfer is for blob only)?
    - in Forms 10g, can one use the Forms data type LONG for CLOB?
    - can you do Forms search on clob and blob fields?
    - how can reports that are stored in fields be viewed without first downloading to the client workstation?
    - in Forms 10g, what is the best way to view text files residing in local PCs: "host notepad myFile"?
    Thanks much for your reply!
    gk

    Take a deep breath. Relax. All is fine.
    iDVD does not look at the size of your video file, it looks at the length. iDVD can accomodate up to 2 hours of movie
    iDVD gives you different options depending on the length of your movie. Although I won't agree with your friend about reducing the length of your movie to 15 minutes, if you could trim out a few minutes to get it under an hour that setting in iDVD (Best Performance though the new version may have renamed it) gives you the best quality. Still, any iDVD setting will give you good quality even at 64 minutes
    In FCE export as Quicktime Movie NOT any flavour of Quicktime Conversion. Select chapter markers if you have them. If everything is on one system unchecked the Make Movie Self Contained button. Drop the QT file into iDVD

  • Best way to view Text files from Mac on iPhone 4?

    What is the Best way to view Text files (loaded) from my Mac onto my iPhone 4?
    Will any of the "readers" (e.g. Kindle, Kobo) allow me to put my own text files onto my iPhone and read them easily?
    Thanks

    I actually purchased GoodReader because it is easy to transfer files without iTunes.  I dislike the file sharing through iTunes.   You can use a Mac or PC.  Once I was in the app I clicked the "Wi-Fi" symbol which brings me to "WiFi-transfer."  It will show this --
    "WiFi status: ON
    Use one of the following addresses exactly as you see them
    1. IP-address: http://192.168.0.98:8080 <-- Local LAN address the iPhone is broadcasting on.
    2. Bonjour-address http://Myname-iPhone.local:8080"
    All you have to do is type one of those addresses into your browser. (Safari, etc.)
    It will take you to a page that has iPhone Connection and a list of options.  You can either create a new directory within the application or use an existing one to upload a text file.  It's rather simple, you just select "Choose a file to upload" > Select your file > Press upload > Start the app and see your text/pdf/whatever file.
    You can also connect to a server to download a text file, browse the web, or enter a url.  I see it also has an ICloud folder which I'm not sure if it integrates with Apple's iCloud or not, I think it does.  I'm not affliated with the app and I'm not saying you have to buy it, I'm just a happy user.
    If you don't want to buy this app let me know I'll keep looking for a free or cheaper one for you if you want.

  • What is the best way to open emails and attachments without using wifi?

    For I-phone and I-pad, what is the best way to open emails and attachments without using wifi?  I turned off wifi in my settings but my boss thinks there may be another way and a better way to use something else instead of wifi.  Any help would be appreciated!  Thank you!

    Thanks!  That is a very good question you post.  My boss asked me that and I am assuming that he is having issues with using wifi wherever he is at.  My boss is the kind of person that when he asks something you look into it and ask him no questions...he's the only one asking questions!  But thank you for your response I will tell him the information you told me and hopefully that will help!

  • What is the best way to manipulate text?

    What is the best way to manipulate text in Photoshop?  Let's say I need to edit an "A" and I want to stretch out the bottom corners of the letter, while not moving the upper portion (wide bottom, skiny top)... what is the best way to do this?  I know the "skew" function somewhat moves corners, but I want to take the binding boxes (while in the skew function) and move them individually so it doesn't affect another corner. Is this possible (or am I just crazy?!?!)?

    Not sure I get all the nuances of what you want, but have you tried invoking Free Transform, (CTRL+T) then holding down CTRL while clicking/dragging a corner handle?

  • What is the best way to add text to an image

    I used the draw ap div to add text to an image.  will that cause any problems?  If so, what is the best way to add text to an image?  Thanks!

    APDivs will kill your design unless you fully understand the css behind the scenes and plan accordingly. They really are completely unnecessary in the vast majority of situations.
    An easy way to add "web text over an image" would be to use the background-image attribute in css for a standard <div> tag, then just add the text within that same <div>.
    Something like this in the css (if you are using a 300x300 pixel image)...
    #yourdiv {
         background-image:url(yourpic.jpg);
         width:300px;
         height:300px;
    And then this in the html...
    <div id="yourdiv">Your text here</div>
    You would then position the <div> using css margins, floats and padding. Using position:absolute (APDivs) is typically something that will blow your design to pieces if the viewer changes their browser settings.

  • What is the best way to display text?

    Hi,
    I am developing a full screen presentation. I like to know which is the best way to display text with different styles and fonts.
    When i use JLabel, i have to use HTML. But the presentation is not good as it does not have anti-alias property. Also i want the background to be seen behind the text. Note that all the text in a paragraph is not of same style. I want some words to be in different color and style.
    Thanks,
    Mathan

    It works alos with JTextPane:
    Try this :
    import java.awt.*;
    import javax.swing.*;
    public class MyTextPane extends JTextPane  {
         public void paintComponent(Graphics g) {
              Graphics2D g2d = (Graphics2D)g;          
              g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);          
              super.paintComponent(g2d);
         public static void main(String[] args) {
              JFrame f = new JFrame("test");
              f.getContentPane().add(new JScrollPane(new MyTextPane()));
              f.setBounds(200,200,300,400);
              f.setVisible(true);
    }Denis

  • Best way for a thread to wait without busy-waiting

    Hi!
    I have a thread that has nothing to do but to monitor the status of a variable
    public static boolean askToClose. This variable is set by other
    threads to indicate that this thread should stop now. But I don't want the thread
    to busy-wait like in this piece of code :
    public void run() {
         while (!askToClose) {
              Thread.sleep(1000);
         cleanAndStop();     
    }I'm new to Thread programming in Java so I'm not sure what's the best way to wait
    for an event without busy-waiting. I've tried using interruption instead of
    monitoring for the boolean variable :
    public void run() {
         try {
              synchronized (this) {
                   System.out.println("WAITING");
                   wait(0);
         catch (InterruptedException e) {
              System.out.println("INTERRUPTED !");
         cleanAndStop();     
    }and the other threads would simply call myThread.interrupt() instead of setting
    askToClose = true;And I've also used a LinkedBlockingQueue :
    public static LinkedBlockingQueue q = new LinkedBlockingQueue();
    public void run() {
         try {
              q.take();//Waiting
         catch (InterruptedException e) {}
         cleanAndStop();     
    }and on the other threads :
    MyThread.q.add(new Object());Which one is the best solution ? Do I really avoid busy waiting with this code? Is
    there a better way of doing this?
    Thx for your help !

    Your wait() based solution is OK, except that the other thread should
    use
    synchronized()
      notify();
    }

  • What is the best way to clean ipod touch screen without scratching?

    Best way to clean ipod touch screen without scratching it?

                I have heard screen klean is a great touch screen cleaner. Also, a good rule for touch devices is not to use anything alcohol based!

  • What is the best way to import pictures from iPhoto without compression?

    I'm trying to create a slide show using Final Cut Pro. No, I'm not interested in using iDVD slide show function because it doesn't allow me to do a whole lot. I would like to add titles and music for certain segments with video inserted here and there.
    Anyway, when I used the slide show function in iPhoto, exported it out as a quick movie file, and then imported it into Final Cut Pro, I noticed a significant downgrade in quality of images. It obviously looks different from when I play the slide show in iPhoto. What would be the best way to import pictures into Final Cut Pro without any compression?
    Thanks in advance.

    I only see Share > Export.
    Some versions of iPhoto work that way -it's just Apple moving things around.
    what's the difference between exporting it from iPhoto then import it into FCP vs. just importing directly from FCP?
    Your first post mentioned exporting a slide show from iPhoto -I assumed that is where your images are stored.
    I do not want to import pictures one by one...
    You don't have to. iPhoto will let you select as many as you want, or if the images are elsewhere, you can also select multiple files from FCP's Import dialog.
    ...and stick them together manually.
    Editing is an art and involves some effort on your part. It is not an automated process. This method opens up far more possibilities, access to filters and color correction and the opportunity to use Motion for even more sophisticated animation.
    But, it only allows me to export it as 720 x 480. The original size of my photos is 3872 x 2592. Is there any way I can create a quicktime file in the original size?
    You should be aware that 3872 x 2592 is not a standard pixel aspect ratio that is used in video. The images will be resized to the Sequence settings that you set up in Final Cut Pro.
    I have never used iPhoto to make a slideshow before, but I just gave it a try and was able to export one with the images in their native size, simply by typing the pixel dimensions into the boxes in the dialog window:
    I don't have PhotoMagico myself, but it comes highly recommended by several of the forum regulars.
    Perhaps one of them will see this discussion and help with your last question.

  • Best way to edit text in Motion 5?

    I am using Motion 5 and a Template (from Motion VFX), and had trouble editing the text in this one text field. I couldn't just click in the Canvas and edit the text; it would just create another text box.
    I am trying to get out of the habit of just clicking on the canvas, and I want new ways to edit text.
    I searched and I found one way. I would use the "Find and Replace" tool (Command and F), and then search for the text string, and have it edit it. Is this the best way in everyone's opinion? Are there other ways I can edit text fields? Any tips?
    Thanks,
    Craig G from DC

    Select the Text "layer" in the layers column; select the Text tab in the inspector; select the Format button at the top and change the Text in the Text field at the bottom.
    BTW, that text field is publishable for FCPX from the disclosure triangle that appears when you mouse over that space with the "Text" header.

  • Best way to read text files at multiple production sites

    Need to write a solution to read txt files that contain binary data on multiple SQL Servers. I have no control over the SQL servers, they are not mine. Thinking of BULK INSERT or bcp. But must something on the server be turned on for it to work? What are
    some other production solutions for reading files and loading the data into a SQL table?

    Hello,
    I think the best way is create a SSIS package to import data into SQL Server tables. Here are some articles for your reference:
    http://codejotter.wordpress.com/2010/04/06/importing-multiple-text-files-using-ssis/
    http://technet.microsoft.com/en-us/sqlserver/dd941934.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • What's the best way for home sharing to iDevices without iTunes?

    What's the best way for home sharing movies and tv shows on my iDevices?  I know I can use home sharing through iTunes, but I'm looking for a way to share videos to my iDevices without having to leave my computer on.  I have a MacPro, iPhone, iPad, Airport Extreme, and Airport Express (and several external hard drives).  Can anyone suggest an app that would do this?  Can I have videos on an external hd attached to an Airport Extreme/Express and have it stream without iTunes?

    If your "server" is new enough to run Mountain Lion, you can purchase the OS X Server app from the Mac App store and you'll have everything you need to host a NetInstall (NetBoot) server.
    If your machine does not support Mountain Lion, you'll need to purchase the appropriate Mac OS X Server software (i.e. Lion Server or Snow Leopard Server)
    From there you can host NetInstall or NetRestore images, depending on your preferred workflow, which can be created using System Image Utility.
    As Richard points out you can also use Deploy Studio which, again depending on your preferred workflow, might simplify things.

  • Best way to store .text info.?

    Hi to all,i have a question:  i try to make a project game rental library(store).Have class library,employee -base class for manager and staff,then class customer,acc.transactions. I know the best way to keep track of info and storage is database,but
    if i am asked do not use database,what would be appropriate container instead. Arrays  or Lists ?Need to keep .text info for classes.

    >>I know the best way to keep track of info and storage is database,but if i am asked do not use database,what would be appropriate container instead. Arrays  or Lists ?Need to keep .text info for classes.
    An array or list stores objects in memory which will be lost when your applications is shut down. If you don't want to use a database you could store your data in a flat file on the hard drive. You could for example use the File.WriteAllText method to save
    the data and the File.ReadAllText to read it back from the file:
    string data = "your data...";
    System.IO.File.WriteAllText("filename.txt", data);
    string savedData = System.IO.File.ReadAllText("filename.txt");
    When it comes to store data in memory, it is preferable to use a list if you want to add/remove data. Please refer to the following link for more information:
    http://stackoverflow.com/questions/434761/array-versus-listt-when-to-use-which
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • Best way to align text with checkboxes/radio buttons?

    Is there a better way to align text and checkboxes/radio
    buttons than using
    tables with vertically-centered cells?
    Reason being, well... you've all tried putting text next to
    those form
    inputs, right? They don't naturally align.

    Thanks, but nothing there really answers my question. :-(
    Anyone know if there's a better way to align text and
    checkboxes/radio
    buttons than using tables with vertically-centered cells?
    Reason being, well... you've all tried putting text next to
    those form
    inputs, right? They don't naturally align. What is the modern
    solution to
    this problem?
    "Nancy O" <[email protected]> wrote in message
    news:gqlm1f$9te$[email protected]..
    >
    http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/

Maybe you are looking for