Re: [dev] [st/dwm] Alt-Shift-C and Mod1-Shift-C

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Fri, 13 Jan 2017 08:52:48 -0800

On Thu, Jan 12, 2017 at 07:25:06PM +0100, Patrick Bucher wrote:
> I'm using st and dwm at the same time, and today I discovered a little problem
> when using the default config of both programs. st uses Alt-Shift-C to copy text
> into the clipboard, dwm uses Mod1-Shift-C for closing the selected window,
> whereas Mod1 is Alt by default, at least on my machine. (Maybe some of you use
> Super_L, vulgo "the Windows key".)

I use Caps Lock as my window manager key since I don't have any other
use for it:

    xmodmap -e "remove mod4 = Hyper_L" \
            -e "remove Lock = Caps_Lock" \
            -e "keysym Caps_Lock = Hyper_L" \
            -e "add mod3 = Hyper_L"

I know a lot of Vimmers like to map caps to escape, but I use "qq"
instead of escape.

Eric
Received on Fri Jan 13 2017 - 17:52:48 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 13 2017 - 18:00:14 CET