jmacdonald / amp

A complete text editor for your terminal.
https://amp.rs
Other
3.67k stars 105 forks source link

documentation: commenting multiple lines #271

Open KiaraGrouwstra opened 6 months ago

KiaraGrouwstra commented 6 months ago

using amp for coding, one common operation is to comment (or uncomment) a selection of lines. while amp's V mode lets the user select multiple lines, this can be used now to (un)indent those lines (#99), tho this mode appears to not yet facilitate operations like (uncommenting) or inserting/deleting texts at multiple lines at a time. it would be nice if amp supported such an option as well.

pbgc commented 6 months ago

@KiaraGrouwstra since 0.7.0 you can comment multiple lines. Just select the lines and use the command buffer::toggle_line_comment that is assigned to [

KiaraGrouwstra commented 6 months ago

nice! perhaps this is more of an issue about documentation then