* [Comm] [Vim] как менять кодировки
@ 2003-01-16 16:49 Alexey Vakhov
2003-01-16 17:04 ` Sergey Vlasov
2003-01-16 17:05 ` [Comm] " Ilya Palagin
0 siblings, 2 replies; 5+ messages in thread
From: Alexey Vakhov @ 2003-01-16 16:49 UTC (permalink / raw)
To: ALTLinux
Здраствуйте!
Не подскажите как в vim'е поменять кодировку, что бы скажем
редактировать текст в виндовой кодировке?
--
Алексей Вахов
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] [Vim] как менять кодировки
2003-01-16 16:49 [Comm] [Vim] как менять кодировки Alexey Vakhov
@ 2003-01-16 17:04 ` Sergey Vlasov
2003-01-16 17:07 ` Alexey Vakhov
2003-01-18 15:09 ` [Comm] [JT] " Michael Shigorin
2003-01-16 17:05 ` [Comm] " Ilya Palagin
1 sibling, 2 replies; 5+ messages in thread
From: Sergey Vlasov @ 2003-01-16 17:04 UTC (permalink / raw)
To: community
On Thu, 16 Jan 2003 19:49:29 +0300
Alexey Vakhov <vahov@dgap.mipt.ru> wrote:
> Не подскажите как в vim'е поменять кодировку, что бы скажем
> редактировать текст в виндовой кодировке?
:e ++enc=cp1251 win.txt
:e ++enc=cp866 dos.txt
Читайте по этому поводу :help multibyte .
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] [Vim] как менять кодировки
2003-01-16 16:49 [Comm] [Vim] как менять кодировки Alexey Vakhov
2003-01-16 17:04 ` Sergey Vlasov
@ 2003-01-16 17:05 ` Ilya Palagin
1 sibling, 0 replies; 5+ messages in thread
From: Ilya Palagin @ 2003-01-16 17:05 UTC (permalink / raw)
To: community
Alexey Vakhov wrote:
> Здраствуйте!
> Не подскажите как в vim'е поменять кодировку, что бы скажем
> редактировать текст в виндовой кодировке?
vim -c "e ++enc=cp1251 win_file.txt"
Автоопределение:
set fileencodings=koi8-r,cp1251 в .vimrc
Внеклассное чтение:
:help encoding
:help fileencoding
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] [Vim] как менять кодировки
2003-01-16 17:04 ` Sergey Vlasov
@ 2003-01-16 17:07 ` Alexey Vakhov
2003-01-18 15:09 ` [Comm] [JT] " Michael Shigorin
1 sibling, 0 replies; 5+ messages in thread
From: Alexey Vakhov @ 2003-01-16 17:07 UTC (permalink / raw)
To: community
> :e ++enc=cp1251 win.txt
> :e ++enc=cp866 dos.txt
Спасибо!
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Comm] [JT] Re: [Vim] как менять кодировки
2003-01-16 17:04 ` Sergey Vlasov
2003-01-16 17:07 ` Alexey Vakhov
@ 2003-01-18 15:09 ` Michael Shigorin
1 sibling, 0 replies; 5+ messages in thread
From: Michael Shigorin @ 2003-01-18 15:09 UTC (permalink / raw)
To: community
On Thu, Jan 16, 2003 at 08:04:16PM +0300, Sergey Vlasov wrote:
> :e ++enc=cp1251 win.txt
> :e ++enc=cp866 dos.txt
Сергей, Ваши письма хоть сразу в =archive/TIPS фильтруй :-)
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-01-18 15:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-16 16:49 [Comm] [Vim] как менять кодировки Alexey Vakhov
2003-01-16 17:04 ` Sergey Vlasov
2003-01-16 17:07 ` Alexey Vakhov
2003-01-18 15:09 ` [Comm] [JT] " Michael Shigorin
2003-01-16 17:05 ` [Comm] " Ilya Palagin
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