How to indent multiple lines by single characters in Geany?

Basically I'm looking for what is analogous to selecting a block of text or lines and hitting tab; but instead of tab doing so with the space-bar.

Is there an easy shortcut for it? Can't find anything anywhere. When I select a block of text, and hit the space-bar it replaces the lot with a single space!

1

3 Answers

As @DK Bose said in his comment above...

  1. Position the cursor directly in front of the first line which you are wanting to indent by 1 or more single character spaces.
  2. Press Alt+Shift and (in my case) press the down arrow to grow the cursor to how ever many lines you want (removing line wrapping helps!). Basically you'll end up with a very long vertical cursor blinking.
  3. Press space! It will now move multiple lines at the same time by a single character spacing.

This feature is available in the Extra Selection plugin, and could be unavailable depending on your installation.

It had a Column mode actionable with Alt+Shift key combination (configurable).

Then, all Ctrl+Shift+Movement keys do rectangle selection instead of stream and your typing is on each lines simultaneously.

1

Just select multiple lines you want to give space at once and hit TAB. It will move all lines to forward in Pycharm

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like