[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] I need some help -- I bind the key C-m to function next-line, bu
From: |
???? |
Subject: |
[h-e-w] I need some help -- I bind the key C-m to function next-line, but it does not work. |
Date: |
Sat, 4 Aug 2012 23:04:17 +0800 |
it seems like that "ctrl + m" is same as [Enter] in emacs. I add this in file ~/.emacs:
(global-set-key (kbd "C-m")
'next-line)
but it doesn't work. when i hit ctrl and m, it adds a new line instead of goes to the next line.
and i've try another two style below:
(global-set-key "\C-m" 'next-line)
(global-set-key [C-m] 'next-line)
same as above??"ctrl + [" seems to be same as [ESC], in emacs.
I can't find the binding of the keys above when i hit "C-h b".
so, can somebody just give me a hand?
thanks.
BTW, other customize keys work ok, that means it's not the config-file's problem.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [h-e-w] I need some help -- I bind the key C-m to function next-line, but it does not work.,
???? <=