From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] 2 вопроса по vim
Date: Tue, 02 Dec 2008 14:24:12 +0300
Message-ID: <49351ADC.2060608@mail.ru> (raw)
In-Reply-To: <49351677.5020701@mail.ru>
Vladimir Karpinsky пишет:
> Andrey Rahmatullin пишет:
>> On Tue, Dec 02, 2008 at 01:18:25PM +0300, Vladimir Karpinsky wrote:
>>>>> :h 'ff
>>>>> :h 'ffs
>>> С этим понятно: это конвертация типа dos2unix.
>> И там написано, как отключать автодетект.
>>
>>> строк явно видно, а здесь при любом ff=... их не видно, можно только
>> Всё тут видно, если ff=unix
>>> поменять.
>> Это в 1-ю очередь не про поменять, а про как распознавать.
>
> Значит у меня что-то заклинило:
>
> 1. делаю set ff=dos, набираю текст, запоминаю, перегоняю в vi, вижу ^M в
> конце строк.
>
> 2. открываю этот же текст в vim, делаю ff=unix, но ^M не вижу, если
> сохраняю текст, то и в vi ^M пропадают.
>
> Простите за сильное "торможение", но очень хочется разобраться.
>
Надо что-то с головой делать:
:e ++ff=unix
работает нормально. Спасибо!
--
С уважением,
Владимир.
prev parent reply other threads:[~2008-12-02 11:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 19:36 Vladimir Karpinsky
2008-12-01 19:40 ` Andrey Rahmatullin
2008-12-01 21:30 ` Vladimir Karpinsky
2008-12-02 7:55 ` Andrey Rahmatullin
2008-12-02 8:59 ` Evgeny Yugov
2008-12-02 10:18 ` Vladimir Karpinsky
2008-12-02 10:21 ` Yuri Bushmelev
2008-12-02 10:29 ` Andrey Rahmatullin
2008-12-02 10:38 ` Vladimir Karpinsky
2008-12-02 10:40 ` Andrey Rahmatullin
2008-12-02 10:28 ` Andrey Rahmatullin
2008-12-02 11:05 ` Vladimir Karpinsky
2008-12-02 11:24 ` Vladimir Karpinsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49351ADC.2060608@mail.ru \
--to=vkarpinsky@mail.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git