nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [RFC] Re-execute last command


From: Marco Diego Aurélio Mesquita
Subject: Re: [Nano-devel] [RFC] Re-execute last command
Date: Sat, 7 Oct 2017 10:23:52 -0300

On Sat, Oct 7, 2017 at 4:44 AM, Brand Huntsman <address@hidden> wrote:
> On Sat, 7 Oct 2017 01:51:35 -0300
> Marco Diego Aurélio Mesquita <address@hidden> wrote:
>
>> Showing that last command in the current execute prompt was rejected.
>> Don't know if it would be accepted if it was disabled by default and
>> only enabled through a setting in nanorc.
>
> I think what was rejected was showing it in the prompt like search does:
>
> "Search [foo]: "
>
> For execute it would look something like:
>
> "Command to execute [from ./] [the last command here]: "
>
> Leaving very little room to type a new command. What I suggest is switching 
> to the last command as if it had been selected from history with the up arrow.
>
> "Command to execute [from ./]: the last command here"
>
> The down arrow would clear the prompt just as it does now. The search prompt 
> could be changed to do the same thing, "Search: foo" instead of "Search 
> [foo]: ". Then both prompts would be uniform and no setting would be needed 
> to toggle the feature for execute. Only problem is it would add an additional 
> down arrow keystroke if you want to do a new search, so maybe only do it for 
> execute prompt.
>
>

Benno, can you join the discussion and tell us which (if any) of the
ideas are acceptable?



reply via email to

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