<commit_before>#!/bin/bash
cd ~/repos/dotfiles

printf "\nOSX Settings (requires restart to take effect)\n"
echo "------------------------------"


echo "Keyboard"

echo "  - Disable press-and-hold for keys in favor of key repeat"
defaults write -g ApplePressAndHoldEnabled -bool false

echo "  - Set repeat rate"
defaults write -g KeyRepeat -int 2

echo "  - Set delay until key repeat"
defaults write -g InitialKeyRepeat -int 25


echo "Trackpad"

echo "  - Enable tap to click"
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
defaults -currentHost write -g com.apple.mouse.tapBehavior -int 1
defaults write -g com.apple.mouse.tapBehavior -int 1


echo "Dock"

echo "  - Automatically hide and show the dock"
defaults write com.apple.dock autohide -bool true
<commit_msg>Three finger drag WIP<commit_after>#!/bin/bash
cd ~/repos/dotfiles

printf "\nOSX Settings (requires restart to take effect)\n"
echo "------------------------------"


echo "Keyboard"

echo "  - Disable press-and-hold for keys in favor of key repeat"
defaults write -g ApplePressAndHoldEnabled -bool false

echo "  - Set repeat rate"
defaults write -g KeyRepeat -int 2

echo "  - Set delay until key repeat"
defaults write -g InitialKeyRepeat -int 25


echo "Trackpad"

echo "  - Enable tap to click"
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
defaults -currentHost write -g com.apple.mouse.tapBehavior -int 1
defaults write -g com.apple.mouse.tapBehavior -int 1

echo "  - Enable three finger drag"
defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag -int 1
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerDrag -int 1


echo "Dock"

echo "  - Automatically hide and show the dock"
defaults write com.apple.dock autohide -bool true

{'fraction_non_alphanumeric': 0.11008676789587853, 'fraction_numerical': 0.006507592190889371, 'mean_word_length': 3.4781553398058254, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6165090', 'n_tokens_mistral': 581, 'n_tokens_neox': 546, 'n_words': 206}