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 8003479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:39:37+00:00 2026-06-04T16:39:37+00:00

I just started using vim a few hours ago and am working on a

  • 0

I just started using vim a few hours ago and am working on a project. Having a decent amount of fun and frustration alike — mostly fun though :).

I am running into an odd situation though which might be due to using Janus, but any help would be much appreciated.

When I visually select several lines using shift-v + j then do a replace on those lines to comment them :s/^/#, it successfully does what I would expect and replace the start of the lines of the visual block with #. However, at the same time it highlighted every ^ in my file (basically the first char of every line is now highlighted).

A similar thing happened when I did another substitution of :s/^/<TAB> to shift a block of code over for indention. The added tabs on each of those lines are highlighted the same.

Neither of these highlights has gone away even after I go on editing. Why is it doing that? What can I do to get it to stop? What are some easier ways to achieve what I was doing if there are any?

Thanks!

  • 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-06-04T16:39:38+00:00Added an answer on June 4, 2026 at 4:39 pm

    I don’t use Janus (nor know what it is), but :nohl (for nohighlight) will get rid of all the highlighting, after a search & substitute.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using Rails a few days ago, and I'm having trouble with
I've just started using the NERDTree vim plugin for my project. I can't find
I just started using the MVCContrib grid in a test project. I'm having a
I have just started using Vim in a terminal (PuTTY or MinTTY), after always
I have just started using vim and am using an existing .vimrc and .gvimrc.
Just started using CodeIgniter, loving it. Having enabled the database to be one of
I just started using Git and Github 2 weeks ago, and I wonder if
I come from an Eclipse/Vim background, and I've just started using Emacs for the
Just started using this technique and am having strange results on the PC side.
I just started using Hibernate on a new project, and with my first entity,

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.