ok so I dd not select the whole line just the text : visual + $ , resutl the frist ERB tag was on that line but the closing was on another - so it si a bug
2015-05-03 17:47 GMT+02:00 Eric Christopherson <[email protected]>: > On Sun, May 03, 2015, Robert Balejík wrote: > > I use those 2 plugins so I wanna use them so I tried to put ERB tags on > the line - so I visually select line do S = just as is suggested here > https://stackoverflow.com/questions/4275209/how-do-i-insert-erb-tags-with-vim > > but it put ERB tags <%= %> on the sperarate line? did anyone have this > problem > > For me, that only happens when I have a whole line selected, as with > Vim's capital-V visual mode. I assume that's the intended behavior. When > I have text selected in non-linewise mode, it puts the beginning and end > of the tag on the same line. > > (I also see there seems to be a bug that's triggered if you do a > characterwise selection on the last line in a file, up to and including > EOL.) > > -- > Eric Christopherson > > -- > -- > 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 > > --- > You received this message because you are subscribed to a topic in the > Google Groups "vim_use" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/vim_use/1HYA3HCVYes/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
