if you use the standard US-english keyboard , you can type the { / } bracket my shift+[ / shift+] .
not sure if mac keyboards are different lol never used a mac .
for mapping keys you could install input-remapper , which is a GUI tool to for remapping keys without manually editing files.
I played around with input-remapper for a while and it seems like a very cool program and also all the macros the developers have provided
now i just noticed that the other keyboard layouts provided in settings give med access to curly brackets, but good thing to have input-remapper on the radar in future cases