aspell check individual paragraphs

June 18th, 2012 - 10:58 pm ET by litd99 | Report spam
Hi,

I am searching for info on how to make a aspell check of individual
paragraphs inside of vim.

I edited and spell-checked a large file, and recently made more
changes at certain paragraphs, I don't want to run aspell check from
the beginning again, specially if it involved lots of tags or
formulas.

I use vim and aspell on Ubuntu, except save the paragraphs in another
file. Is there a simple way to aspell-check paragraphs interactively?
Tell aspell to check from line number A to B, or selected section
only? Also don't want to use aspell -a.

Thanks!
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Jacob Sparre Andersen
June 19th, 2012 - 03:31 am ET | Report spam
litd99 writes:

I am searching for info on how to make a aspell check of individual
paragraphs inside of vim.



You might be able to do something using the pipe mode of aspell, but
then you would have to write the user interface yourself.

Another option is to copy the paragraph to a temporary file, run aspell
on the temporary file, and finally patch the changes into the original
file.

Greetings,

Jacob
"We will be restoring normality as soon as we are sure what is normal anyway."

Similar topics