added delete to end of line

Hey guys, I wanted to add the ability to delete to the end of the line, but not cut (i.e. not modify the clipboard). This is the behavior that `Ctrl-K` has in Sublime Text, and what I'm used to.

However, these changes did not work for me, even though I seem to be doing verbatim what the similar functions are doing. Can anyone give me a hint as to why this might not be working?