Loading ...
Sorry, an error occurred while loading the content.

Re: Getting columns in command -range

Expand Messages
  • Charles Campbell
    ... That s http://mysite.verizon.net/astronaut/vim/index.html#VIS Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received
    Message 1 of 4 , Feb 25, 2009
    • 0 Attachment
      Tony Mechelynck wrote:
      > 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
      >

      That's http://mysite.verizon.net/astronaut/vim/index.html#VIS

      Regards,
      Chip Campbell


      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.