Vi copy and paste is not working

When I open vi/vim in conemu I am unable to paste text from clipboard (mouse right button), and unable to copy file to clipboard (mark text).

However in git bash everything works fine.

Any clues?

2 Answers

Mouse events are bypassed to vim. So you have to enable mouse processing in vim itself.

However, ConEmu allows to force Mark & Copy by pressing LeftShift or LeftAlt during mouse dragging with LeftButton.

Adding to the above solution:
Copy: "Left-Shift" and drag-mouse(left-key-pressed), and CTRL-C to copy.

Paste (in insert mode): Press "Left-Shift" and "Insert Key" together.

(to use above windows console properties may be needed to be updated for edit-options, for quick-edit-mode, insert-mode, enable-ctrl-key-shortcuts,filter-clipboard).

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like