Fancy replacement for zap-to-char in Emacs
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial commit Aug 31, 2015
.travis.yml Do not test against git snapshot Feb 25, 2018
Cask Upgrade Travis script Aug 2, 2017 Include 2018 into the copyright years range Jan 1, 2018
zzz-to-char.el Include 2018 into the copyright years range Jan 1, 2018

Zzz to Char

License GPL 3 MELPA Build Status

This package provides two new commands: zzz-to-char and zzz-up-to-char which work like built-ins zap-to-char and zap-up-to-char, but allow you quickly select exact character you want to “zzz” to.

The commands are minimalistic and often work like built-in ones when there is only one occurrence of the target character (except they automatically work in backward direction too). You can also specify how many characters to scan from each side of point, see zzz-to-char-reach.


Download this package and place it somewhere, so Emacs can see it. Then put (require 'zzz-to-char) into your configuration file. Done!

To install the package via MELPA, execute: M-x package-install RET zzz-to-char RET.


Just bind zzz-to-char or zzz-up-to-char (depends on your taste, the latter doesn't include target char into killed text):

(global-set-key (kbd "M-z") #'zzz-to-char)


Copyright © 2015–2018 Mark Karpov

Distributed under GNU GPL, version 3.