Re: trying to leave the GUI world and enter the world of VIM

2007-02-26 Thread Theerasak Photha
On 2/27/07, Peter Michaux <[EMAIL PROTECTED]> wrote: Hi Hanu, Thanks for the response On 2/26/07, Theerasak Photha <[EMAIL PROTECTED]> wrote: > On 2/26/07, Peter Michaux <[EMAIL PROTECTED]> wrote: > > > Does vim have the concept of a project of files? I like the project > > drawer to the left o

Re: trying to leave the GUI world and enter the world of VIM

2007-02-26 Thread Peter Michaux
Hi Tony, Thanks for all the info. On 2/26/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > If vim does have the concept of a project can I do a project wide > search or search and replace in my project? I find this essential for > refactoring and cleaning up code when I realize what I should ha

Re: trying to leave the GUI world and enter the world of VIM

2007-02-26 Thread Peter Michaux
Hi Hanu, Thanks for the response On 2/26/07, Theerasak Photha <[EMAIL PROTECTED]> wrote: On 2/26/07, Peter Michaux <[EMAIL PROTECTED]> wrote: > Does vim have the concept of a project of files? I like the project > drawer to the left of the editing window which shows the files and > directory s

Re: pulling text to the right?

2007-02-26 Thread durgaprasad jammula
Hi, If all the lines in a file only contains 2 words [column & int], you can even write a one line awk command to indent it. cat data.txt | awk '{print " "$1" "$2}' > indented_data.txt - Original Message From: A.J.Mechelynck <[EMAIL PROTECTED]> To: Lev Lvovsky <[EMAIL PROTECTED]>

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread cga2000
On Mon, Feb 26, 2007 at 11:39:08PM EST, A.J.Mechelynck wrote: > cga2000 wrote: > >On Mon, Feb 26, 2007 at 08:47:00PM EST, A.J.Mechelynck wrote: [..] > > > >Avant donc que d'écrire, apprenez à penser. > > > >(Before writing, one must learn to think) .. (rough translation) > > Let's try to recapture

Re: GB18030 != CP936

2007-02-26 Thread Yongwei Wu
Hi Tony, On 2/27/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Yongwei Wu wrote: > Hi Tony, > > On 2/27/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: >> Yongwei Wu wrote: >> [...] >> > If your purpose is only to provide a workaround for >> > LANG=zh_CN.GB18030, changing the environment variable

Re: GB18030 != CP936 (Alternative project?)

2007-02-26 Thread mbbill
Hello Edward, Tuesday, February 27, 2007, 11:58:30 AM, you wrote: >?Hi Tony, >?On 2/27/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: >>?[...] >>?Here is an alternative way to handle it, which may be "the right way" from a >>?conceptual point of view, and in the long term, though it may be much m

Re: GB18030 != CP936 (Alternative project?)

2007-02-26 Thread A.J.Mechelynck
Edward L. Fox wrote: Hi Tony, On 2/27/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: [...] Here is an alternative way to handle it, which may be "the right way" from a conceptual point of view, and in the long term, though it may be much more difficult from the coding point of view. It may or

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread A.J.Mechelynck
cga2000 wrote: On Mon, Feb 26, 2007 at 08:47:00PM EST, A.J.Mechelynck wrote: cga2000 wrote: [...] I find the exercise useful since as, I believe, A. Einstein once remarked .. if you can't explain it .. you don't fully understand it .. or something to that effect. Some French author of the 17th

Re: vertically split the whole screen

2007-02-26 Thread cga2000
On Mon, Feb 26, 2007 at 06:38:35PM EST, Kamaraju S Kusumanchi wrote: > Let's say I open a vim session by > > vim -o2 file1 file2 > > now when inside file1, If I do > > :vs file3 > > I will get > > -- > file1 | file3 > -- > file2 > -- > > > Instead I wa

Re: trying to leave the GUI world and enter the world of VIM

