Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: copy terminal to vi, vi to terminal

  1. #11
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    531
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: copy terminal to vi, vi to terminal

    Quote Originally Posted by markbl View Post
    You can copy and paste in any linux terminal using the left mouse to select text, and then middle click to paste (not right click!).
    I am using Windows 7 and portable PuTTY 0.62. Right-click is paste for me by default. Might be a different story for an Ubuntu Desktop. But regardless, it is done with the mouse, not CTRL+C, CTRL+V as Windows users might expect.

    LHammonds

  2. #12
    Join Date
    Jun 2006
    Location
    Brisbane Australia
    Beans
    713

    Re: copy terminal to vi, vi to terminal

    Quote Originally Posted by LHammonds View Post
    I am using Windows 7 and portable PuTTY 0.62. Right-click is paste for me by default. Might be a different story for an Ubuntu Desktop. But regardless, it is done with the mouse, not CTRL+C, CTRL+V as Windows users might expect.
    I last used PuTTY (and windows) many years ago but I think you can set this option in the PuTTY window settings. Middle paste is an xterm convention. PuTTY probably defaults to the windows convention.

  3. #13
    Join Date
    Jan 2010
    Location
    Kolkata India
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: copy terminal to vi, vi to terminal

    On a ssh session from Putty , whenever I am editing something on Vim and want to go back to commandline without closing the Vim editor , I use the below command .
    Code:
    :!bash
    When back in bash prompt i can paste the copied command/text from vim by just a right click .Now an exit at bash prompt returns me back to editing with vim , where i was .
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •