[dev] Shift-Selection in Emacs with st

From: Sara Fauzia <sara_AT_archlinux.us>
Date: Sat, 09 Apr 2011 02:05:06 -0400

I am unable to do shift selection in st (the suckless tool), with Emacs
(http://www.gnu.org/software/emacs/manual/html_node/emacs/Shift-Selection.html). The
arrow keys also did not work in Emacs, so I fixed this by adding the
following to my config.h:

{ XK_Left, "\033[D" },
{ XK_Right, "\033[C" },
{ XK_Up, "\033[A" },
{ XK_Down, "\033[B" },

Now, when I try to shift-select (with the above fix for the arrow keys),
just the arrow keys move, as if shift key wasn't being pressed.

Thanks for making this really cool terminal, by the way (besides this,
st works perfectly in emacs, not conflicting with its keybindings like
urxvt did).

Sara

-- 
"Nothing is too wonderful to be true, if it be consistent with the laws of nature." ~Michael Faraday
Received on Sat Apr 09 2011 - 08:05:06 CEST

This archive was generated by hypermail 2.2.0 : Sat Apr 09 2011 - 08:12:03 CEST