RootConsole.net

advices, tips, blog

  • Home

Indentation of text in vim

Posted by Admin on November 8, 2013
Posted in: Programming, Tools. Tagged: indentation, vim.

Sometimes we need to shift a block of text inside a loop for example. We will use a ‘>’ char for it.

1

First off all use ‘v’ to select block of text in visual mode.

2Next type ‘>’ character (Shift+.). Selected lines will be indented.

3

 

Posts navigation

← Unbound: reply from unexpected source
How to limit a rate of incoming messages from a specified domain? →
  • or
    BTC
    1BLAWYYBP9ZGUwsJigtqW7JWLoaFFfZhMp
  • Contact

Proudly powered by WordPress Theme: Parament by Automattic.