0
votes
1answer
30 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
1
vote
1answer
47 views

How can I cause vim to copy text to GNU screen's clipboard buffer?

I want to yank text with a command to vim and have it end up in screen's clipboard where it can be pasted to a different application via ^A] later. vim needs to do the copying (not screen's copy mode) ...
0
votes
2answers
51 views

SSH'd (via Cygwin) vim to write to local file

Okay, so I'm trying to solve the problem of getting the contents of a yanked register from a SSH'd session in Vim, to go to the Windows clipboard. Here's the scenario: SSH into development ...
0
votes
1answer
90 views

vim: Text copied into * register disappearing

I'm having an issue where text yanked to unnamed is not available to paste afterwards. This only occurs when I am SSHd in to another machine. Both machines are running identical versions of OS X ...
3
votes
2answers
652 views

How can I copy into the Mac clipboard from vim?

I can paste from vim in one terminal window to vim in another, but not to anything outside vim. I've read numerous posts on the subject, and nothing I've found has helped. Copy/pasting from MacVim ...
0
votes
1answer
991 views

Vim inside tmux on Mac OS X Mavericks can't copy to clipboard

Since going to Mavericks, I've lost the ability to use the clipboard in vim when run under tmux. I install vim via brew. For reference, yes, the +clipboard option is definitely set. When I run vim ...
3
votes
0answers
465 views

Is MacVim copy-to-clipboard supposed to be working on OS X Mavericks?

I've recently found out that I can no longer copy text out of MacVim and paste into other Mac apps. I used to be able to do this on Mountain Lion. I have the usual configurations set, namely: set ...
3
votes
1answer
198 views

Unable to copy from vim to system clipboard

I read and tried several different solutions but I am still unable to copy from vim to system clipboard. Viceversa works, copying from outside vim and pasting with p is ok. I have installed clipboard ...
1
vote
1answer
552 views

VIM copy doesn't work in Gnome Terminal (to system clipboard)

I prefer using VIM in a gnome terminal (On Fedora 19) instead of using GVIM. But I can't seem to copy to the system clipboard. I'm pulling my hair out trying to figure this out because other threads ...
1
vote
1answer
63 views

Accessing MacOS X clipboard from

I'd like to access the system clipboard in Mountain Lion as a register in vim. The vim that comes with Mountain Lion is built with -xterm_clipboard shown in vim --version. Homebrew has a formula for ...
2
votes
1answer
292 views

OSX Clipboard is broken in Vim

I have OSX ML and Vim 7.3. When I try to use OSX clipboard...well nothing happens. If I do "+yy for instance, nothing gets into osx clipboard. "* doesn't work either, neither does ex command yaking ...
1
vote
1answer
57 views

Is there a vim plugin or other program that copy-pastes a selected text to a permanent file in one keystroke?

Is there a vim plugin or other program that copy-pastes a selected text to a permanent file in one keystroke? E.g. You select a text, do Ctrl + s and instead of copying to clipboard, it copies to a ...
1
vote
2answers
899 views

copying from VIM in a screen in putty under windows

Anyway i can get text from Vim in the windows clipboard? my sessions are usually via PuTTY, and almost always in a gnu screen if using :set mouse=v i can highlight some lines and they appear in ...
2
votes
4answers
3k views

Always use :set paste, Is it a good idea?

In a terminal vim, pasting clipboard data often messes up the code indent. I just knew if I uses :set paste the indent is not broken. Though, after pasting data, should I do :set nopaste again? What ...
2
votes
2answers
304 views

Prevent MacVim copying every visual selection to clipboard

Every time the visual selection changes in MacVim, it is copied to the system clipboard. Is this normal and can it be disabled?
0
votes
2answers
268 views

Vim on Ubuntu Server from OSX Terminal: automatic copy does not work

The Story I'm using vim on a Ubuntu server to develop a webpage. Most of the time I work from a Windows machine using putty. Whenever I have to copy something from vim to the Windows clipboard I just ...
2
votes
4answers
292 views

Prevent vim from clearing the clipboard on exit

If I copy text into the xterm clipboard from vim, it is cleared when I exit vim. How do I prevent this?
4
votes
5answers
2k views

Sharing Vim Yank Register

Is it possible to run multiple instances of Vim which share their yank registers? I'd like to avoid having to yank to the system clipboard with "+y or opening my files in split windows within the same ...
1
vote
4answers
4k views

Compiling vim with xterm_clipboard support

I checked out latest vim7 from cvs repository. cvs -z3 -d:pserver:anonymous@vim.cvs.sf.net:/cvsroot/vim checkout vim7 I tried: ./configure --enable-xterm_clipboard but I got - WARNING: ...
2
votes
1answer
249 views

How to paste primary selection into Vim?

I use the middle-click, or CTRL-SHIFT-V to paste indented selection into Vim: <a> <b> <c> </a> I have tried to :set nosmartindent :set nosmarttab It's used to ...
1
vote
1answer
2k views

Use the system clipboard in vim instead of vim's clipboard

Is there any way to use the system clipboard on Mac OS X (it is accessible with pbpaste and pbcopy to read and write, respectively) in place of vim's clipboard? So, for instance, when I did a cut or ...
4
votes
1answer
2k views

How to install vim with clipboard support on Fedora?

I'm using Fedora Linux and don't have the ability to copy text from vim into the system clipboard (which I should be able to do by using the + or * register, though I'm not sure which). If I type this ...
11
votes
5answers
11k views

Copy to system clipboard instead of vim buffer

I would like to set Y and P to copy and paste directly to the system clipboard instead of vim buffer. I don't want any additional commands. Just the normal ones, but they should copy to and paste ...
1
vote
2answers
615 views

Vim: Copy selection

Having a chunk of text selected in Vim's visual mode, I'd like to copy that to the system's clipboard (be it the primary or X11's). Is there an easy solution for this? Obviously, a simple y doesn't do ...
8
votes
3answers
2k views

How to paste from multiple clipboards vim without leaving insert mode?

Suppose you are typing in vim and there are 5 common expressions that you need to insert into the text over and over. Is there a way you can tell vim to paste from multiple clipboards without ...