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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:31:45+00:00 2026-05-25T12:31:45+00:00

I have a mapping to use // as a global git search in the

  • 0

I have a mapping to use // as a global git search in the project for word under the cursor:

nmap // :let @/="...

The problem is that after I added this mapping regular search behaves weird when I try to paste the search term. i.e. if I hit / and then Paste (Apple-v on Mac) I get the following instead:

/<t_<fa>X>

Update.

It really doesn’t matter what is the exact mapping. for example, just try the following:

map // echo "test"<cr>

now type // and you will see test in the statusbar.

now type / and immediately hit paste. I get

/<t_<fa>X>
  • 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-25T12:31:46+00:00Added an answer on May 25, 2026 at 12:31 pm

    I have the same behavior to. It seems to be a bug in MacVim as this doesn’t occur in MacVim in terminal mode.
    The mapping (which key and what) doesn’t seems to change anything. It seems that every time your press while Vim is waiting for a key to complete a mapping, rather cancelling the mapping and doing what should do, it cancel it but send this key.
    The problem doesn’t occur if you wait until mapping timeout.

    You can reproducet it in insert mode like this

    :imap vv vv
    

    the type v and fast enough in insert mode and you’ll have the same X>.

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

Sidebar

Related Questions

I have the following mapping that allows to paste over a word from the
In C# I have a use case where I have a mapping from int
I have a mapping application that needs to draw a path, and then display
I have a Hibernate mapping that looks something like this: <class name=MyEntity> <set name=scalarSet
I use plugin Buffet , and there's local-to-buffer mapping d to delete buffer under
I would like to have a mapping to quickly quit all buffers, for use
I have a mapping class using JPA annotations, and I want it to use
I have written a mapping application which can either use Google Maps or Open
Does anyone have a sample application which makes use of mapping models in particular
I have read that Windsor is the best DI/IOC tool to use so I

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.