[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Key Mapping: .Xdefaults -- translataions



I've got this in my .Xdefaults:

   mutt.vt100.translations:  #override \n\
            None<Btn4Down>:  string(<<) \n\
            None<Btn5Down>:  string(>>) \n

which generates << and >> from my mouse scroll wheel.

Then in .muttrc I have:

    bind pager < previous-line
    bind pager > next-line

The problem then is I use vim as my mutt editor and those translations
still happen.  If I hit the scroll wheel I end up with >>>>>> and
<<<<<< all over the place (Yes, I'm also using set mouse=a in .vimrc).

Is there a trick to unbind those mappings when vim starts and also
restore them when vim exits back to mutt?


-- 
Bill Moseley
moseley@hank.org



Reply to: