Using PuTTY to connect to Linux from Windows and running Emacs: How do I bind CTRL- and CTRL- to beginning-of-buffer and end-of-buffer respectively?
I've been searching the web for a while on this one. I've seen various suggestions but none of them seem to work. I understand that PuTTY can be configured to send different character codes for the HOME and END keys based on a setting and I can see what those codes are in the bash shell (via C-v ) and in Emacs (via C-q ). I've read that I might need to "bind" those codes someone in my .bash_profile file and/or I then might need map those codes via a keymap in my .emacs file.
Ultimately I want to be able to add something like this to my .emacs file ...
(global-set-key (kbd "C-") 'beginning-of-buffer) (global-set-key (kbd "C-") 'end-of-buffer)
... and make CTRL- and CTRL- behave as they do in most native Windows text editors.
Has anybody been able to make this work? Please share your wisdom.