On Jun 14, 5:42 am, Robbo <[email protected]> wrote: > if I select a text area via visual mode, how to draw a 80 chars width > comment box and center the selected text in it? >
Well, there's the DrawIt plugin, which may help with your task: http://www.vim.org/scripts/script.php?script_id=40 I don't use it myself. If I were to do this once or twice, I'd use a combination of :center and 'virtualedit'. If I were to do it often, I'd probably define a mapping or abbreviation to expand to an empty box and enter the text in replace mode. -- 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
