nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH v2] docs: give suggestions for alternative key b


From: David Ramsey
Subject: Re: [Nano-devel] [PATCH v2] docs: give suggestions for alternative key bindings in the sample nanorc
Date: Sat, 13 Oct 2018 00:13:30 -0500

Brand Huntsman:
> I don't know about the usefulness of a markfile function but
> marktofilestart, marktofileend, markblock, marktoblockstart,
> marktoblockend, markline, marktolinestart and marktolineend could be
> useful. These can all be done with string macros but the cursor
> position is lost when undoing, the functions could preserve it.

What I was trying to do was implement a function/binding for something
that would require more than two keystrokes to accomplish otherwise.
That would apply to some of these you've suggested, not not others:
"marktoblockend" would be Ctrl-^ Ctrl-8, and having a binding for
something with only two steps seems like overkill to me.  Marking the
entire file would require more than that.

> I don't know what cutrestoffile is used for, but it could be
> implemented with a "marktofileend cut" string macro.

Am I the only one who often has to deal with files where everything
after the cursor position needs to be removed?  A need for a quick,
single-keystroke way to do that was one of the main reasons I added that
function in the first place.



reply via email to

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