nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] new feature: the ability to set an anchor to wh


From: Marco Diego Aurélio Mesquita
Subject: Re: [Nano-devel] [PATCH] new feature: the ability to set an anchor to which one can jump
Date: Tue, 30 Oct 2018 21:40:23 -0300
User-agent: NeoMutt/20170113 (1.7.2)

On Sun, Oct 28, 2018 at 05:41:45PM +0100, Benno Schulenberg wrote:
> The function is bound by default to M-'.  A first press of M-'
> will set the anchor at the current cursor position.  A second
> press of M-' will clear the anchor if the cursor is already at
> the anchor, and otherwise will move the cursor to the anchor.
> (The anchor is not visible in any way.)

I couldn't hold myself and implemented it.

I must admit my approach is not as simple as yours (as was my
initial thought), but it does indeed has some nice touches.

The current implementation has go to next/previous bookmark and
has no problem trying to jump once bookmarks are removed.

Please consider the attached patch.

Attachment: 0001-new-feature-ability-to-toogle-and-jump-to-bookmarks.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]