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

Mouse control (e.g. in Vim) #1441

Closed
Maximus5 opened this issue Jul 31, 2015 · 30 comments
Closed

Mouse control (e.g. in Vim) #1441

Maximus5 opened this issue Jul 31, 2015 · 30 comments
Assignees

Comments

@Maximus5
Copy link
Owner

Originally reported on Google Code with ID 1441

Required information!
OS version: Win2k/WinXP/Vista/Win7/Win8   SP?   x86/x64
ConEmu version: 14014
-----
Hi, I'm trying to get ability to navaigate code using mouse in Vim. But, seems that
it doesnt work. I want to get same behavior as in xterm, rxvt, gnome-term, cmd.exe
or putty.


Reported by Ruslan.Panasiuk on 2014-01-22 08:25:09

@Maximus5
Copy link
Owner Author

What behavior? Describe.

Reported by ConEmu.Maximus5 on 2014-01-22 17:38:55

@Maximus5
Copy link
Owner Author

Just navigating in code using mouse. Also doubleclicks, dragging, mouse wheel scrolling
and text selecting (withou shift, because Vim cannot recognize it and switch to visual
mode). That all is for console Vim. And that all works in all termainals I've listed
before.
Also, lot of CLI software able to work with mouse.

Reported by Ruslan.Panasiuk on 2014-01-22 19:10:43

@Maximus5
Copy link
Owner Author

Reported by ConEmu.Maximus5 on 2014-01-22 20:49:27

  • Status changed: Accepted
  • Labels added: Vim

@Maximus5
Copy link
Owner Author

Search in your settings (xml or registry) option "ConInMode".
By default, its value is FFFFFFFF. Change it to 00300000.

Reported by ConEmu.Maximus5 on 2014-01-22 21:59:11

@Maximus5
Copy link
Owner Author

>Required information!
Win7 x86_64
>Search in your settings (xml or registry) option "ConInMode".
I'll try it later, coz there are a lot of SSH sessions are opened in conemu.

Reported by Ruslan.Panasiuk on 2014-01-27 13:18:39

@Maximus5
Copy link
Owner Author

Dismiss comment #5, obsolete.
Update to last preview our alpha, vim mouse must be working.

If you want to enable mouse in your current sessions - open RealConsole properties
(SysMenu -> Debug -> Properties) and uncheck "Quick edit there"

Reported by ConEmu.Maximus5 on 2014-01-27 13:29:34

@Maximus5
Copy link
Owner Author

Reported by ConEmu.Maximus5 on 2014-01-29 07:50:34

  • Status changed: Fixed

@Maximus5
Copy link
Owner Author

And how to make that unchecked "Quick Edit" to be permanent?

Reported by steven.pribilinskiy on 2014-04-04 12:15:42

@Maximus5
Copy link
Owner Author

What? Why? That was fixed.

Reported by ConEmu.Maximus5 on 2014-04-04 12:21:33

@Maximus5
Copy link
Owner Author

oh, the ConInMode fixed that, one notice here is that ConEmu should not run when modifying
the xml

My current ConEmu version is 131215 preview

Reported by steven.pribilinskiy on 2014-04-04 12:23:28

@Maximus5
Copy link
Owner Author

I see there's a new version available 

The "Check for Updates" in the older version was giving me
---------------------------
Your current ConEmu version is 131215 preview
No newer stable version is available
---------------------------

Reported by steven.pribilinskiy on 2014-04-04 12:25:17

@Maximus5
Copy link
Owner Author

Wondering, why do you thinking you have "Preview" version??
Current preview is 140304

Obviously, there is no newer STABLE version. Words are different, no?

Reported by ConEmu.Maximus5 on 2014-04-04 12:27:11

@Maximus5
Copy link
Owner Author

Yep, it's just a copy paste of the dialog that also represents that the Beta/Preview
version doesn't offer to update a newer PREVIEW version

nevertheless, even changing back the ConInMode to FFFFFFFF, mouse still works in the
newer PREVIEW version

