Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrkkrp/zzz-to-char
Fancy replacement for zap-to-char in Emacs
https://github.com/mrkkrp/zzz-to-char
emacs killing text-editing
Last synced: 3 months ago
JSON representation
Fancy replacement for zap-to-char in Emacs
- Host: GitHub
- URL: https://github.com/mrkkrp/zzz-to-char
- Owner: mrkkrp
- Created: 2015-08-31T16:05:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-10T09:34:54.000Z (4 months ago)
- Last Synced: 2024-10-13T10:32:29.135Z (4 months ago)
- Topics: emacs, killing, text-editing
- Language: Emacs Lisp
- Size: 31.3 KB
- Stars: 28
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zzz to Char
[![License GPL 3](https://img.shields.io/badge/license-GPL_3-green.svg)](http://www.gnu.org/licenses/gpl-3.0.txt)
[![MELPA](https://melpa.org/packages/zzz-to-char-badge.svg)](https://melpa.org/#/zzz-to-char)
![CI](https://github.com/mrkkrp/zzz-to-char/workflows/CI/badge.svg?branch=master)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:```emacs-lisp
(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):```emacs-lisp
(global-set-key (kbd "M-z") #'zzz-to-char)
```## License
Copyright © 2015–present Mark Karpov
Distributed under GNU GPL, version 3.