the dash and the '.' repeat command

2006-04-29 Thread cga2000
Are there any peculiarities associated with the '-' dash character in vim? I was experimenting with the '.' repeat command and I typed the following: +++ !!! followed

Folding comments

2006-04-29 Thread cga2000
Is there any way I could use folding to do this: 1. Fold all lines in a file that contain only comments. 2. Optionally delete all the lines that have previously been folded. I have a feeling I am looking for something less sophisticated than the fold feature where I could remove all lines that

Text wrapping / reflowing - two questions.

2006-04-30 Thread cga2000
When writing email messages I use the following settings: :set wrap :set textwidth=72 Say, I do the following: 1. I enter insert mode 2. I start to type the following introductory text: I am writing this short email message to ask the friendly and highly competent folks at vim@vim.org

Re: Text wrapping / reflowing - two questions.

2006-05-01 Thread cga2000
Thus spake Gary Johnson on Sun, Apr 30, 2006 at 11:18:00PM -0700 or thereabouts: [EMAIL PROTECTED] [2006-05-01 02:38]: On 2006-05-01, cga2000 [EMAIL PROTECTED] wrote: [...] Now, after doing the above a number of times I began to think there must be a better way to handle this type

Re: Text wrapping / reflowing - two questions.

2006-05-01 Thread cga2000
Thus spake Eric Arnold on Mon, May 01, 2006 at 12:19:41AM -0600 or thereabouts: [EMAIL PROTECTED] [2006-05-01 02:38]: Do you have these set? setlocal formatoptions+=bcroqan2t better without w setlocal linebreak Not that I know of. I tried: :set ?formatoptions :set ?formatoptions+

Re: hiding lines

2006-05-01 Thread cga2000
Thus spake Yakov Lerner on Mon, May 01, 2006 at 10:06:57PM +0300 or thereabouts: [EMAIL PROTECTED] [2006-05-01 17:25]: On 5/1/06, Bill Pursell [EMAIL PROTECTED] wrote: Is it possible to completely hide lines? Something stronger than merely folding. In particular, I'd like to be able to

Destructive left shift of a block of text

2006-05-01 Thread cga2000
I have saved the following in a file: I can't give you any Mac-specific advice, since I don't use them, but I can give you a general run-down. 1. You need to have the right locale settings. Your locale should be set to something similar to this: $ locale LANG=en_US.UTF-8 [...]

Re: hiding lines

