<commit_before>#!/usr/bin/env zsh
# Set up keyboard in a sane manner.

# We don't background any of these X API calls to ensure a deterministic manner
# of execution.

# set keyboard layout to us-intl (altgr variant)
setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl -option "terminate:ctrl_alt_bksp"

# remap Caps_Lock key to Xmonad's exclusive 'mod' key
xmodmap -e "remove Lock = Caps_Lock"
#xmodmap -e "clear mod3" <--- unnecessary b/c 'xmodmap' returns BLANK for mod3 on default settings
xmodmap -e "add mod3 = Caps_Lock"
xmodmap ~/.xmodmap

# set keystroke repeat speed (delay, speed)
xset r rate 250 80

# vim: syntax=zsh<commit_msg>initkeys: remove vim cruft<commit_after>#!/usr/bin/env zsh
# Set up keyboard in a sane manner.

# We don't background any of these X API calls to ensure a deterministic manner
# of execution.

# set keyboard layout to us-intl (altgr variant)
setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl -option "terminate:ctrl_alt_bksp"

# remap Caps_Lock key to Xmonad's exclusive 'mod' key
xmodmap -e "remove Lock = Caps_Lock"
#xmodmap -e "clear mod3" <--- unnecessary b/c 'xmodmap' returns BLANK for mod3 on default settings
xmodmap -e "add mod3 = Caps_Lock"
xmodmap ~/.xmodmap

# set keystroke repeat speed (delay, speed)
xset r rate 250 80
{'fraction_non_alphanumeric': 0.0903522205206738, 'fraction_numerical': 0.01225114854517611, 'mean_word_length': 4.228, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5179955', 'n_tokens_mistral': 472, 'n_tokens_neox': 447, 'n_words': 180}