I'm trying to remap <C-right>
key action from sp-forward-slurp-sexp
, which is set in Prelude by default, to right-word
. I tried to put that code in my init.el
in .emacs.d/personal
folder:
(global-unset-key (kbd "<C-right>"))
(global-set-key (kbd "<C-right>") 'right-word)
But this not work. Other code in init.el
works well. Also i tried execute that code manually, via C-x C-e
.
Update
Seems like i explained my problem wrong (sry for my bad English).
The problem is: after executing code above, behavior of key binding does not change, it still execute sp-forward-slurp-sexp
.