2006-05-01 Thread cga2000
Thus spake Gary Johnson on Mon, May 01, 2006 at 02:52:21PM -0700 or thereabouts: [EMAIL PROTECTED] [2006-05-01 19:31]: On 2006-05-01, cga2000 [EMAIL PROTECTED] wrote: Thus spake Yakov Lerner on Mon, May 01, 2006 at 10:06:57PM +0300 or thereabouts: [EMAIL PROTECTED] [2006-05-01 17:25

Re: Destructive left shift of a block of text

2006-05-01 Thread cga2000
Thus spake Gerald Lai on Mon, May 01, 2006 at 04:43:55PM -0700 or thereabouts: [EMAIL PROTECTED] [2006-05-01 20:16]: [...] What would be the best approach to have vim do this for me? One way is to use the Visual Block. To invoke it, type Ctrl-v or Ctrl-q in Normal mode, when your cursor

colorscheme conversion script?

2006-05-15 Thread cga2000
I'm pretty sure I saw a vim script that converts gui colorschemes to 256-color xterm versions but I can't seem to find it any more. Can anyone on the list confirm that I'm not making this up and possibly provide the name of this script? Thanks, cga

Re: colorscheme conversion script?

2006-05-17 Thread 'cga2000'
Message- From: cga2000 [mailto:[EMAIL PROTECTED] Sent: Monday, May 15, 2006 6:31 PM To: vim@vim.org Subject: colorscheme conversion script? I'm pretty sure I saw a vim script that converts gui colorschemes to 256-color xterm versions but I can't seem to find it any more. Can anyone

Re: Tables.

2006-05-17 Thread cga2000
On Wed, May 17, 2006 at 05:13:46PM EDT, A.J.Mechelynck wrote: cga2000 wrote: Does vim provide any form of native support for drawing tables? I have tried a couple of plugins and they don't seem to play well with my setup, presumably because I have temporarily switched my locale back from

Re: Tables.

2006-05-18 Thread cga2000
On Thu, May 18, 2006 at 01:55:03PM EDT, Hari Krishna Dara wrote: On Thu, 18 May 2006 at 8:23am, Benji Fisher wrote: On Wed, May 17, 2006 at 07:50:08PM -0700, Suresh Govindachar wrote: cga2000 wrote: But I was not thinking of these tab stops.. more in the line

Re: Tables.

2006-05-18 Thread 'cga2000'
On Wed, May 17, 2006 at 10:50:08PM EDT, Suresh Govindachar wrote: cga2000 wrote: But I was not thinking of these tab stops.. more in the line of typewriter stuff, I guess. Creating an imap involving the following operations might do the job: ---set up the typewriter

Re: Tables.

2006-05-18 Thread cga2000
On Thu, May 18, 2006 at 02:36:05AM EDT, Stano Sitar wrote: cga2000 napsal(a): The functionalities I had in mind would probably do something like this: 1. Assist text entry by letting you define tab stops, 2. Let you select a column of text and justify it, 3. Provide some means

Re: Tables.

2006-05-18 Thread cga2000
On Thu, May 18, 2006 at 08:23:00AM EDT, Benji Fisher wrote: On Wed, May 17, 2006 at 07:50:08PM -0700, Suresh Govindachar wrote: cga2000 wrote: But I was not thinking of these tab stops.. more in the line of typewriter stuff, I guess. Creating an imap involving

Re: Tables.

2006-05-19 Thread cga2000
On Fri, May 19, 2006 at 08:22:40AM EDT, Benji Fisher wrote: On Thu, May 18, 2006 at 10:08:53PM -0400, cga2000 wrote: I was wondering if another approach such as using a markup language that supports tables might not be preferable in the long run. What I mean by this is that it might

Re: Tables.

2006-05-20 Thread cga2000
On Fri, May 19, 2006 at 11:35:09PM EDT, Gary Johnson wrote: On 2006-05-19, cga2000 [EMAIL PROTECTED] wrote: On Fri, May 19, 2006 at 08:22:40AM EDT, Benji Fisher wrote: On Thu, May 18, 2006 at 10:08:53PM -0400, cga2000 wrote: I was wondering if another approach such as using a markup

Re: Tables.

2006-05-22 Thread cga2000
On Sat, May 20, 2006 at 04:08:01PM EDT, Thomas Adam wrote: --- Hari Krishna Dara [EMAIL PROTECTED] wrote: It is a text browser like lynx, but does a better job of formatting tables and others. From my man page, the homepage should be: Of which I find 'Elinks' to do an even better job. As

Re: Tables.

2006-05-22 Thread cga2000
On Sat, May 20, 2006 at 12:09:20AM EDT, Hari Krishna Dara wrote: [..] If you have links installed, you can do this easily with the -dump option. Here is a quick idea: function! HtmlToTxt() write let filename = expand('%') pedit %.txt wincmd p setl bufhidden=delete

non-gui version - changing fonts on the fly

2006-05-29 Thread cga2000
Just a confirmation: I am under the impression that with vim running in an xterm, you are limited to using whatever fonts have been defined as X resources and using a mouse Ctrl-left-click if you want to change to a different font on the fly. Naturally the font change would affect the entire

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 02:47:48PM EDT, Yegappan Lakshmanan wrote: Hi, On 6/4/06, cga2000 [EMAIL PROTECTED] wrote: Is there any way the tilde lines that represent empty lines at the end of the buffer can be changed to something else or removed altogether? AFAIK, you cannot remove/hide

Re: :ha printouts - fontsize

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 02:50:02PM EDT, Yegappan Lakshmanan wrote: Hi, On 6/4/06, cga2000 [EMAIL PROTECTED] wrote: I occasionally need a quick printout of what I am currently editing and use the :ha command. I was wondering whether there was any way I could switch to a different printer

Re: :ha printouts - fontsize

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 02:57:56PM EDT, A.J.Mechelynck wrote: cga2000 wrote: I occasionally need a quick printout of what I am currently editing and use the :ha command. I was wondering whether there was any way I could switch to a different printer font or choose a smaller font size. I

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 08:50:18PM EDT, A.J.Mechelynck wrote: cga2000 wrote: On Sun, Jun 04, 2006 at 03:11:10PM EDT, A.J.Mechelynck wrote: [...] Note that the same highlight group also governs the @ or @@@ for a partial line at the end of a window, and possibly other things too

Re: :ha printouts - fontsize

2006-06-06 Thread cga2000
On Mon, Jun 05, 2006 at 03:11:08AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] Well, here I am a comparatively new user of SuSE Linux, and I found it remarkably easy to compile Vim 7 on it. If you decide you want to try your hand at it, I was contemplating switching to gentoo at some

Re: Upgrading to Vim 7.0 in Debian (was Re: :ha printouts - fontsize)

2006-06-07 Thread cga2000
On Wed, Jun 07, 2006 at 10:20:56AM EDT, William O'Higgins Witteman wrote: On Tue, Jun 06, 2006 at 09:51:48PM -0400, cga2000 wrote: I will assume that you, as a relatively new Debian user, are running stable (sarge). Yes. But the main reason is that I am a new Debian user on a laptop

Re: display tweaks - tilde lines, statusline..

2006-06-07 Thread cga2000
On Mon, Jun 05, 2006 at 08:27:17AM EDT, James Vega wrote: On Mon, Jun 05, 2006 at 01:09:41AM -0400, cga2000 wrote: I think I should stick these doubtful customizations of mine in some separate file rather than modifying individual colorschemes. I've just tested: :set FoldColumn=2

Problem with leader (backslash)

2006-07-04 Thread cga2000
I have the vimspell plugin installed and I am able to use the ':' commands but the \.. shorcuts are not working the way I expected: If I type \sA to start autospell mode for instance I get: . a beep for the backslash . a switch to insert mode for the s . an inserted capital A I checked via a:

Other European languages on a US keyboard

2006-07-21 Thread cga2000
I sometimes need to write text in other languages such as French, Spanish and occasionally German or Italian. I would like to do this in Vim. Unfortunately I only have a US keyboard. Using Ctrl-K to enter the various digraphs becomes somewhat cumbersome for anything larger than a short

Re: Other European languages on a US keyboard

2006-07-22 Thread cga2000
On Fri, Jul 21, 2006 at 03:19:25PM EDT, A.J.Mechelynck wrote: cga2000 wrote: I sometimes need to write text in other languages such as French, Spanish and occasionally German or Italian. I would like to do this in Vim. Unfortunately I only have a US keyboard. [..] I. Since you've

Re: Other European languages on a US keyboard

2006-07-22 Thread cga2000
On Fri, Jul 21, 2006 at 05:19:33PM EDT, Yakov Lerner wrote: On 7/21/06, cga2000 [EMAIL PROTECTED] wrote: [..] I think the easiest apporach is to craete mappings. You could use ctrl-(a-z), ctrl-shift(a-z), ctrl-alt-(a-z), then f1-f12 + ctrl/alt/del combinations. Thanks, but not for me.. I

Re: Other European languages on a US keyboard

2006-07-22 Thread cga2000
On Fri, Jul 21, 2006 at 02:50:46PM EDT, Gene Kwiecinski wrote: Unfortunately I am only able to type the US keyboard, so remapping the keyboard might be a better solution than entering digraphs in the long run but will not be painless.. And since I do not do this on a regular basis, I am

Re: Other European languages on a US keyboard

2006-07-23 Thread cga2000
On Sat, Jul 22, 2006 at 04:40:45PM EDT, A.J.Mechelynck wrote: cga2000 wrote: On Fri, Jul 21, 2006 at 03:19:25PM EDT, A.J.Mechelynck wrote: [...] Only minor glitch seems to be that text doesn't wrap when in INSERT (lang) mode.. haven't figured out why yet.. so I just escape out of insert mode

Re: Other European languages on a US keyboard

2006-07-24 Thread cga2000
On Mon, Jul 24, 2006 at 03:36:54AM EDT, Matthew Winn wrote: On Sun, Jul 23, 2006 at 06:41:09PM -0400, cga2000 wrote: Avoid words such as coeur.. boeuf.. etc. Rather amazing that the French who are so picky about anything that concerns their language never came up with a codepage

Re: Other European languages on a US keyboard

2006-07-24 Thread cga2000
On Mon, Jul 24, 2006 at 10:50:33AM EDT, Gene Kwiecinski wrote: Rare enough .. but besides oeuf is also occurs in such very common words as voeu [wish] and coeur [heart] and it really bothers me when I see them incorrectly spelled in web pages for instance. I spot it and after that I tend to

Re: Other European languages on a US keyboard

2006-07-24 Thread cga2000
On Mon, Jul 24, 2006 at 09:02:34AM EDT, Russell Bateman wrote: As you say, warning: off-topic post. Read at your own risk. .. don't see this as OT.. Being lazy I skipped the .. in Vim in the subject.. This discussion underlines all the more strongly why I don't attempt to produce final

Re: Other European languages on a US keyboard

2006-07-24 Thread cga2000
On Mon, Jul 24, 2006 at 08:37:47AM EDT, A.J.Mechelynck wrote: Warning: off-topic post. Read at your own risk. [..] Before computers, I used a French typewriter keyboard (AZERTY type). Nowadays I use a Belgian computer keyboard (also AZERTY but with special characters arranged differently).

Re: Other European languages on a US keyboard

2006-07-24 Thread cga2000
On Mon, Jul 24, 2006 at 12:05:02PM EDT, Charles E Campbell Jr wrote: cga2000 wrote: I sometimes need to write text in other languages such as French, Spanish and occasionally German or Italian. ..snip.. I would like to do this in Vim. Unfortunately I only have a US keyboard

Re: Other European languages on a US keyboard

2006-07-24 Thread cga2000
On Mon, Jul 24, 2006 at 08:29:10PM EDT, A.J.Mechelynck wrote: cga2000 wrote: On Mon, Jul 24, 2006 at 05:59:42PM EDT, Christian Ebert wrote: * A.J.Mechelynck on Saturday, July 22, 2006 at 22:40:45 +0200: The French oe (o, e-dans-l'o) is not defined in the Latin1 encoding, neither in capitals

Re: Other European languages on a US keyboard [OT]

2006-07-25 Thread cga2000
On Tue, Jul 25, 2006 at 10:27:58AM EDT, Russell Bateman wrote: [more way off topic comments] [...] Phonemes are (very) roughly equivalent to syllables and exist at the oral or phonetic level. French has the peculiarity, more than most other Western languages in my observation, of its end

Re: Other European languages on a US keyboard

2006-07-25 Thread cga2000
On Tue, Jul 25, 2006 at 03:09:29AM EDT, A.J.Mechelynck wrote: [..] and it can change fonts on-the-fly (change the font from Courier to Lucida to whatever, only through Vim keyboard commands). I would never want do that.. but just out of curiosity.. why would that not be possible in an

Re: Visual select / paste behaviour

2006-07-28 Thread cga2000
On Fri, Jul 28, 2006 at 09:48:21AM EDT, Jürgen Krämer wrote: [Resending this because I noticed that the original mail had been encoded with base64 by either my mail client or a server on the way to the mailing list.] Hi, Roel Vanhout wrote: Take the following example: file

Re: ESC key is too far away.

2006-08-02 Thread cga2000
On Wed, Aug 02, 2006 at 07:09:24PM EDT, Brian Dorsey wrote: On 8/2/06, cga2000 [EMAIL PROTECTED] wrote: On Wed, Aug 02, 2006 at 05:20:05PM EDT, Brian Dorsey wrote: I think that's the one I downloaded once. Only problem I have with it is that when you only bring up Windows occasionally each

Re: cterm256?

2006-08-04 Thread cga2000
On Fri, Aug 04, 2006 at 09:12:46AM EDT, Mikolaj Machowski wrote: Hello, Since Konsole in KDE 3.5.4 supports 256 colors it could be nice if Vim could use them. Is any way to convince Vim to use guibg/guifg from syntax files in console? If I understand correctly one problem is to map the 256

Re: fonts for gui menu (gtk)

2006-08-05 Thread cga2000
On Sat, Aug 05, 2006 at 05:53:56AM EDT, Andrei A. Voropaev wrote: Hi! Can anyone explain me how the font for menu in GUI is selected? I have 3 computers with the same set of fonts and the same configuration for fonconfig, the same version of gvim (different GTK though) and on all 3 machines

Re: fonts for gui menu (gtk)

2006-08-05 Thread cga2000
On Sat, Aug 05, 2006 at 12:11:04PM EDT, Andrei A. Voropaev wrote: On Sat, Aug 05, 2006 at 08:47:42AM -0400, cga2000 wrote: On Sat, Aug 05, 2006 at 05:53:56AM EDT, Andrei A. Voropaev wrote: Hi! Can anyone explain me how the font for menu in GUI is selected? I have 3 computers

Re: Show/Hide Split Windows

2006-08-10 Thread cga2000
On Thu, Aug 10, 2006 at 02:42:57PM EDT, Rodolfo Borges wrote: On 8/10/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Type ctrl-w o to toggle between maximizing one window and restoring to all. By maximizing, I mean that the current window will take over the entire display, not leaving

Re: Show/Hide Split Windows

2006-08-10 Thread cga2000
On Thu, Aug 10, 2006 at 03:28:22PM EDT, Charles E Campbell Jr wrote: cga2000 wrote: On Thu, Aug 10, 2006 at 02:42:57PM EDT, Rodolfo Borges wrote: On 8/10/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Type ctrl-w o to toggle between maximizing one window and restoring to all

Re: Color change of :set cul or ctrl-V

2006-08-15 Thread cga2000
On Fri, Aug 11, 2006 at 10:42:31AM EDT, striker wrote: I am using colorscheme vo_dark. When I :set cul or use visual highlighting, the color for the highlight is light gray and makes the highlighted text very difficult to see. The first few lines are: let g:colors_name=VO Dark hi

Re: Color change of :set cul or ctrl-V

2006-08-15 Thread cga2000
On Tue, Aug 15, 2006 at 08:49:51PM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] What's cul..? It's an option which is new in version 7. In version 7 Vim, :help cul, or, more properly, :help 'cul', shows the help for the 'cursorline' option. There is also a 'cursorcolumn' (aka

Re: Paragraph formatting options

2006-08-18 Thread cga2000
On Fri, Aug 18, 2006 at 02:12:19PM EDT, Alan G Isaac wrote: Try this: set fo+=w and then leave no white space after your outdented header. Then you can gwap to your hearts content. Not quite what you asked for ... I realize that this is not what you asked for

Re: Paragraph formatting options

2006-08-18 Thread cga2000
On Fri, Aug 18, 2006 at 08:12:01PM EDT, Alan G Isaac wrote: On Fri, 18 Aug 2006, apparently wrote: but what is this gwap (or :gwap ..) command? Seems it is not recognized by Vim 6.3 :h gw guess what .. I was mistyping it .. .. something like gwa- I guess .. didn't realize it was

Re: Paragraph formatting options

2006-08-18 Thread cga2000
On Sat, Aug 19, 2006 at 12:15:10AM EDT, Gary Johnson wrote: On 2006-08-18, cga2000 [EMAIL PROTECTED] wrote: [help creating numbered and bulleted lists in Vim] For numbered lists, set fo+=n For bulleted lists using '-', set com+=fb:- or '*', set com+=fb

Re: Paragraph formatting options

2006-08-18 Thread cga2000
On Sat, Aug 19, 2006 at 12:22:56AM EDT, Gary Johnson wrote: On 2006-08-18, Gary Johnson [EMAIL PROTECTED] wrote: For bulleted lists using '-', set com+=fb:- or '*', set com+=fb:* but those should already be part of the default 'comments' option unless you have

Re: gvim fullscreen mode on Gnome ?

2006-08-19 Thread cga2000
On Sat, Aug 19, 2006 at 01:01:37PM EDT, A.J.Mechelynck wrote: KLEIN Stéphane wrote: 2006/8/19, A.J.Mechelynck [EMAIL PROTECTED]: KLEIN Stéphane wrote: Hi, is there gvim full screen mode feature on GNU/Linux Gnome... ? I don't think there is a full-screen mode as such, but on any

Re: Email Text Formatter Plugin

2006-08-21 Thread cga2000
On Mon, Aug 21, 2006 at 10:08:50PM EDT, Pete Johns wrote: On Mon, 2006-08-21 at 20:54:21 -0500, Tom Purl sent: I'm looking for a simple function that will reformat a selected block of text for e-mail messages (80 columns long, preserving characters, etc). Vim Cream can do this very well, but

Re: Email Text Formatter Plugin

2006-08-21 Thread cga2000
On Mon, Aug 21, 2006 at 11:55:54PM EDT, Pete Johns wrote: On Mon, 2006-08-21 at 23:47:56 -0400, cga2000 sent: Someone on the list recently suggested I use gqip to reflow paragraphs and I was going to suggest that. Much to my delight, I later found that it also preserved the characters in e

Re: Paragraph formatting options

2006-08-24 Thread cga2000
On Sat, Aug 19, 2006 at 01:32:33AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] This is weird .. I'm sure I replied to this and yet there's no trace of my reply anywhere. I'll probably use the dot '.' .. hope it doesn't clash with anything.. Or maybe there's a :digraph that would look

Re: Paragraph formatting options

2006-08-25 Thread cga2000
On Sat, Aug 19, 2006 at 01:45:32AM EDT, Gary Johnson wrote: On 2006-08-19, cga2000 [EMAIL PROTECTED] wrote: [..] I'm three hours behind/ahead of you (EST) .. so it's bedtime for me .. It's getting late here, too, but I just got a new Windows PC and two new flat-panel monitors that I

Re: Paragraph formatting options

2006-08-25 Thread cga2000
On Thu, Aug 24, 2006 at 10:40:40PM EDT, A.J.Mechelynck wrote: cga2000 wrote: On Sat, Aug 19, 2006 at 01:32:33AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] This is weird .. I'm sure I replied to this and yet there's no trace of my reply anywhere. I'll probably use the dot

