Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6668547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:03:12+00:00 2026-05-26T03:03:12+00:00

When I paste lines, like the ones below, to Vim, " OmniCppComplete let OmniCpp_NamespaceSearch

  • 0

When I paste lines, like the ones below, to Vim,

" OmniCppComplete
let OmniCpp_NamespaceSearch = 1

Vim automagically adds the " comment character to all lines. How do I get rid of this and have it paste as it is?

What I'm getting after the paste in Vim:

 66     " OmniCppComplete
 67     " let OmniCpp_NamespaceSearch = 1
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:03:12+00:00Added an answer on May 26, 2026 at 3:03 am

    Two main options:

    • Put directly from the register without ever entering insert mode, using  "+p
      • " means “use the following register”;
      • + refers to the clipboard, and
      • p for put!

    Should you be using the middle click selection paste in Linux, use * instead of + to refer to it.

    • Before entering insert mode to paste, run :set paste. Turn it off once you leave insert mode with :set nopaste.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Vim I am trying to paste a few lines: PROC SQL; CONNECT TO
# join pairs of lines side-by-side (like paste) sed '$!N;s/\n/ /' The above script
I often delete, yank, and paste using something like this: :3,6y Since Vim 7,
One thing that's bothered me with vi is that paste (p) inserts lines after
how can i paste something on multiple lines? i'm trying to achieve the same
When I cut and paste from a Word document into VIM, quotes get translated
I have a protected worksheet that users would like to copy and paste into.
I've got log file, which I would like to have 60 lines in. When
Let's say I have a data.frame like: a <- c(1:10,1:10,1:10,1:10,1:10,1:10,1:10,1:10,1:10,1:10) df <- data.frame(a,rnorm(100)) And
I have a bunch of lines that I'd like to split into two columns,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.