bugGNU nano - Bugs: bug #58199, [Wish] the ability to temporarily...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #58199: [Wish] the ability to temporarily "fold" lines

Submitter:  Seb <seb5903>
Submitted:  Sat 18 Apr 2020 12:12:10 PM UTC
Votes: 1
 
Severity:  1 - Wish Status:  None
Assigned to:  None Open/Closed:  Open

Sun 10 May 2020 10:19:19 AM UTC, comment #3: 

Never used that feature, but it sounds really good (and not too hard to implement, and very straightforward to understand how it is supposed to work).

Peter Passchier <pepa65>
Mon 20 Apr 2020 09:48:40 AM UTC, comment #2: 

I didn't know about Alt+F. Interesting.

No, I'm not suggesting to change the current behaviour. My focus is on the folding feature, not the associated keystroke.

Seb <seb5903>
Sun 19 Apr 2020 09:38:25 AM UTC, comment #1: 

Interesting idea...  However, Alt+F is already taken: it invokes the formatter.  Are you proposing that Alt+F does something different when several lines are selected?

Benno Schulenberg <bens>
Group administrator
Sat 18 Apr 2020 12:12:10 PM UTC, original submission:  

When writing or editing a file, the part I'm writing often uses or refers to earlier parts. These are often located "above" the screen which is awkward.

Vim, Emacs and IDEs have a feature for that: "folding" a bunch of lines so that they are reduced to one.

For instance, the lines to be hidden could be selected the usual way and then collapsed by hitting Alt-F (analog to zf in Vim).

Then a new line would be inserted containing something like "26 lines folded here, put the cursor on this line and press Alt-F to unfold".

Thanks for considering the idea!

Seb <seb5903>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by megidont (This sounds like a very useful feature - can't wait to hear more about it!)
  • -email is unavailable- added by megidont (Voted in favor of this item)
  • -email is unavailable- added by pepa65 (Posted a comment)
  • -email is unavailable- added by pepa65 (Voted in favor of this item)
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by seb5903 (Submitted the item)
  • -email is unavailable- added by seb5903
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-06 megidont Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added megidont
    2020-05-10 pepa65 Carbon-Copy- Added pepa65
    2020-04-19 bens Severity3 - Normal 1 - Wish
        Summary[Wish] Folding lines ? [Wish] the ability to temporarily "fold" lines
    2020-04-18 seb5903 Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code