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

Comments

Projects
None yet
2 participants
@johnuopini

johnuopini commented Oct 30, 2015

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

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 30, 2015

Owner

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

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

Owner

Maximus5 commented Oct 30, 2015

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

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

@johnuopini

This comment has been minimized.

Show comment
Hide comment
@johnuopini

johnuopini Oct 30, 2015

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.

johnuopini commented Oct 30, 2015

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

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 30, 2015

Owner

Show screenshots

Owner

Maximus5 commented Oct 30, 2015

Show screenshots

@johnuopini

This comment has been minimized.

Show comment
Hide comment
@johnuopini

johnuopini Oct 30, 2015

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

johnuopini commented Oct 30, 2015

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

This comment has been minimized.

Show comment
Hide comment
@Maximus5
Owner

Maximus5 commented Oct 30, 2015

@johnuopini

This comment has been minimized.

Show comment
Hide comment
@johnuopini

johnuopini Oct 30, 2015

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.

johnuopini commented Oct 30, 2015

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.

@johnuopini johnuopini closed this Oct 30, 2015

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 30, 2015

Owner

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

Owner

Maximus5 commented Oct 30, 2015

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

@Maximus5

This comment has been minimized.

Show comment
Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment