Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserted a line instead of pasting on MacVim #21

Open
hepengfe opened this issue Mar 18, 2020 · 4 comments
Open

Inserted a line instead of pasting on MacVim #21

hepengfe opened this issue Mar 18, 2020 · 4 comments

Comments

@hepengfe
Copy link

hepengfe commented Mar 18, 2020

It worked before but for some reason it behaves abnormally even after I reinstall it.
After I hit key p, it inserted the text below in my buffer instead of calling pasting function.

autocmd FileType markdown nmap <silent> <leader>p :call mdip#MarkdownClipboardImage()<CR>
@hepengfe hepengfe changed the title Inserted a line instead of pasting Inserted a line instead of pasting on MacVim Mar 18, 2020
@ferrine
Copy link
Collaborator

ferrine commented Mar 19, 2020

I can't reproduce the problem. I use linux, however. Do you press <leader> key before pasting?

@hepengfe
Copy link
Author

Ok. That's weird. I don't know what's wrong neither but I did press key otherwise it won't trigger pasting the text. Sometimes it even pastes the comment below that line in the .vimrc file.

@Hritik14
Copy link
Contributor

Hritik14 commented Apr 4, 2020

Please share the relevant part of your vimrc

@ferrine
Copy link
Collaborator

ferrine commented Sep 22, 2020

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants