Forward delete does not work in emacs? I use emacs as my command line text editor of choice. Pretty much because it is the only one I have learned how to use. I had been having a problem on my new linux server (battlix) though. The forward delete key didn't work inside of emacs, although it worked fine in bash. After some not-so-helpful googling and confusion as to delete, backspace, DEL, forward-delete, etc, etc I was able to arrive at the solution. Typing C-h followed by the forward delete key told me that delete forward was sending the key sequence ESC [ 3 ~. So I added this to my .emacs file:(global-set-key "\e[3~" "\C-d") And all is now well.
1 comment |