On Tue, 16 May 2006, Gerald Lai wrote:
On Tue, 16 May 2006, Jared wrote:
[snip]
So, my question: is it somehow possible to be able to select the last
character of a line when selecting from right-to-left while using
selection=exclusive?
[snip]
I just thought of another more pleasing workaround, if you're
interested. Try:
nnoremap <2-LeftMouse> viwo
vnoremap <2-LeftDrag> <LeftDrag>
This way, if you wish to select the last character, start with a double
click instead of a single click (ala "include the last character, damn
it!") ;)
If you want it to be in SELECT mode after the double click, then use
this instead:
nnoremap <2-LeftMouse> viwo<C-g>
HTH.
--
Gerald