On 2009-12-11, Christian Brabandt wrote: > Hi Tim! > > On Do, 10 Dez 2009, Tim Johnson wrote: > > > Let's say I select some text in vim using visual mode, and I want to > > place a '/*' at the beginning of the selected text and I want to to > > place a '*/' at the end of the selected text. > > > > I am surprised, nobody has suggested > :'<,'>s...@.*@/* & */@ > yet
That's because that will put "/* " and " */" around all of the text in each of the lines within the visually-selected region, and that's not what I understood Tim to want. Regards, Gary -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
