项目作者: mrkkrp

项目描述 :
Fancy replacement for zap-to-char in Emacs
高级语言: Emacs Lisp
项目地址: git://github.com/mrkkrp/zzz-to-char.git
创建时间: 2015-08-31T16:05:35Z
项目社区:https://github.com/mrkkrp/zzz-to-char

开源协议:

下载


Zzz to Char

License GPL 3
MELPA
CI

This package provides two new commands: zzz-to-char and zzz-up-to-char
which work like the built-ins zap-to-char and zap-up-to-char, but allow
the user to quickly select the exact character they want to zzz to. The
commands work like the built-ins when there is only one occurrence of the
target character, excepting that they automatically work in the backward
direction, too. One can specify how many characters to scan from each side
of the point, see zzz-to-char-reach.

Installation

The package is available via MELPA, so you can just type M-x package-install RET zzz-to-char RET.

If you would like to install the package manually, download or clone it and
put on Emacs’ load-path. Then you can require it in your init file like
this:

  1. (require 'zzz-to-char)

Usage

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

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

License

Copyright © 2015–present Mark Karpov

Distributed under GNU GPL, version 3.