You are not logged in.
i'm not sure what is different but now when i click somewhere in a file i am editing in vi, my cursor moves to where i clicked.
this is annoying because when i click outside the terminal and then go back in, my cursor ends up somewhere i don't want it...
along those lines it is giving me some "visual" insert instead of the way it used to be where i could right-click inside and get the context menu.
Last edited by speed145a (2008-11-20 19:29:37)
ARCH x86_64 ZEN
Offline
Try issuing ":set mouse-=a" and see if that changes this behavior. There are many vi mouse topics recently, you may want to check those out.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
wow!! i just realized you were saying to issue that while inside vi. that worked great, but once i exit that vi session it reverts to the lame behavior
ARCH x86_64 ZEN
Offline
Yeah, I think it's in the global /etc/virc file.
Offline
Then edit your ~/.virc and add "set mouse-=a" in that file.
Edit: after all these posts today (and meeting more people at my new job everyday) I'm absolutely amazed at how many people still use plain ol' vi.
Last edited by rson451 (2008-11-20 19:01:45)
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
yay! thanks guys
ARCH x86_64 ZEN
Offline
yeah hurrah!!
_that_ was the missing bit!
I read somewhere that I could use the shift-key while (man)handling the li'l rodent, and that worked but it was awkward.
The '-' solved it all!!
Thank you, guys - you have saved my sanity!!
Offline
I was having this annoyance as well -- thanks.
Then edit your ~/.virc and add "set mouse-=a" in that file.
Edit: after all these posts today (and meeting more people at my new job everyday) I'm absolutely amazed at how many people still use plain ol' vi.
I think Arch kind of tends to cater toward that sort of user base.
Offline
I think Arch kind of tends to cater toward that sort of user base.
I think he meant "vi" as opposed to "vim".
Regarding the shift+click for paste support - that's how I do it 8)
Offline