On 04/02/09 08:00, Maxim Kim wrote: > Hi, > > I would like to make a command that could handle visual selection not > only linewise but columnwise. > > In the following command function ABRAcadabra is aware about start and > end lines of selection. > command! -range=% ABRAcadabra call ABRAcadabra(expand(<line1>), expand > (<line2>)) > > Is there<column1> and<column2> analogs in vim?
Normally, all ex-commands that accept a range act linewise. However, I think there is something to act blockwise on a block-visual selection, somewhere on Dr. Chip's site http://mysite.verizon.net/astronaut/vim Best regards, Tony. -- Boys will be boys, and so will a lot of middle-aged men. -- Kin Hubbard --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
