command in "Visual mode", technically, I format a selected text, but I
always highlight only one paragraph.)
It seems VIM sometimes puts two spaces between two words when it has
to merge lines in a paragraph. For example, when tw=93 and the
following text is highlighted, "gq" puts two spaces right after the
period.
sdfs lsdkf lsdkf lsdkf lskdf lsdkf ldskf lsdkf
sdf.
flsdf
I'm not sure if this is because VIM recognizes periods and tries to do
some smart things, but I really do not want this. I think it's not
very consistent either; if the highlighted text were the following,
there would be only one period after the period.
sdfs lsdkf lsdkf lsdkf lskdf lsdkf ldskf. lsdkf flsdf
sdf sdf sdf sdf sdf sdf sdf
I don't know if my guess is correct, but the above example reproduces
the problem. How can I enforce VIM to put only one space even though a
line ends with a period?
Just in case you may wonder my configuration, I'm using GVIM under
Windows 7 and my "formatoptions" is "tcq".
Thank you!
--
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