2007-02-26 Thread A.J.Mechelynck
Peter Michaux wrote: Hi All, I'm finally trying to buckle down and learn a real text editor. I'll give vim a go first since it looks like I won't have to hold down ctrl all the time like emacs. I currently use Textmate on OS X and it has some great features but I am tired of reaching for my mous

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread cga2000
On Mon, Feb 26, 2007 at 08:06:12PM EST, A.J.Mechelynck wrote: > cga2000 wrote: [..] > >2. How to use vim's help efficiently > here are a few examples; some of them use a fictional "subject": > > :help > gives you very general help. Start scrolling and you will >

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread cga2000
On Mon, Feb 26, 2007 at 08:47:00PM EST, A.J.Mechelynck wrote: > cga2000 wrote: > [...] > >I find the exercise useful since as, I believe, A. Einstein once > >remarked .. if you can't explain it .. you don't fully understand it .. > >or something to that effect. > > Some French author of the 17th c

Re: GB18030 != CP936 (Alternative project?)

2007-02-26 Thread Edward L. Fox
Hi Tony, On 2/27/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: [...] Here is an alternative way to handle it, which may be "the right way" from a conceptual point of view, and in the long term, though it may be much more difficult from the coding point of view. It may or may not be "the right th

Re: GB18030 != CP936 (Alternative project?)

2007-02-26 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Yongwei Wu wrote: Hi Tony, On 2/27/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Yongwei Wu wrote: [...] > If your purpose is only to provide a workaround for > LANG=zh_CN.GB18030, changing the environment variable inside main() of > Vim may be a better approach. > > Best

Gvim.app as Xcode's external editor

2007-02-26 Thread Simon McCorkindale
Hi, I'm running Mac OS X 10.4, Vim 7.0 plus the gvim.app (basically a shell script wrapped up as an OS X application) utility that allows you to open several Vim windows at once without starting an entirely new Vim session (re: http://macvim.org/OSX/index.php). I'm trying to get Xcode's external

Re: GB18030 != CP936

2007-02-26 Thread A.J.Mechelynck
Yongwei Wu wrote: Hi Tony, On 2/27/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Yongwei Wu wrote: [...] > If your purpose is only to provide a workaround for > LANG=zh_CN.GB18030, changing the environment variable inside main() of > Vim may be a better approach. > > Best regards, > > Yongwei >

Re: trying to leave the GUI world and enter the world of VIM

2007-02-26 Thread Theerasak Photha
On 2/26/07, Peter Michaux <[EMAIL PROTECTED]> wrote: Yes, it has basically everything. Does vim have the concept of a project of files? I like the project drawer to the left of the editing window which shows the files and directory structure on my hard drive. c.f. taglist.vim (see below)

trying to leave the GUI world and enter the world of VIM

2007-02-26 Thread Peter Michaux
Hi All, I'm finally trying to buckle down and learn a real text editor. I'll give vim a go first since it looks like I won't have to hold down ctrl all the time like emacs. I currently use Textmate on OS X and it has some great features but I am tired of reaching for my mouse and it doesn't get a

Re: GB18030 != CP936

2007-02-26 Thread Yongwei Wu
Hi Tony, On 2/27/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Yongwei Wu wrote: [...] > If your purpose is only to provide a workaround for > LANG=zh_CN.GB18030, changing the environment variable inside main() of > Vim may be a better approach. > > Best regards, > > Yongwei > ... and, if the C

Re: pulling text to the right?

2007-02-26 Thread A.J.Mechelynck
Lev Lvovsky wrote: I'm sure there's a fancy word for this, but is there any way to pull text to the right? suppose I have the following: COL1 INT, COL2 INT, COL3 INT, I'd like to get "COL3" aligned to "COL1" and "COL2", but to do that, I need to put the cursor behind "COL3

Re: Selecting a part of a line and then copy or cut it and then paste is somewhere.

2007-02-26 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, I'm trying to learn new vim habbits by - not sourcing mswin.vim - not setting behave mswin. to migrate easier to linux. I also start using the old-dos way again by copying, cutting and pasting with ctrl-insert, shift-delete and shift-insert iso CTRL-C, CTRL-X, CTRL-V,

Re: GB18030 != CP936

