Monday, May 28, 2012

Re: align columns

On 29/05/12 06:46, sinbad wrote:
> On May 29, 7:48 am, Charles E Campbell Jr <drc...@campbellfamily.biz>
> wrote:
>> sinbad wrote:
>>> On May 28, 6:51 pm, Charles E Campbell<drc...@campbellfamily.biz>
>>> wrote:
>>
>>>> On May 28, 2012, at 9:33 AM, sinbad<sinbad.sin...@gmail.com> wrote:
>>
>>>>> i have a text as follows.
>>
>>>>> apple banana
>>>>> cat dog
>>>>> elephant fan
>>>>> goat hen
>>
>>>>> i want to make the above text aligned as follows.
>>
>>>>> apple banana
>>>>> cat dog
>>>>> elephant fan
>>>>> goat hen
>>
>>>>> is there any simple technique without doing to manually.
>>
>>>> See ifhttp://www.drchip.org/astronaut/vim/index.html#ALIGNhelps(in particular, the \tsp mapping).
>>
>>>> Regards,
>>>> C Campbell
>>
>>> while installing using tarball, i'm getting the following errors.
>>> any idea why ?
>>
>>> ***vimball*** Source this file to extract it! (:so %)
>>> removed 6 files
>>> Vimball Archive
>>> extracted<plugin/AlignPlugin.vim>: 41 lines
>>> Error detected while processing function vimball#Vimball:
>>> line 131:
>>> E474: Invalid argument: silent w! ++enc=1 /home/sinbad/.vim/plugin/
>>
>> Sounds like you have an old vimball; in v32 there's a note that says:
>>
>> * fenc extraction was erroneously picking up the
>> end of the line number when no file encoding
>> was present. Fixed.
>>
>> So you should update your vimball plugin; you can also get it from my
>> website:
>>
>> http://www.drchip.org/astronaut/vim/index.html#VIMBALL
>>
>> Its up to v35 now.
>>
>> Regards,
>> C Campbell
>
> Yup you are right, vimball is old. it worked after updating the
> vimball.
> thanks for this nice script.
>
> Thanks charlie for pointing to the utility.
>


The current "official" Vim runtime files include Vimball v35. If your
$VIMRUNTIME/plugin/vimballPlugin.vim is recent enough you can uninstall
the Vimball scripts (there are several) under ~/.vim/plugin,
~/.vim/autoload and maybe others.


Best regards,
Tony.
--
America was discovered by Amerigo Vespucci and was named after him,
until people got tired of living in a place called "Vespuccia" and
changed its name to "America".
-- Mike Harding, "The Armchair Anarchist's Almanac"

--
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

No comments:

Post a Comment