Hi!
Sorry for probably trivial question, but I can't find answer in google and
failed to implement this myself using *vt100.translations.
How to force urxvt to handle Shift+Btn1Down in shell in same way as Btn1Down -
i.e. to start new selection instead of extending current selection?
[ long story ]
Here is two ways to make selection:
1) Btn1Down, move mouse, Btn1Up
2) press Shift, Btn1Down, move mouse, Btn1Up, release Shift
In xterm both works in _SAME_ way in shell, but in full screen apps which
use mouse for their own needs like mc and vim first way doesn't work
(because Btn1Down handled by these apps) and only second way works.
I've a habit to use Shift+Btn1Down to start selection even in shell just
because this works everywhere in terminal and I doesn't have to think how
to select text in current app - with Btn1Down or Shift+Btn1Down.
In urxvt second way also works in mc/vim just like in xterm, but in shell
it works differently from first way - instead of starting selection at
current mouse position on Shift+Btn1Down it tries to extend selection to
that point.
I've tried this, but it doesn't change anything:
UXTerm*VT100.Translations:#override\
Shift<Btn1Down>:select-start()\n\
Shift<Btn1Motion>:select-extend()\n\
--
WBR, Alex.
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode