indent/unindent command?

31 views
Skip to first unread message

Tom H

unread,
May 23, 2011, 2:28:19 PM5/23/11
to nicee...@googlegroups.com
Hello, new to ne editor, but i like it so far. one thing i can't seem to find is any commands for indenting/unindenting lines. does such a thing exist?

-Tom

Sebastiano Vigna

unread,
May 23, 2011, 2:31:24 PM5/23/11
to nicee...@googlegroups.com

On May 23, 2011, at 8:28 PM, Tom H wrote:

> Hello, new to ne editor, but i like it so far. one thing i can't seem to find is any commands for indenting/unindenting lines. does such a thing exist?

Well... if you use TABs to indent, it's just add-a-tab o delete-a-tab. There is nothing fancy from indenting blocks.

If you have in mind a fixed aligning (like: I want to add 3 tabs to the next 10 lines) just learn it: ^T TAB TAB TAB CTRL-A ARROW-DOWN ^T and then repeat wither with F9 or the play command...

Ciao,

seba


utoddl

unread,
May 23, 2011, 2:36:45 PM5/23/11
to nicee...@googlegroups.com
Not as such, no. For unindenting (or "outdenting"), I move into the white space on the left of the first line I want to outdent and start a vertical selection (^@ i.e. cntl-2 or cntl-shift-2 depending on your terminal). The go down to the last line I want to outdent and to the right as needed, then cut.

For indenting, start with a single column outdent, that is, cut out a one character wide (or one tab wide if you work in tabs) column of white space, the repeatedly vertical-paste (^w) it back in until the block has been shifted right as much as you like. If you over do it, undo is your friend.

-Todd

Tom H

unread,
May 23, 2011, 4:20:15 PM5/23/11
to nicee...@googlegroups.com
good tip on the outdenting, thx.
Reply all
Reply to author
Forward
0 new messages