I've been using Vim for decades (and Vi before it since around 1984.) I use it now on Linux. Somewhere along the line one behavior crept in that I'd like to disable: when I click in a window to move the focus, and the click happens to be in the body of the window, Vim moves the cursor to wherever the click landed. If the window is large, it's sometimes not obvious where the cursor was, and that can be important for what I'm trying to do.
I know I could try to click on the window border somewhere, and this wouldn't happen. But I'd rather not have to be that meticulous, especially when there are a lot of windows around. I also know there are other ways to change focus, but I don't want to cycle through every window on my 3-monitor workspace.
I'm running Ubuntu and Xubuntu, and have loaded Vim-gtk because I sometimes want to run full graphical, where I could live with this behavior. But I'm usually not in graphical mode.
I see there's a Vim-tiny that probably does not have this behavior, but I don't know what else I would lose.
I've looked through the setup stuff for the window manager and don't see anything relevant. The Vim man page doesn't have anything that jumped out at me either. My .vimrc
doesn't seem to address the issue (but it's long and I may have forgotten/missed something.)
Any suggestions?
set mousefocus
, but I don't think that's quite what you're looking for.