Re: Paragraph formatting options

2006-08-25 Thread cga2000
On Fri, Aug 25, 2006 at 07:02:15AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] OK. I had tested both data entry syntaxes -- just Ctrl-K or Ctrl-V followed by Ctrl-K. I did that with the middle dot and I was getting an invalid character error message .. But then I was unsure how you

Re: Paragraph formatting options

2006-08-27 Thread cga2000
On Sat, Aug 26, 2006 at 05:09:35AM EDT, Gary Johnson wrote: On 2006-08-24, cga2000 [EMAIL PROTECTED] wrote: On Sat, Aug 19, 2006 at 01:45:32AM EDT, Gary Johnson wrote: On 2006-08-19, cga2000 [EMAIL PROTECTED] wrote: [..] Each Windows machine, on the other hand, is its own little

Re: Paragraph formatting options

2006-08-27 Thread cga2000
On Sun, Aug 27, 2006 at 02:37:54PM EDT, Gary Johnson wrote: On 2006-08-27, cga2000 [EMAIL PROTECTED] wrote: [..] Is there a way I can list current keyboard mappings? You can get a list of user-defined mappings by executing :map and a list of the default bindings here

Re: The Vim Outliner: \n does not work

2006-08-28 Thread cga2000
On Sun, Aug 27, 2006 at 10:46:01PM EDT, Meino Christian Cramer wrote: [...] My question: When using the \x (x := [1-9at]) commands from above, they do simply nothing. I check with :map wheter there is anoter maplocalleader defined but it ios not. Furthermore, the commands are listed.

