> I find myself often to align blocks of text and thought to create a
> regex to remove all leading spaces in a block.
>
> p.e.
>
> text a
> text b
> text c
> text d
>
> I would like to select a visual block around these 4 pieces of text
> and remove
> all leading spaces, how can I do this?
> - I can't use "^" because it aligns the block at the beginning of the
> line.
>
> Another possibility is to left align the text in the selection but I
> have not found any command to do this.
>
> I checked also the align plugin but it didn't do what I wanted to do.
>
Am I missing something, or can you just use the :left command?
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment