From: k0ga Date: Sat, 16 May 2020 09:48:18 +0000 (+0000) Subject: Make shift+wheel behaves as shift+Prev/Next X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=bda9c9ffa645ee5e4b2507474ebfa1c5efb889b2;hp=bda9c9ffa645ee5e4b2507474ebfa1c5efb889b2;p=st.git Make shift+wheel behaves as shift+Prev/Next St uses a very good hack where mouse wheel genereates ^Y and ^E, that are the same keys that less and vi uses for backward and fordward scrolling. Scroll, as many terminal emulators, use shift+Prev/Next for scrolling, but it is also using ^E and ^Y for scroling, characters that are reserved in the POSIX shell in emacs mode for end of line and yanking, making scroll unsable in st. This patch adds a new hack, making shift+wheel returning the same sequences than shift+Prev/Next, meaning that scroll or any other similar program will not be able to differentiate between them. ---