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.
Thanks in advance.
Rameo
--
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