vim-speeddating icon indicating copy to clipboard operation
vim-speeddating copied to clipboard

Is it possible to ignore white space in visual mode?

Open alienbogart opened this issue 7 years ago • 3 comments

I'm using speeddating with vim-orgmode, and I wonder if it would be possible to prevent this behavior: https://asciinema.org/a/HZ3SiUtzAjPPLXbh2EFxB40I7. Speeddating fill the empty lines with dates. I understand this it not a bug, it's documented. But it would be nice if I could opt out of this feature it so I can easily update my lists. Thanks.

alienbogart avatar May 25 '18 23:05 alienbogart

I think it would be a reasonable change to the official behavior to skip blank lines if there are other lines that are filled in. If you want me to implement said change you may be waiting a while.

tpope avatar May 25 '18 23:05 tpope

That's fine, I was hopeful that it could be easily disabled somehow. I'll try to implement it when I learn more about Vim. Thanks.

alienbogart avatar May 26 '18 00:05 alienbogart

Word of encouragement, it's old code I don't remember very well, but it's probably (wink) one long if statement or two to rectify. You can do it!

tpope avatar May 26 '18 04:05 tpope