From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] 2 вопроса по vim
Date: Mon, 01 Dec 2008 22:36:44 +0300
Message-ID: <49343CCC.2070502@mail.ru> (raw)
Здравствуйте!
1. При copy/paste в vim нескольких строк, среди которых есть строка
начинающаяся с пробела, вставляется лесенка, например:
было:
set wildmenu
set wcm=<Tab>
menu Encoding.koi8-r :e ++enc=koi8-r<CR>
menu Encoding.windows-1251 :e ++enc=cp1251<CR>
menu Encoding.ibm-866 :e ++enc=ibm866<CR>
menu Encoding.utf-8 :e ++enc=utf-8 <CR>
map <F8> :emenu Encoding.<TAB>
стало в vim:
set wildmenu
set wcm=<Tab>
menu Encoding.koi8-r :e ++enc=koi8-r<CR>
menu Encoding.windows-1251 :e ++enc=cp1251<CR>
menu Encoding.ibm-866 :e ++enc=ibm866<CR>
menu Encoding.utf-8 :e ++enc=utf-8 <CR>
map <F8> :emenu Encoding.<TAB>
Можно ли такое "умствование" как-то отключать при необходимости?
2. Набрёл (http://www.altlinux.org/DotFiles/Editors/Vim) на приведённый
выше скрипт и решил его использовать, но все мои попытки записать его в
.vimrc приводят к:
Обнаружена ошибка при обработке /home/user/.vimrc:
строка 7:
E488: Лишние символы на хвосте: wildmenu^M
Press ENTER or type command to continue
^M на хвосте ни разу не вижу (я представляю что это такое). И вообще похоже
на все set'ы аналогичная реакция... Никак не могу понять о чём идёт речь.
Подскажите, пожалуйста.
З.Ы. Десктоп 4.0 + его же бранч
--
С уважением,
Владимир.
next reply other threads:[~2008-12-01 19:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 19:36 Vladimir Karpinsky [this message]
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
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=49343CCC.2070502@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