* [mdk-re] VIM customizing
@ 2001-05-09 1:43 Andrey Brindeew
2001-05-11 20:47 ` Sergei Aranovsky
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Brindeew @ 2001-05-09 1:43 UTC (permalink / raw)
To: ALTLinux Mailing List
Hello!
Насчет сабжа. Откопал в доках интереснейший файл:
/usr/share/doc/vim-common-6.0/doc/options.txt
Все настроил, работает просто зашибительски ;)
Одно "но" осталось: при выполнении {c,smart}indent'а вставляется (после {
и тому подобных в конце строки) _два_ Tab'а, а хотелось бы один (так все
время руками делал). В указанной доке ничего на сию тему не нашел.
Излечимо?
P.S.
:set
autoindent
filetype=perl
history=50
backspace=indent,eol,start
formatoptions=tcql
ruler
scroll=20
showmatch
smartindent
statusline=~
syntax=perl
tabstop=4
ttyfast
ttymouse=xterm2
--
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely" (C) Larry Wall.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [mdk-re] VIM customizing
2001-05-09 1:43 [mdk-re] VIM customizing Andrey Brindeew
@ 2001-05-11 20:47 ` Sergei Aranovsky
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Aranovsky @ 2001-05-11 20:47 UTC (permalink / raw)
To: ALTLinux Mailing List
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
Так переходы по тегам внутри документации работать будут.
С уважением,
Сергей Арановский
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-11 20:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-09 1:43 [mdk-re] VIM customizing Andrey Brindeew
2001-05-11 20:47 ` Sergei Aranovsky
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