I've executed the following lines in my scratch buffer
(require 'expand-region) (global-set-key (kbd "C-=") 'er/expand-region)
and everything worked without any problems, but if I add those same lines to my init.el file I just get the following error
File error: Cannot open load file, no such file or directory, expand-region
What have I done wrong?