Reported by steven.pribilinskiy on 2014-04-04 12:30:58

@Maximus5
Copy link
Owner Author

You copy/paste said that you've selected "Update to stable builds only". Yep, there
is no newer stable available.

Remove ConInMode at all. That value is not for changing without exact understanding
what do you want.

Reported by ConEmu.Maximus5 on 2014-04-04 12:37:53

@Maximus5
Copy link
Owner Author

I've invoked "Help > Check for Updates" in a beta version of your app
And it doesn't even propose to update to a NEWER version of BETA versions.

I'll try to clarify this for you.
Let's say you use a Google Chrome from Canary channel, you don't need to even check
for Updates, it done for you automatically when you start the application.

I've installed ConEmu about half year ago, should i still remember what i selected
at installation time, lol

ConInMode was remain in the xml file after the Update to a new Preview version

Reported by steven.pribilinskiy on 2014-04-04 12:42:58

@Maximus5
Copy link
Owner Author

Also, you haven't described what do you want, what are you trying to do, and what do
you observe.

Reported by ConEmu.Maximus5 on 2014-04-04 12:43:15

@Maximus5
Copy link
Owner Author

well, it's implied that my intent to reply to this Issue was because of inability to
interact with the mouse in Vim inside ConEmu

Reported by steven.pribilinskiy on 2014-04-04 12:45:37

@Maximus5
Copy link
Owner Author

> I've invoked "Help > Check for Updates" in a beta version of your app
> And it doesn't even propose to update to a NEWER version of BETA versions.

Man, YOU make a choice what versions you want to download.
YOU select "stable" in settings.
Obviously, there is NO NEWER STABLE! Only preview and alpha. But you disable their
checking. And wondering?

Reported by ConEmu.Maximus5 on 2014-04-04 12:46:47

@Maximus5
Copy link
Owner Author

The are huge count of vim versions. There are different vim settings. I can't imagine
what do you have...

> ConInMode was remain in the xml file after the Update to a new Preview version

Update NEVER change user xml files. Changing them is only user ability and responsibility.
Moreover, are you sure settings are stored in proper xml?

Reported by ConEmu.Maximus5 on 2014-04-04 12:50:48

@Maximus5
Copy link
Owner Author

Yep, found it in the Update section of the settings
I have to update that i'm not an avid user of ConEmu, didn't checked all the options,
my bad

The point here is that a user could receive some more info in the "Check for updates"
dialog, or are you expect from each of your user to know all the features of the app?

A note or even a combobox to change the "update channel" right in the "Check for updates"
dialog would be more informative from the UX perspective

Reported by steven.pribilinskiy on 2014-04-04 12:51:17

@Maximus5
Copy link
Owner Author

don't take it offensive, it's just a suggestion that is coming from a non-regular conemu
user

Reported by steven.pribilinskiy on 2014-04-04 12:52:32

@Maximus5
Copy link
Owner Author

Man, try to check for updates with more newer version than four months expired ) All
there.

Reported by ConEmu.Maximus5 on 2014-04-04 12:54:30

@Maximus5
Copy link
Owner Author

ok
http://i.imgur.com/8NoQOzF.png

Reported by steven.pribilinskiy on 2014-04-04 12:56:43

@Maximus5
Copy link
Owner Author

I don't think it costs my efforts. And that dialog was already petrified
https://www.dropbox.com/s/cldc7tzowk87yj5/ConEmu-Autoupdate-NoNewVersion.png

Reported by ConEmu.Maximus5 on 2014-04-04 13:20:48

@Maximus5
Copy link
Owner Author

Waiting vim information from you

Reported by ConEmu.Maximus5 on 2014-04-04 13:22:45

@Maximus5
Copy link
Owner Author

oh it's ok now:
> "works in the newer PREVIEW version"

Reported by steven.pribilinskiy on 2014-04-04 13:59:32

@Maximus5
Copy link
Owner Author

Hello,