Re: Paragraph formatting options

2006-08-28 Thread cga2000
On Mon, Aug 28, 2006 at 10:15:00AM EDT, Mikolaj Machowski wrote: Dnia sobota, 19 sierpnia 2006 05:36, cga2000 napisa?: Is there any way I can tell Vim that when line 1 starts with a number followed by a dot '.' .. the following lines should be indented so that all the text is aligned

Re: first character cutted when v,j,x

2006-09-30 Thread cga2000
On Sat, Sep 30, 2006 at 11:11:02AM EDT, Eddy Zhao wrote: Hello all, I find a behaviour difference between windows gvim linux gvim. For text like below line 1 line 2 line 3 Following the sequence below - move focus to first line first character - v - j - j - x On windows gvim,

Re: first character cutted when v,j,x

2006-09-30 Thread cga2000
On Sat, Sep 30, 2006 at 06:03:28PM EDT, Dasn wrote: [..] How to make linux gvim behave like windows vim (l not cutted)? Take a look at your 'selection', it should be 'exclusive' on your windows platform. For more info: :h :behave :h 'selection' Could you explain further? After

Re: vim backspace

2006-10-01 Thread cga2000
On Sat, Sep 30, 2006 at 03:25:08PM EDT, samitj wrote: [..] 2) I modified my .vimrc file with some color settings. However, now I just get a blank screen with my xterm color covering the whole screen - cant see any text. HOw do I fix this? I find that rather than making extensive changes to

