On Thu, Jan 12, 2017 at 11:10 PM, Jon Seidel <[email protected]> wrote:
> I use vim in a tmux window a lot. And when I open a session (using
> OpenSession) I usually have a number of buffers open.
>
> I use the mouse to switch between buffers; when I click in a buffer with the
> mouse, the the text in the buffer "bounces" around and leaves the cursor on a
> different line than the one I clicked on.
Where does it "bounce" to? Maybe to the last place it was when you
were in that window? ("window" in the Vim sense, not in the OS sense)
— If that's the case, then I think it is normal; click again and
you'll go wherever you click.
Or click on a statusline to change windows (and the cursor should go
wherever it was last in that window), then click to some text
character in the newly current window (or use hjkl or a search or fFtT
etc.) to move the cursor to where you want to do your next edit.
(continued)
>
> Once I'm in the buffer, I am able to use the mouse to click on other lines
> and that works normally - where I click is where the cursor is placed.
>
> I also see the buffer shift up or down randomly but regularly while it's just
> sitting there. Only happens once and things quiet down.
>
> This has happened in all 8.0 versions I've tried and never happened in the
> various 7.x versions I've used with tmux.
>
> I plan to report this to tmux as well.
>
> My tmux version: 2.3
>
> My vim version (through HomeBrew on OSX ElCapitan, 10.11.6):
> vim --version
> VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 11 2017 22:50:08)
> MacOS X (unix) version
> Included patches: 1-172
> Compiled by Homebrew
> Huge version without GUI. Features included (+) or not (-):
Have you tried using gvim? It is (of course) free from any weirdness
that might be caused by terminals, and interacts much more predictably
with the mouse and with (non-printing) movement and function keys.
> +acl +file_in_path +mouse_sgr +tag_old_static
> +arabic +find_in_path -mouse_sysmouse -tag_any_white
> +autocmd +float +mouse_urxvt -tcl
> -balloon_eval +folding +mouse_xterm +termguicolors
> -browse -footer +multi_byte +terminfo
> ++builtin_terms +fork() +multi_lang +termresponse
> +byte_offset -gettext -mzscheme +textobjects
> +channel -hangul_input +netbeans_intg +timers
> +cindent +iconv +num64 +title
> -clientserver +insert_expand +packages -toolbar
> +clipboard +job +path_extra +user_commands
> +cmdline_compl +jumplist +perl +vertsplit
> +cmdline_hist +keymap +persistent_undo +virtualedit
> +cmdline_info +lambda +postscript +visual
> +comments +langmap +printer +visualextra
> +conceal +libcall +profile +viminfo
> +cryptv +linebreak +python +vreplace
> +cscope +lispindent -python3 +wildignore
> +cursorbind +listcmds +quickfix +wildmenu
> +cursorshape +localmap +reltime +windows
> +dialog_con -lua +rightleft +writebackup
> +diff +menu +ruby -X11
> +digraphs +mksession +scrollbind -xfontset
> -dnd +modify_fname +signs -xim
> -ebcdic +mouse +smartindent -xpm
> +emacs_tags -mouseshape +startuptime -xsmp
> +eval +mouse_dec +statusline -xterm_clipboard
> +ex_extra -mouse_gpm -sun_workshop -xterm_save
> +extra_search -mouse_jsbterm +syntax
> +farsi +mouse_netterm +tag_binary
> system vimrc file: "$VIM/vimrc"
> user vimrc file: "$HOME/.vimrc"
> 2nd user vimrc file: "~/.vim/vimrc"
> user exrc file: "$HOME/.exrc"
> defaults file: "$VIMRUNTIME/defaults.vim"
> fall-back for $VIM: "/usr/local/share/vim"
> Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -g -O2
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
> Linking: clang -L. -fstack-protector -L/usr/local/lib
> -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib
> -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lncurses
> -liconv -framework Cocoa -mmacosx-version-min=10.11
> -fstack-protector-strong -L/usr/local/lib
> -L/usr/local/Cellar/perl/5.24.0_1/lib/perl5/5.24.0/darwin-thread-multi-2level/CORE
> -lperl -lm -lutil -lc -F/usr/local/opt/python/Frameworks -framework Python
> -lruby.2.4.0 -lobjc
Best regards,
Tony.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.