I am new to the world of Emacs, so please forgive me if my question is too trivial.
I am trying to use standard console keybindings for Emacs too, by editing the configuration file. A few of them are in Emacs already, but I wanted to added some more.
I wanted to add keybindings for killing a part of the text.
My entries:
(global-set-key [C-h] 'backward-delete-char)
(global-set-key [C-w] 'backward-kill-word)
(global-set-key [C-u] 'backward-kill-sentence)
But I couldn't get these to work. I searched online and tried to use this, adding the following lines before the above lines:
(setq help-char nil) ; To enable C-h for 'backward-delete-char
(setq kill-region nil) ; To enable C-w for 'backward-kill-word
(setq universal-argument nil) ; To enable C-u for 'backward-kill-sentence
But that didn't help either. What am I doing wrong? How can I get it to work?