Re: first character cutted when v,j,x

2006-10-01 Thread cga2000
On Sat, Sep 30, 2006 at 08:35:04PM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] What you highlighted includes the cursor Misuse of v was the issue and explains why Vim thus behaves. Since v is per character visual mode .. vjj does not make much sense in the first place .. using

Re: vim backspace

2006-10-01 Thread cga2000
On Sun, Oct 01, 2006 at 08:34:50AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] There are a number of colorschemes in $VIMRUNTIME/colors/ ; I'm adding my own rather simple one (attached) as an additional source of inspiration. To invoke a colorscheme, use the :colorscheme command

Re: first character cutted when v,j,x

2006-10-01 Thread cga2000
On Sun, Oct 01, 2006 at 09:33:37AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [...] .. sounds fishy .. in a cell terminal how could a character be between characters.. except by being invisible? :-) [...] Windows, even more than modern Unixes (those with X11), is GUI-oriented

Re: vim backspace

2006-10-01 Thread cga2000
On Sun, Oct 01, 2006 at 12:29:24PM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] I suppose it's explained under :help :highlight and below more than anywhere else (sections 12 and 13 of syntax.txt -- it's rather lengthy); but it's mainly something you have to learn by doing. I think I

Re: vim backspace

2006-10-02 Thread cga2000
On Mon, Oct 02, 2006 at 04:07:10PM EDT, Charles E Campbell Jr wrote: cga2000 wrote: I don't suppose there's any way I can save the current interactively- modified colorscheme to a file? Perhaps http://vim.sourceforge.net/scripts/script.php?script_id=1081 will be helpful for what you

