<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikemacs.org/index.php?action=history&amp;feed=atom&amp;title=Fastnav</id>
	<title>Fastnav - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikemacs.org/index.php?action=history&amp;feed=atom&amp;title=Fastnav"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Fastnav&amp;action=history"/>
	<updated>2026-04-18T03:27:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Fastnav&amp;diff=3569&amp;oldid=prev</id>
		<title>Xfq: Created page with &quot;Inspired by zap-to-char, this library defines different routines operating on the next/previous N'th occurrence of a character.  When invoking one of these commands, the user ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Fastnav&amp;diff=3569&amp;oldid=prev"/>
		<updated>2012-11-06T06:32:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Inspired by zap-to-char, this library defines different routines operating on the next/previous N&amp;#039;th occurrence of a character.  When invoking one of these commands, the user ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Inspired by zap-to-char, this library defines different routines operating on the next/previous N'th occurrence of a character.  When invoking one of these commands, the user is interactively queried for a character while the potential target positions are highlighted.&lt;br /&gt;
&lt;br /&gt;
For example, M-s (fastnav-jump-to-char-forward) highlights the next occurrences of each character and prompts for one.  Once the user picks a char, the point is moved to that position.  Subsequent invocations of M-s before picking a character increases N, that is, the second, third, etc. occurrences are highlighted and targeted.&lt;br /&gt;
&lt;br /&gt;
The sprint-forward/backward commands apply iterative jumping until return/C-g is hit, making it possible to reach any point of the text with just a few keystrokes.&lt;br /&gt;
&lt;br /&gt;
To use it, simply install fastnav package from Marmalade repo, and add something like this to your init file:&lt;br /&gt;
&lt;br /&gt;
    (require 'fastnav)&lt;br /&gt;
    (global-set-key &amp;quot;\M-z&amp;quot; 'fastnav-zap-up-to-char-forward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-Z&amp;quot; 'fastnav-zap-up-to-char-backward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-s&amp;quot; 'fastnav-jump-to-char-forward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-S&amp;quot; 'fastnav-jump-to-char-backward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-r&amp;quot; 'fastnav-replace-char-forward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-R&amp;quot; 'fastnav-replace-char-backward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-i&amp;quot; 'fastnav-insert-at-char-forward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-I&amp;quot; 'fastnav-insert-at-char-backward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-j&amp;quot; 'fastnav-execute-at-char-forward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-J&amp;quot; 'fastnav-execute-at-char-backward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-k&amp;quot; 'fastnav-delete-char-forward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-K&amp;quot; 'fastnav-delete-char-backward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-m&amp;quot; 'fastnav-mark-to-char-forward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-M&amp;quot; 'fastnav-mark-to-char-backward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-p&amp;quot; 'fastnav-sprint-forward)&lt;br /&gt;
    (global-set-key &amp;quot;\M-P&amp;quot; 'fastnav-sprint-backward)&lt;/div&gt;</summary>
		<author><name>Xfq</name></author>
	</entry>
</feed>