About 443,000 results
Open links in new tab
  1. How to copy text from vim to an external program?

    I'm trying to copy-paste some text from vim. I'm doing v to enter visual mode, then y once I selected my block. It appears to copy the text into vim's clipboard, because p will paste it. But in an...

  2. Copy/paste into SSH'd VIM from local (Windows) clipboard

    4 Enter insert mode in vim (i) and you can right click on the putty window to bring up a menu that has a paste command. Also an option in the menu bar. Works for me from windows. Putty doesn't copy the …

  3. How can I paste (overwriting) with vim? - Unix & Linux Stack Exchange

    Apr 18, 2019 · In vim I use yy and p all the time to yank and paste lines. However, if I want to replace one line multiple places in the file, I can't use yy p dd p because the dd deletes the line to the clipbo...

  4. How can I do a 'change word' in Vim using the current paste buffer?

    The Vim way is to learn how to intentionally use the yank, delete and other registers. Once you know these, you will easily find your own key sequences to do this. Register "0 is the yank register. …

  5. Copy-paste for vim is not working when mouse (:set mouse=a) is on?

    However, when I try doing it, it only copies the first word when I do it from vim or when I copy from the application to vim, it copies everything, but inserts strange tabs and spaces. I think this happened …

  6. Copy text from one tmux pane to another (using vim)

    Dec 18, 2012 · I have two files opened in vim, each in one tmux pane. I would like to copy let's say 10 lines from one file to another. How can I accomplish this not using the mouse's Copy -> Paste ?

  7. Why does Vim indent pasted code incorrectly? - Unix & Linux Stack …

    Apr 29, 2015 · Vim can ask the terminal to enable this mode, which, in turn, will surround pasted text with certain escape sequences. Vim can recognize this and turn off wrapping/indenting for the …

  8. vim: Unable to copy & paste in Debian Stretch

    After upgrading to Debian Stretch, we have been unable to copy&paste with the mouse in MacOS Sierra and Windows clients alike. I have tried several solutions, including from this thread, without much …

  9. How to copy text from Windows into vi running in putty?

    Nov 10, 2015 · or Ctrl-Ins in the browser to copy the selected text and Shift-Ins in vi to paste (while in insert mode. if using vim with auto-indent etc, use :set paste to set paste mode before pasting). yy is …

  10. Copy from vim (putty-session) to Windows clipboard

    Dec 10, 2020 · 2 While using vim in a PuTTY session, hold Shift while selecting an area with the mouse. The selected area should then be in the windows clipboard and you can paste it with Ctrl + v to any …