First of all thank you for the app.

I am not able to use the mouse wheel to scroll when using vim.

I have tried with 'Quick edit' checked and unchecked.

I have preview version 140707 64bit and am running Windows 8.

Thanks for your help.

Reported by powell.eric on 2014-08-08 09:20:51

@Maximus5
Copy link
Owner Author

@powell.eric
at least you need to reveal your vim version!
Official package is strongly recommended due to many CygwinMsys problems.

Reported by ConEmu.Maximus5 on 2014-08-08 09:25:47

@Maximus5
Copy link
Owner Author

Oops, here you go.  This is the version of Vim that came with Cygwin.  Is that what
you mean by "official package"?

Vim 7.4
ConEmu 140707 (preview)
Windows 8 64bit
Cygwin 64 bit

================================================================
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 22 2014 14:31:17)
Included patches: 1-335
Compiled by <cygwin@cygwin.com>
Huge version without GUI.  Features included (+) or not (-):
+acl             +dialog_con      +insert_expand   +mouse_sgr       +ruby/dyn     
  +vertsplit
+arabic          +diff            +jumplist        -mouse_sysmouse  +scrollbind   
  +virtualedit
+autocmd         +digraphs        +keymap          +mouse_urxvt     +signs        
  +visual
-balloon_eval    -dnd             +langmap         +mouse_xterm     +smartindent  
  +visualextra
-browse          -ebcdic          +libcall         +multi_byte      -sniff        
  +viminfo
++builtin_terms  +emacs_tags      +linebreak       +multi_lang      +startuptime  
  +vreplace
+byte_offset     +eval            +lispindent      -mzscheme        +statusline   
  +wildignore
+cindent         +ex_extra        +listcmds        +netbeans_intg   -sun_workshop 
  +wildmenu
-clientserver    +extra_search    +localmap        +path_extra      +syntax       
  +windows
+clipboard       +farsi           +lua/dyn         +perl/dyn        +tag_binary   
  +writebackup
+cmdline_compl   +file_in_path    +menu            +persistent_undo +tag_old_static
 -X11
+cmdline_hist    +find_in_path    +mksession       +postscript      -tag_any_white
  -xfontset
+cmdline_info    +float           +modify_fname    +printer         -tcl          
  -xim
+comments        +folding         +mouse           +profile         +terminfo     
  -xsmp
+conceal         -footer          -mouseshape      +python/dyn      +termresponse 
  -xterm_clipboard
+cryptv          +fork()          +mouse_dec       +python3/dyn     +textobjects  
  -xterm_save
+cscope          +gettext         -mouse_gpm       +quickfix        +title        
  -xpm
+cursorbind      -hangul_input    -mouse_jsbterm   +reltime         -toolbar
+cursorshape     +iconv           +mouse_netterm   +rightleft       +user_commands
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/etc"
 f-b for $VIMRUNTIME: "/usr/share/vim/vim74"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -I/usr/include/ncursesw  -ggdb -O2
-pipe -Wimplicit-funct
ion-declaration -fdebug-prefix-map=/usr/src/ports/vim/vim-7.4.335-1.x86_64/build=/usr/src/debug/vim-7.4.335
-1 -fdebug-prefix-map=/usr/src/ports/vim/vim-7.4.335-1.x86_64/src/vim74=/usr/src/debug/vim-7.4.335-1
-U_FOR
TIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L.   -L/usr/local/lib -Wl,--as-needed -o vim.exe        -lm -lelf 
  -lncursesw -liconv -li
ntl   -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base
-fstack-protector  -L/
usr/lib/perl5/5.14/x86_64-cygwin-threads/CORE -lperl -ldl -lcrypt

Reported by powell.eric on 2014-08-10 07:49:25

@Maximus5
Copy link
Owner Author

The one downloaded from official page of course.
http://www.vim.org/download.php

Reported by ConEmu.Maximus5 on 2014-08-10 08:18:12

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

No branches or pull requests

1 participant