1 Jan 2008 01:03
Re: omap bug - changes too many characters
Ben Schmidt <mail_ben_schmidt <at> yahoo.com.au>
2008-01-01 00:03:18 GMT
2008-01-01 00:03:18 GMT
David Fishburn wrote: > Ahh, thank you for that explanation. So in fact I ended up executing > a cw twice in a row. You are correct, changing the normal command to > "normal! w" behaves as I expected. Cool. No worries. > You created that patch based on my initial post about the YankRing. I > have noticed it is officially included in the current SVN version. So > I am beginning to modify my plugin to take advantage of this now. LOL. I'm evidently losing track of who's writing what! Grins, Ben. Send instant messages to your online friends http://au.messenger.yahoo.com --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
.
-----------------%<-----------------
"(no linebreaks intended)
set fdm=expr
set
fde=IsComment(v:lnum)?1:IsComment(prevnonblank(v:lnum))?1:IsComment(nextnonblank(v:lnum))?1:0
func! IsComment( lnum )
return synIDattr(synID(a:lnum, match(getline(a:lnum),'\S')+1, 1),
"name") =~? 'comment'
RSS Feed