added `electric-pair` function which is used in python mode
removing unused functions
removing unused keybindings
moar cleanup