Skip to content
A visual zap-to-char command for emacs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README May 1, 2018
zop-to-char.el Fix marking region. Feb 12, 2016

README.md

zop-to-char

Description

A visual zap-to-char command for Emacs.

Install

If you install from emacs packaging system, you probably have nothing to do apart binding zop-to-char to a key (See below).

If you install from git, you will have to add this to your init file:

(autoload 'zop-to-char "zop-to-char.el" nil t)
(autoload 'zop-up-to-char "zop-to-char.el" nil t)

Bind zop-to-char to a key

You will probably want to use zop-to-char instead of zap-to-char:

(global-set-key [remap zap-to-char] 'zop-to-char)

Usage

You will have all needed infos in minibuffer or in mode-line if minibuffer is in use.

Features

  • Works in minibuffer
  • You can change direction with C-b and C-f. When starting at end of buffer zop-to-char search automatically backward.
  • You can use zop-to-char to move to a place (use C-q).
  • Hit repetitively the character you are searching will move to next.
  • You can copy or kill region from point to last search point.
  • C-g will quit and bring you back to initial position.

Other packages

zop-to-char fits well in minibuffer with eldoc-eval

You can’t perform that action at this time.