2007-02-26 Thread A.J.Mechelynck
Yongwei Wu wrote: [...] If your purpose is only to provide a workaround for LANG=zh_CN.GB18030, changing the environment variable inside main() of Vim may be a better approach. Best regards, Yongwei ... and, if the Chinese messages and menus _actually_ used by (g)vim don't use any GB18030 4

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread A.J.Mechelynck
cga2000 wrote: [...] I find the exercise useful since as, I believe, A. Einstein once remarked .. if you can't explain it .. you don't fully understand it .. or something to that effect. Some French author of the 17th century I think (Boileau?): Ce qui se conçoit bien s'énonce clairement Et le

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread A.J.Mechelynck
cga2000 wrote: On Sun, Feb 25, 2007 at 07:57:39PM EST, A.J.Mechelynck wrote: [..] - To change (once) to the dir of the current file :cd %:p:h Nice. But I'm not going to remember it until I understand it. I scoured the :help files but couldn't find and explanation of the syntax.

Re: GB18030 != CP936

2007-02-26 Thread Yongwei Wu
Hi Edward, On 2/27/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: Hi Vimmers, On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: > On 2/26/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: > > Hi Wu, > > > > On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: > > > On 2/26/07, Edward L. Fox <[EMAIL PROTE

Re: GB18030 != CP936

2007-02-26 Thread Yongwei Wu
Hi Bram, On 2/27/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: If I understand it correctly is GB18030 a multi-byte character set that is mostly the same as cp936, but adds a number of 4-byte characters. Vim does not support those 4-byte characters, thus setting 'encoding' to gb18030 won't work

pulling text to the right?

2007-02-26 Thread Lev Lvovsky
I'm sure there's a fancy word for this, but is there any way to pull text to the right? suppose I have the following: COL1 INT, COL2 INT, COL3 INT, I'd like to get "COL3" aligned to "COL1" and "COL2", but to do that, I need to put the cursor behind "COL3", hit space severa

Re: vertically split the whole screen

2007-02-26 Thread Tim Chase
> vim -o2 file1 file2 > > now when inside file1, If I do > > :vs file3 > > I will get > > -- > file1 | file3 > -- > file2 > -- > > > Instead I want to get > -- > file1 | > --- file3 > file2 | > -- > > Is there any easy way?

Re: Completion deletes previously completed text

2007-02-26 Thread Bernhard Walle
* A.J.Mechelynck <[EMAIL PROTECTED]> [2007-02-26 02:08]: > >-- > > > >I want to type some_very_long_string(some_another_long_string). > > > >Now I type 'some_very' and hit to complete it. After that I > >type '(' then 'some_another' and I hit again. Without leaving > >the insert mode, of course.

vertically split the whole screen

2007-02-26 Thread Kamaraju S Kusumanchi
Let's say I open a vim session by vim -o2 file1 file2 now when inside file1, If I do :vs file3 I will get -- file1 | file3 -- file2 -- Instead I want to get -- file1 | --- file3 file2 | -- Is there any easy way? raju --

Re: GB18030 != CP936

2007-02-26 Thread Bram Moolenaar
Zhaojun Wu wrote: > Hi, Yongwei, > > I am also realizing this issue during my recent research on Chinese encodings. > > As shown in the wikipedia, CP936 is just the encoding derived from > Microsoft's Windows 95. Due to the popularity of Windows OS in > mainland China, the Chinese government bu

Re: 2html.vim 256 color support

2007-02-26 Thread Bram Moolenaar
Calmar wrote: > Sorry I sent you a private mail, but you never know it they arrive > or land in somekind of spam-filter. > > the patch is attached here: > > it's just adding these colors: > > http://www.calmar.ws/vim/256-terminal-24bit-color-chart.html Assuming the terminal is an xterm the nu

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread cga2000
On Mon, Feb 26, 2007 at 12:32:19PM EST, Tim Chase wrote: > >>- To change (once) to the dir of the current file > >> > >>:cd %:p:h > > [..] > > If you're impatient, full details can be found at > > :help filename-modifiers > > >2. How to use vim's help efficiently > > There are severa

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Denis Perelyubskiy
On Mon, 26 Feb 2007 09:29:32 -0600 (CST), "Tom Purl" <[EMAIL PROTECTED]> said: > Ok, so the majority of people seem to be saying that the Google wiki > isn't very well-suited for our needs. Most notably, it's very likely > that it will severely inhibit contributions. I agree with this > whole-he

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread cga2000
On Mon, Feb 26, 2007 at 12:24:33PM EST, Sibin P. Thomas wrote: > > -Original Message- > From: cga2000 [mailto:[EMAIL PROTECTED] > Sent: Monday, February 26, 2007 10:28 PM > To: vim@vim.org > Subject: Re: How do I make the current working directory follow the active > document in Gvim? >

Re: Selecting a part of a line and then copy or cut it and then paste is somewhere.

2007-02-26 Thread Kev
Eric Leenman wrote: Hi, I'm trying to learn new vim habbits by - not sourcing mswin.vim - not setting behave mswin. to migrate easier to linux. I also start using the old-dos way again by copying, cutting and pasting with ctrl-insert, shift-delete and shift-insert iso CTRL-C, CTRL-X, CTRL-V,

Re: Selecting a part of a line and then copy or cut it and then paste is somewhere.

2007-02-26 Thread Hugh Sasse
On Mon, 26 Feb 2007, Eric Leenman wrote: > Hi, > > I'm trying to learn new vim habbits by > - not sourcing mswin.vim > - not setting behave mswin. > to migrate easier to linux. > [...] > What I now miss is the SELECT-MODE. > Not sure if this is done in mswin.vim and behave mswin. > I use

Selecting a part of a line and then copy or cut it and then paste is somewhere.

2007-02-26 Thread Eric Leenman
Hi, I'm trying to learn new vim habbits by - not sourcing mswin.vim - not setting behave mswin. to migrate easier to linux. I also start using the old-dos way again by copying, cutting and pasting with ctrl-insert, shift-delete and shift-insert iso CTRL-C, CTRL-X, CTRL-V, as these CTRL-keys ar

Docbook edit-compile-edit cycle in vim

2007-02-26 Thread cga2000
Too quick posting ... Sorry, cga

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread Christian Ebert
* cga2000 on Monday, February 26, 2007 at 11:57:39 -0500: > On Sun, Feb 25, 2007 at 07:57:39PM EST, A.J.Mechelynck wrote: >> - To change (once) to the dir of the current file >> >> :cd %:p:h > > Nice. > > But I'm not going to remember it until I understand it. > > I scoured the :help file

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread Tim Chase
- To change (once) to the dir of the current file :cd %:p:h Nice. But I'm not going to remember it until I understand it. I scoured the :help files but couldn't find and explanation of the syntax. :p is short for :print and :h is help. So there's two things I don't know: 1. The

RE: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread Sibin P. Thomas
-Original Message- From: cga2000 [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 10:28 PM To: vim@vim.org Subject: Re: How do I make the current working directory follow the active document in Gvim? On Sun, Feb 25, 2007 at 07:57:39PM EST, A.J.Mechelynck wrote: [..] > > - To ch

edit-compile-edit cycle in vim

2007-02-26 Thread cga2000
I'm currently giving docbook a go and was wondering whether there might be a plugin in vim70 that might help make the experience a little less painful or more productive. I found one called "dbhelper" at vim.org and was wondering if anyone is using it.. Is it still maintained .. mature .. etc.

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread cga2000
On Sun, Feb 25, 2007 at 07:57:39PM EST, A.J.Mechelynck wrote: [..] > > - To change (once) to the dir of the current file > > :cd %:p:h Nice. But I'm not going to remember it until I understand it. I scoured the :help files but couldn't find and explanation of the syntax. :p is short f

Re: GB18030 != CP936

2007-02-26 Thread Edward L. Fox
Hi Vimmers, On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: On 2/26/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: > Hi Wu, > > On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: > > On 2/26/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > > The problem is in Patch 58: > > >

Re: formatting the number column

2007-02-26 Thread Yakov Lerner
On 2/26/07, Tim Chase <[EMAIL PROTECTED]> wrote: >> When I do "set number" I get the numbering in the left column (good). Is >> there a way I can change the look of the number? I would like the >> numbers to look like: >> >> 1: >> 2: >> 3: > > No, you cannot add colon. You can change the color an

Re: GB18030 != CP936

2007-02-26 Thread Yongwei Wu
On 2/26/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: Hi Wu, On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: > On 2/26/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > > The problem is in Patch 58: > > > > > > + {"gbk", IDX_CP936}, > > > + {"gb18030",

Re: formatting the number column

2007-02-26 Thread Tim Chase
When I do "set number" I get the numbering in the left column (good). Is there a way I can change the look of the number? I would like the numbers to look like: 1: 2: 3: No, you cannot add colon. You can change the color and width, though. How 'bout :%s/^/: (grins, ducks, and runs) -tim

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Tom Purl
Ok, so the majority of people seem to be saying that the Google wiki isn't very well-suited for our needs. Most notably, it's very likely that it will severely inhibit contributions. I agree with this whole-heartedly. Also, a lot of people are discussing third-party wiki hosting sites and the po

Re: formatting the number column

2007-02-26 Thread Yakov Lerner
On 2/26/07, Robert Hicks <[EMAIL PROTECTED]> wrote: When I do "set number" I get the numbering in the left column (good). Is there a way I can change the look of the number? I would like the numbers to look like: 1: 2: 3: No, you cannot add colon. You can change the color and width, though. Y

RE: VimTips - Google Wiki Usefulness

2007-02-26 Thread Steve Hall
From: "Yakov Lerner", Mon, February 26, 2007 5:38 am > On 2/26/07, A.J.Mechelynck wrote: > > > > If we gan get hosting space somewhere for a mediawiki server, I'm > > all in favour. > > From: http://en.wikibooks.org/wiki/Wiki_Science:How_to_start_a_Wiki I started one here ages ago here: http://

Re: GB18030 != CP936

2007-02-26 Thread Edward L. Fox
Hi Wu, On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: On 2/26/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: > Hi all, > > > The problem is in Patch 58: > > > > + {"gbk", IDX_CP936}, > > + {"gb18030", IDX_CP936}, /* only 99% the same */ > > I made the patch.

formatting the number column

2007-02-26 Thread Robert Hicks
When I do "set number" I get the numbering in the left column (good). Is there a way I can change the look of the number? I would like the numbers to look like: 1: 2: 3:

Re: GB18030 != CP936

2007-02-26 Thread Yongwei Wu
On 2/26/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: Hi all, > The problem is in Patch 58: > > + {"gbk", IDX_CP936}, > + {"gb18030", IDX_CP936}, /* only 99% the same */ I made the patch. And I knew that GB18030 and GBK is not the same. Actually it's easy to s

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Paul Irofti
On Mon, Feb 26, 2007 at 12:55:58PM +0100, A.J.Mechelynck wrote: > ! > >Obligations > ># The service is provided free-of-charge, as-is, and without any > >guarantees or obligations. > ># We reserve the right to cancel or alter the service at any time. > !!!

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Yakov Lerner ([EMAIL PROTECTED]) wrote: On 2/26/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Paul Irofti wrote: Hello vimmers, I don't understand why Google Wiki is being discussed here as the main solution. As I see it there are a few _major_ disadvantages of using

Re: GB18030 != CP936

2007-02-26 Thread Edward L. Fox
Hi all, On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: Hi Bram, On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: > Hi Bram, > > My test shows when I use ++enc to open a file in GB18030, Vim uses > CP936, which is not correct. GB18030 is a 1, 2, or 4 byte encoding, > while CP936 is a 1 or 2

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Tobias Klausmann
Hi! On Mon, 26 Feb 2007, [EMAIL PROTECTED] wrote: > > ElWiki.com > >Free MediaWiki hosting with fast setup. A free .com/net/org domain > > is offered for wikis which reach 10 pages of content. Google AdSense > > text-ads may be added to the right sidebar to cover hosting expenses. > > > > Fr

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread gregory . sacre
Yakov Lerner ([EMAIL PROTECTED]) wrote: > On 2/26/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > >Paul Irofti wrote: > >> Hello vimmers, > >> > >> I don't understand why Google Wiki is being discussed here as the main > >> solution. As I see it there are a few _major_ disadvantages of using it: >

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Paul Irofti
On Mon, Feb 26, 2007 at 05:38:42AM -0500, Yakov Lerner wrote: > ElWiki.com >Free MediaWiki hosting with fast setup. A free .com/net/org domain > is offered for wikis which reach 10 pages of content. Google AdSense > text-ads may be added to the right sidebar to cover hosting expenses. > > From

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Paul Irofti
Not sure this got through, resending. - Forwarded message from Paul Irofti <[EMAIL PROTECTED]> - From: Paul Irofti <[EMAIL PROTECTED]> To: "A.J.Mechelynck" <[EMAIL PROTECTED]> Cc: Tom Purl <[EMAIL PROTECTED]>, Bram Moolenaar <[EMAIL PROTECTED]>, vim@vim.org Date: Mon, 26 Feb 2007 1

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Yakov Lerner
On 2/26/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Paul Irofti wrote: > Hello vimmers, > > I don't understand why Google Wiki is being discussed here as the main > solution. As I see it there are a few _major_ disadvantages of using it: > > - it has software limitations that a large community,

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread A.J.Mechelynck
Paul Irofti wrote: Hello vimmers, I don't understand why Google Wiki is being discussed here as the main solution. As I see it there are a few _major_ disadvantages of using it: - it has software limitations that a large community, such as ours, can't cope with - it's managed and offered by a

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread A. S. Budden
On 26/02/07, Denis Perelyubskiy <[EMAIL PROTECTED]> wrote: On Sun, 25 Feb 2007 18:57:00 -0800, "Suresh Govindachar" <[EMAIL PROTECTED]> said: > > What is wrong with just having a "visual image based manual check" > as the last step of editing a wiki page? (I hope you know what I > mean by

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Paul Irofti
Hello vimmers, I don't understand why Google Wiki is being discussed here as the main solution. As I see it there are a few _major_ disadvantages of using it: - it has software limitations that a large community, such as ours, can't cope with - it's managed and offered by a third party organiza

Re: delete html tags command?

2007-02-26 Thread A.J.Mechelynck
Mikołaj Machowski wrote: Dnia 26-02-2007 o godz. 5:19 Simon Jackson napisał(a): is there something similar to 'dw' that would delete an entire tag and its contents or one just to delete the opening of a tag (just instead of some text? Try :help v_at :help v_it m. Apparently I was reinvent

Re: GB18030 != CP936

2007-02-26 Thread Zhaojun WU
On 2/26/07, Yongwei Wu <[EMAIL PROTECTED]> wrote: Thanks for the information. However, the test file is invalid. Specifically, the third character is E1 11 A0: obviously wrong. Using iconv confirmed this: iconv -f utf-8 -t gbk zh-s.utf8 明月iconv: zh-s.utf8: cannot convert Oops, I made a mistake

Re: Artifacts across buffers when using BufRead au

2007-02-26 Thread Yakov Lerner
On 2/26/07, Benjamin McMillan <[EMAIL PROTECTED]> wrote: I don't know if this is a bug, so for now I'm going to post it on this list. Maybe I'm just using the wrong option. I'm using the BufReadPost au to echo the filename to screen, but this is causing visual artifacts when I change buffers: so

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread Yakov Lerner
On 2/25/07, Tom Purl <[EMAIL PROTECTED]> wrote: > I do think that we can do the addition of new people who want to be > able to edit the wiki manually. That should also filter out the > spammers. There is only a delay between wanting to edit the wiki and > being able to do it the first time. N

Re: GB18030 != CP936

2007-02-26 Thread Yongwei Wu
On 2/26/07, Zhaojun WU <[EMAIL PROTECTED]> wrote: Hi, Yongwei, I am also realizing this issue during my recent research on Chinese encodings. As shown in the wikipedia, CP936 is just the encoding derived from Microsoft's Windows 95. Due to the popularity of Windows OS in mainland China, the Chi

Re: VimTips - Google Wiki Usefulness

2007-02-26 Thread John Beckett
Tom Purl wrote: Ok, so here's the proposed workflow: ... Tom - thanks for spelling out the proposed workflow. Studying the details is essential for evaluating the system. OTOH I guess we could just go with something, and if it doesn't work we would refactor! If you post another workflow, how a

Re: delete html tags command?

2007-02-26 Thread Mikołaj Machowski
Dnia 26-02-2007 o godz. 5:19 Simon Jackson napisał(a): > is there something similar to 'dw' that would delete an entire tag and > its contents or one just to delete the opening of a tag (just > instead of some text? > Try :help v_at :help v_it m. ---

Re: GB18030 != CP936

2007-02-26 Thread Zhaojun WU
Hi, Yongwei, I am also realizing this issue during my recent research on Chinese encodings. As shown in the wikipedia, CP936 is just the encoding derived from Microsoft's Windows 95. Due to the popularity of Windows OS in mainland China, the Chinese government build the GBK (GB-2312 extension) o