I can execute the function
neotree-toggle with M-x.
However, none of these result in opening neotree, like described here and here
(global-set-key (kbd "C-e" ) 'neotree-toggle) (global-set-key "C-e" 'neotree-toggle) (global-set-key (kbd "\C-e" ) 'neotree-toggle) (global-set-key "\C-e" 'neotree-toggle)
Where is my mistake? I don't see it.
C-h C-e- this will tell you what Emacs thinks is bound to
C-e. If it reports
neotree-toggle, then maybe
neotreeisn't properly loaded. If it reports something else, your bindings didn't work.
global-set-keydoes) does not mean that it takes effect everywhere. It just means that it takes effect everywhere that there is not some other keymap that binds the same key otherwise.
C-h k C-e