Is there a version of zap-up-to-char that counts from the end of a line? Or maybe more simply zaps up to the last occurence, since that's what I sometimes need.
Is there a version of zap-up-to-char that counts from the end of a line? Or maybe more simply zaps up to the last occurence, since that's what I sometimes need. 12 comments
@tennoseremel It's yet another extra package, I know ☺. But the `goto-char` functionality is great. @tennoseremel or this one :blobcatthink: (defun zap-up-to-last-char (char) @rayslava Thanks! I'll try it later, when I have enough mental power to read what it does :blobcatgiggle: @tennoseremel yep. (defun zap-up-to-last-char (char) @rayslava Yay :) (defun zap-up-to-last-char (char) @rayslava Looking at the source of zap-up-to-char it needs to be a bit longer, so it could be used non-interactively… :) |
@tennoseremel You could use `avy-zap-up-to-char-dvim` which allows you to select the character position interactively.