<commit_before>/datum/preferences/proc/load_keybindings(var/savefile/S)
	var/keybindings
	S["keybindings"] >> keybindings 
	if(!keybindings) 
		keybindings = GLOB.keybinding_default

	bindings.from_list(keybindings)
	
/datum/preferences/proc/save_keybindings(var/savefile/S)
	WRITE_FILE(S["keybindings"], bindings.to_list())

/datum/preferences/proc/reset_keybindings()
	bindings.from_list(GLOB.keybinding_default)<commit_msg>Default keybindings now get loaded on first connect<commit_after>/datum/preferences/proc/load_keybindings(var/savefile/S)
	var/list/keybindings
	S["keybindings"] >> keybindings
	if(!islist(keybindings) || !keybindings.len)
		keybindings = GLOB.keybinding_default

	bindings.from_list(keybindings)
	
/datum/preferences/proc/save_keybindings(var/savefile/S)
	WRITE_FILE(S["keybindings"], bindings.to_list())

/datum/preferences/proc/reset_keybindings()
	bindings.from_list(GLOB.keybinding_default)
{'fraction_non_alphanumeric': 0.1248642779587405, 'fraction_numerical': 0.0, 'mean_word_length': 7.381818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '976223', 'n_tokens_mistral': 349, 'n_tokens_neox': 337, 'n_words': 33}