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

Unable to use mouse copy / paste when in VIM under CygWin #399

Closed
johnuopini opened this issue Oct 30, 2015 · 8 comments
Closed

Unable to use mouse copy / paste when in VIM under CygWin #399

johnuopini opened this issue Oct 30, 2015 · 8 comments

Comments

@johnuopini
Copy link

Not a big issue i understand but very annoying sometimes when working on an hybrid env like CygWin, so, once i get into Vim copy / paste with the mouse gets disabled, behavior is quite strange to me, because on a terminal i can successfully select lines, on "vim" its just not highlighting anything and on "less" the selection becomes "block" based (so not selecting lines but blocks of text like the standard Windows cmd copy does).

Am i doing anything wrong on my VIM config? Its pretty standard

@Maximus5
Copy link
Owner

ConEmu does not do anything with cygwin applications. At all.

https://conemu.github.io/en/CygwinMsys.html

@johnuopini
Copy link
Author

Yeah i understand, but why ConEmu mouse copy paste works when in a CygWin shell and stops working as soon as i run Vim? It can't be related to CygWin as CygWin does not even know about the mouse.

Also if i use the standard "Cygwin Terminal" i am able to select text with the mouse regardless of the fact that i am using Vim or not so its definitely related to ConEmu somehow.

@Maximus5
Copy link
Owner

Show screenshots

@johnuopini
Copy link
Author

So, in the video i am doing the following (left ConEmu, right standard CygWin terminal)

  • Select text from the terminal, select works on both envs
  • Open VIM on ConEmu, select does not work anymore
  • Open VIN in CygWin terminal, select still works

https://www.youtube.com/watch?v=eyDS8Z5c6RM

@Maximus5
Copy link
Owner

https://conemu.github.io/en/SettingsMarkCopy.html

Remove vim from exceptions

@johnuopini
Copy link
Author

Lifechanging. I know it might have been a RTFM thing but it was not mentioned in the Vim section, also not sure why is set by default. Sorry.

@Maximus5
Copy link
Owner

https://conemu.github.io/en/VimXterm.html#Vim-scrolling-using-mouse-Wheel
Not only wheel. Official vim able to handle mouse selection internally.

@Maximus5
Copy link
Owner

Maximus5 commented Nov 2, 2015

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

2 participants