indent multiple lines in nano
i was today’s old when i figured out that i may want to indent multiple lines of code at once, (yay configmaps) so if you’re looking to accomplish the same thing, here’s how:
i’d recommend setting up your ~/.nanorc
set tabsize 4
set tabstospaces
Then,
1 – Go to the line you want to start and start the marker: “Alt+a” or “Esc+a”
2 – scroll down and you will see a mark being set over the text. Stop when you need.
3 – To indent left or right, use “Alt+Shift+ { or }”
That’s about it