title: Copy from Linux command line to Vim
body: <p>I want to copy an alias from my Ubuntu 14.04 command line to my .bashrc file (to make this alias always available).</p>
  
  <p>I have:</p>
  
  <pre><code>ubuntu@ip-172-31-22-65:~$ alias foo='cd /home/ubuntu/projects/tp; workon env1'
  </code></pre>
  
  <p>I performed <kbd>Ctrl</kbd> + <kbd>U</kbd> to copy it then</p>
  
  <pre><code>ubuntu@ip-172-31-22-65:~$ vim .bashrc
  </code></pre>
  
  <p>However when I use "p" in Vim I see:</p>
  
  <pre><code>"Nothing in register"
  </code></pre>
  
  <p>How can I copy from the command line to my file?</p>