* [Comm] Vim + плагины. Тупой вопрос.
@ 2011-02-13 22:48 Денис Черносов
2011-02-14 4:14 ` Afanasov Dmitry
0 siblings, 1 reply; 5+ messages in thread
From: Денис Черносов @ 2011-02-13 22:48 UTC (permalink / raw)
To: ALT Linux Community general discussions
Решил поподробнее познакомиться с vim-ом. Поставил разные плагины.
Стал пытаться подключать:
# rpm -qi vim-plugin-rails-2.0-alt1
...
To enable this plugin define "use_rails_plugin" variable somewhere
in your .vimrc file.
В этом месте начинаю тупить. Что конкретно нужно написать в .vimrc?
Стал искать по инетам... везде рассказывают, как положить плагины в
подпапки домашнего каталога и подключить справку. Такое ощущение, что
эти переменные - альтовая специфика. Или всё настолько просто, что
никому не приходит в голову написать конкретную команду.
Просто use_rails_plugin или set use_rails_plugin - не подходят.
--
С уважением,
Черносов Денис
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Vim + плагины. Тупой вопрос.
2011-02-13 22:48 [Comm] Vim + плагины. Тупой вопрос Денис Черносов
@ 2011-02-14 4:14 ` Afanasov Dmitry
2011-02-14 19:17 ` Денис Черносов
0 siblings, 1 reply; 5+ messages in thread
From: Afanasov Dmitry @ 2011-02-14 4:14 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 470 bytes --]
On Mon, Feb 14, 2011 at 01:48:12AM +0300, Денис Черносов wrote:
> Решил поподробнее познакомиться с vim-ом. Поставил разные плагины.
> Стал пытаться подключать:
>
> # rpm -qi vim-plugin-rails-2.0-alt1
> ...
> To enable this plugin define "use_rails_plugin" variable somewhere
> in your .vimrc file.
>
> В этом месте начинаю тупить. Что конкретно нужно написать в .vimrc?
let use_rails_plugin = 1 :)
help variables
--
С уважением
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Vim + плагины. Тупой вопрос.
2011-02-14 4:14 ` Afanasov Dmitry
@ 2011-02-14 19:17 ` Денис Черносов
2011-02-14 19:41 ` Afanasov Dmitry
0 siblings, 1 reply; 5+ messages in thread
From: Денис Черносов @ 2011-02-14 19:17 UTC (permalink / raw)
To: ALT Linux Community general discussions, Afanasov Dmitry
14 февраля 2011 г. 7:14 пользователь Afanasov Dmitry
<ender@altlinux.org> написал:
> On Mon, Feb 14, 2011 at 01:48:12AM +0300, Денис Черносов wrote:
>> Решил поподробнее познакомиться с vim-ом. Поставил разные плагины.
>> Стал пытаться подключать:
>>
>> # rpm -qi vim-plugin-rails-2.0-alt1
>> ...
>> To enable this plugin define "use_rails_plugin" variable somewhere
>> in your .vimrc file.
>>
>> В этом месте начинаю тупить. Что конкретно нужно написать в .vimrc?
> let use_rails_plugin = 1 :)
а я пробовал:
let use_rails_plugin = on
set user_rails_plugin = on
Думал что пофиг каким значением инициировать...
> help variables
Спасибо большое. Уже читаю. :)
Добавил в вики: http://www.altlinux.org/Vim-подключение_плагинов
--
С уважением,
Черносов Денис
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Vim + плагины. Тупой вопрос.
2011-02-14 19:17 ` Денис Черносов
@ 2011-02-14 19:41 ` Afanasov Dmitry
2011-02-15 8:06 ` Денис Черносов
0 siblings, 1 reply; 5+ messages in thread
From: Afanasov Dmitry @ 2011-02-14 19:41 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
On Mon, Feb 14, 2011 at 10:17:34PM +0300, Денис Черносов wrote:
> 14 февраля 2011 г. 7:14 пользователь Afanasov Dmitry
> <ender@altlinux.org> написал:
> let use_rails_plugin = on
> set user_rails_plugin = on
>
> Думал что пофиг каким значением инициировать...
ну тогда уж let use_rails_plugin = "on"
--
С уважением
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Vim + плагины. Тупой вопрос.
2011-02-14 19:41 ` Afanasov Dmitry
@ 2011-02-15 8:06 ` Денис Черносов
0 siblings, 0 replies; 5+ messages in thread
From: Денис Черносов @ 2011-02-15 8:06 UTC (permalink / raw)
To: ALT Linux Community general discussions, Afanasov Dmitry
14 февраля 2011 г. 22:41 пользователь Afanasov Dmitry
<ender@altlinux.org> написал:
> On Mon, Feb 14, 2011 at 10:17:34PM +0300, Денис Черносов wrote:
>> 14 февраля 2011 г. 7:14 пользователь Afanasov Dmitry
>> <ender@altlinux.org> написал:
>> let use_rails_plugin = on
>> set user_rails_plugin = on
>>
>> Думал что пофиг каким значением инициировать...
> ну тогда уж let use_rails_plugin = "on"
Правильно. Бес в деталях.
Пошёл учить матчасть.
--
С уважением,
Черносов Денис
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-15 8:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-13 22:48 [Comm] Vim + плагины. Тупой вопрос Денис Черносов
2011-02-14 4:14 ` Afanasov Dmitry
2011-02-14 19:17 ` Денис Черносов
2011-02-14 19:41 ` Afanasov Dmitry
2011-02-15 8:06 ` Денис Черносов
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