Emacs provides a zap-to-char command that kills from the current point to a character. It is bound to ‘M-z’. Examples of its usage, include: ‘M-z e’deletes all characters to the next occurence of “e”. ‘C-u 2 M-z e’deletes all character to the second occurence of “e”. ‘C-- M-z e’deletes all characters to the previous occurence of “e”. ‘C-u -4 M-z e’deletes all character to the fourthprevious occurence of “e”. I always forget I can do 'C--' instead of 'C-u -1'! M is the alt key by the way, and C is the control key.