Re: How to directly enter visual mode from insert mode ?

2006-10-03 Thread cga2000
On Tue, Oct 03, 2006 at 12:05:30PM EDT, Ivan Vecerina wrote: This is a problem I am occasionally stumbling on: as I am done typing some new next in insert mode, I want to highlight and erase some text ahead of the insert point. Best case, I can type: ESClv But if I am at the end of the

Re: How to directly enter visual mode from insert mode ?

2006-10-03 Thread cga2000
On Tue, Oct 03, 2006 at 05:55:31PM EDT, Dasn wrote: On Tue, Oct 03, 2006 at 06:05:30PM +0200, Ivan Vecerina wrote: This is a problem I am occasionally stumbling on: as I am done typing some new next in insert mode, I want to highlight and erase some text ahead of the insert point. Best

Re: hlsearch on dark back ground

2007-02-21 Thread cga2000
On Wed, Feb 21, 2007 at 05:25:41PM EST, Kamaraju S Kusumanchi wrote: A.J.Mechelynck wrote: Most console terminals have only 8 background colours, 16 foreground colours. Some have 16 of both. Non-bright yellow (including every background yellow) is usually shown as brown. Whether you

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 for

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.

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 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? On Sun

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 several attacks one can

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 century I

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 see

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 want to get

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: pulling text to the right?

