nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Thoughts


From: David Ramsey
Subject: Re: [Nano-devel] Thoughts
Date: Fri, 27 Apr 2018 09:54:16 -0500

I can answer at least some of these,

markweston wrote:
> 1. In soft-wrap mode nano inserts physical newlines when typing in the
> soft (wrapped) part of line.

This is because you have both softwrap and hardwrap turned on at the
same time.  If you turn hardwrap off via Meta-L or "set nowrap", this
won't happen.

> 2. Smart home does not seem to work. When on a word, pressing home
> moves cursor to the start of the line, not to the start of the word.

Smart home only works on indented lines, not words.  Every editor I've
seen that uses smart home does what nano does now.

> 3. File browser does not work. You can't invoke it, so I don't even
> know what it is.

Press Ctrl-R to get to the "Insert File" prompt, then Ctrl-T ("To
Files").

> 18. Not all keys are rebindable. All keys should be rebindable.

Not all keys generate unique values on the console (see below), which is
why they can't all be rebindable.

> 19. When you select with mouse, selection also includes the line
> numbers. It should not.
>
> 20. Cutting/copying/pasting maybe should utilize the X clipboard if
> xclip/xsel is installed.
>
> 21. When pasting from X clipboard autoindent should be disabled while
> pasting and restored to initial paste after the operation.

Mouse selection and interaction with the X clipboard are X features, and
nano is a console program that doesn't know about X.  If you don't want
to mouse-select line numbers, you could toggle them off just before
doing that, and then toggle them back on afterwards.

> 36. There could be a way to execute a shell command.

Press Ctrl-R to get to the "Insert File" prompt, then Ctrl-X ("Execute
Command").



reply via email to

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