I can use C-x TAB for indenting 1 column, or C-u N C-x TAB for N columns.
How can I `outdent' a block with emacs?
You do the same, since C-x tab understands negative arguments.
So to outdent 3 columns:
C-u - 3 C-x TAB
In python mode, for a marked region you also use C-c-< to outdent and C-c-> to indent
Use rectangular operations. C-x r k - to kill a rectangle.
Just like you mention for indenting:
C-u N C-x TAB
Just use a negative N:
C-u -N C-x TAB
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With