2007-02-27 Thread cga2000
On Mon, Feb 26, 2007 at 07:30:09PM EST, 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, COL3INT, I'd like to get COL3 aligned to COL1 and COL2, but to do

Re: command to indent file

2007-03-09 Thread cga2000
On Sat, Mar 10, 2007 at 01:43:50AM EST, Michael Wookey wrote: In the path I often used command to indent my php file or C# file: gg ... G mean go to the top of file and indent code until the end of file. But Unfortunately I forgot. Could anyone tell me what I forgot? :help = For

Re: Consistently exit message display with 'q'?

2007-03-20 Thread cga2000
On Mon, Mar 19, 2007 at 11:50:12PM EST, A.J.Mechelynck wrote: [..] more shows the colors with no problem. In general, I use: - less - when there is a long listing which I want to be able to scroll back and forth, or to search with a / command - not when there are interspersed

Re: Customizing vim: How to change the char before commands

2007-03-21 Thread cga2000
On Wed, Mar 21, 2007 at 06:04:46PM EST, A.J.Mechelynck wrote: Tim Chase wrote: [...] Just my $0.02 adjusted for inflation, minus taxes, social security, and medicare. -tim LOL. Must be at least $20 after adjustment, no? Isn't the other way 'round..? With 0.02 cents left for the

