From: Sergei Aranovsky <Sergei.Aranovsky@srm.ru>
To: ALTLinux Mailing List <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] VIM customizing
Date: Fri May 11 20:47:01 2001
Message-ID: <20010511205957.A3388@dhcp5.msc.masq> (raw)
In-Reply-To: <20010508214705.C9E03573@abr.tool.ru>; from linux@abr.x9.ru on Wed, May 09, 2001 at 01:47:05AM +0400
On Wed, May 09, 2001 at 01:47:05AM +0400, Andrey Brindeew wrote:
> Hello!
>
> Насчет сабжа. Откопал в доках интереснейший файл:
> /usr/share/doc/vim-common-6.0/doc/options.txt
> Все настроил, работает просто зашибительски ;)
> Одно "но" осталось: при выполнении {c,smart}indent'а вставляется (после {
> и тому подобных в конце строки) _два_ Tab'а, а хотелось бы один (так все
> время руками делал). В указанной доке ничего на сию тему не нашел.
>
> Излечимо?
онечно.
> :set
> autoindent
> filetype=perl
> history=50
> backspace=indent,eol,start
> formatoptions=tcql
> ruler
> scroll=20
> showmatch
> smartindent
> statusline=~
> syntax=perl
> tabstop=4
Добавьте:
:set sw=4
либо в ~/.vimrc, либо в первую строку файла в комментарии. Для C:
/* vim: set ts=4 sw=4 */
И ещё:
:h cino
А файл, который Вы откопали проще всего рассматривать путём
:h options
Так переходы по тегам внутри документации работать будут.
С уважением,
Сергей Арановский
prev parent reply other threads:[~2001-05-11 20:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-09 1:43 Andrey Brindeew
2001-05-11 20:47 ` Sergei Aranovsky [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=20010511205957.A3388@dhcp5.msc.masq \
--to=sergei.aranovsky@srm.ru \
--cc=mandrake-russian@altlinux.ru \
/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