Re: Customizing vim: How to change the char before commands

2007-03-21 Thread cga2000
On Wed, Mar 21, 2007 at 07:16:58PM EST, A.J.Mechelynck wrote: cga2000 wrote: On Wed, Mar 21, 2007 at 06:04:46PM EST, A.J.Mechelynck wrote: Tim Chase wrote: [...] Just my $0.02 adjusted for inflation, minus taxes, social security, and medicare. -tim LOL. Must be at least $20 after

Re: Question about paragraphs: make lines containing only whitespace characters a paragraph separator

2007-04-03 Thread cga2000
On Tue, Apr 03, 2007 at 02:00:59PM EDT, Thomas wrote: Hi, This is something that I found annoying quite a time now and I'm pretty sure there is a simple solution for this problem. Paragraphs are defined as: A paragraph begins after each empty line, and also at each of a set of

Re: VIM Delete All Except

2007-04-05 Thread cga2000
On Thu, Apr 05, 2007 at 10:10:03AM EDT, jas01 wrote: I have a huge file where I need to delete all lines except for a few I need. I'm trying to do this in a single command. I know that: :v/Text/d will delete all lines except for ones containing 'Text.' I have no idea how to put

Re: wish: collaboration of N vim instances editing same file

2007-04-19 Thread cga2000
On Thu, Apr 19, 2007 at 03:09:38PM EDT, Gary Johnson wrote: On 2007-04-11, Yakov Lerner [EMAIL PROTECTED] wrote: Hello Bram, Is it possible to add this item to the vim voting list ?: collaboration of N vim instances editing same file -- Ability of N instances of vim to absorb,

Re: wish: collaboration of N vim instances editing same file

2007-04-20 Thread cga2000
On Fri, Apr 20, 2007 at 03:55:33PM EDT, Andrew Maykov wrote: On 4/20/07, cga2000 [EMAIL PROTECTED] wrote: collaboration of N vim instances editing same file [there was some text] See the screen(1) man page and search for multi. Are you (Is he) talking about several users concurrently

How can I get rid of this popup?

2007-04-20 Thread cga2000
I recently installed vim 7.x and I'm very impressed with all the new features, especially the new tab stuff .. On the other hand, I'm sorry to say that there is _ONE_ feature that's literally driving me _NUTS_. If I hit the CTRL-P combo by accident .. p is very close to [ .. and I use CTRL-[ a

Re: wish: collaboration of N vim instances editing same file

2007-04-19 Thread cga2000
On Thu, Apr 19, 2007 at 03:09:38PM EDT, Gary Johnson wrote: On 2007-04-11, Yakov Lerner [EMAIL PROTECTED] wrote: Hello Bram, Is it possible to add this item to the vim voting list ?: collaboration of N vim instances editing same file -- Ability of N instances of vim to absorb,