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: Open each file in newtab (without using -p)

2006-08-25 Thread A.J.Mechelynck
Groleo Marius wrote: On 8/24/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: 1. Do you have the required features compiled-in? :version The output should include +autocmd +eval +syntax If it doesn't, install a Vim version which has them. I recommend Big or Huge features. vim --version

Re: Open each file in newtab (without using -p)

2006-08-25 Thread Groleo Marius
On 8/25/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Groleo Marius wrote: On 8/24/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: 1. Do you have the required features compiled-in? . I think it is may be consequence of the fact that autocommands (except when nested is used) are not triggered

Re: Paragraph formatting options

2006-08-25 Thread A.J.Mechelynck
cga2000 wrote: 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: [...] If you're using Latin1 or UTF-8, you may try: - Currency sign (decimal 164, ?, ^KCu) - Middle dot (decimal 183, ·, ^K.M) I did

Re: Paragraph formatting options

2006-08-25 Thread A.J.Mechelynck
cga2000 wrote: [...] Well .. I have installed a plugin that causes Tab to do completion in insert mode (instead of entering a tab ..) .. so I have to do a Ctrl-V Tab .. so I don't use tabs very often these days. I probably need to get rid of the plugin but for the life of me, I can't rememeber

vim doesn't create backups of files edited in /tmp

2006-08-25 Thread Alexander Skwar
Hello! In my ~/.vimrc, I've got, among other settings, set backup. Because of this, vim creates backup files in the current directory. That's good! But when I edit a file which is in /tmp, there's no backup file left behind. Why's that so and how do I change this? I'm using vim 7.0 on Gentoo

Re: vim doesn't create backups of files edited in /tmp

2006-08-25 Thread Jürgen Krämer
Hi, Alexander Skwar wrote: In my ~/.vimrc, I've got, among other settings, set backup. Because of this, vim creates backup files in the current directory. That's good! But when I edit a file which is in /tmp, there's no backup file left behind. Why's that so and how do I change this?

Re: vim doesn't create backups of files edited in /tmp

2006-08-25 Thread A.J.Mechelynck
Alexander Skwar wrote: Hello! In my ~/.vimrc, I've got, among other settings, set backup. Because of this, vim creates backup files in the current directory. That's good! But when I edit a file which is in /tmp, there's no backup file left behind. Why's that so and how do I change this? I'm

Re: backup directory

2006-08-25 Thread Robert Hicks
Robert Hicks wrote: I have the following in my .vimrc: = Files/Backups = set backup set backupdir=/home/devsp7/.vim/backup set dir=/home/devsp7/.vim/temp set patchmode=.prev Config for savevers.vim let savevers_types=* let savevers_max=10 let savevers_purge=1 let

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: backup directory

2006-08-25 Thread Robert Hicks
Robert Hicks wrote: I have the following in my .vimrc: = Files/Backups = set backup set backupdir=/home/devsp7/.vim/backup set dir=/home/devsp7/.vim/temp set patchmode=.prev Config for savevers.vim let savevers_types=* let savevers_max=10 let savevers_purge=1 let

Re: Open multiple files (when there are spaces in the pathname)

2006-08-25 Thread Bob Hiestand
On 8/24/06, Bulgrien, Kevin [EMAIL PROTECTED] wrote: At various times it is useful to launch vim with a file list that has been generated by a command so that buffers and macros written on the fly are able to be used on a number of files. A trivial, though questionably useful, example that

transform word1...wordn to Word1...Wordn

2006-08-25 Thread Richard Emberson
I have a bunch of expressions of the form: word1 word2 ... wordn lower case words with spaces between them enclosed in angle brackets. (the ... means 0 or more). I would like a macro (place cursor within s and execute macro) that converts the above to: Word1Word2...Wordn Is the

Re: transform word1...wordn to Word1...Wordn

2006-08-25 Thread Tim Chase
word1 word2 ... wordn lower case words with spaces between them enclosed in angle brackets. (the ... means 0 or more). I would like a macro (place cursor within s and execute macro) that converts the above to: Word1Word2...Wordn Is the only way to do this to write a function?

Looking for the difference of two files, linewise

2006-08-25 Thread William O'Higgins Witteman
I have two files, one very long and the other much shorter. Every line in the short file is also in the long file. What I need is a file with every line in the long file *not* in the short file. Is there an easy way to have vim provide me with my desired complementary file? Thanks. -- yours,

Re: Open each file in newtab (without using -p)

2006-08-25 Thread Groleo Marius
On 8/25/06, Groleo Marius [EMAIL PROTECTED] wrote: On 8/25/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Groleo Marius wrote: On 8/24/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: 1. Do you have the required features compiled-in? . I think it is may be consequence of the fact that

Re: Looking for the difference of two files, linewise

2006-08-25 Thread Mike
On Fri, 25 Aug 2006, William O'Higgins Witteman might have said: I have two files, one very long and the other much shorter. Every line in the short file is also in the long file. What I need is a file with every line in the long file *not* in the short file. Is there an easy way to have

Re: Looking for the difference of two files, linewise

2006-08-25 Thread Tim Chase
I have two files, one very long and the other much shorter. Every line in the short file is also in the long file. What I need is a file with every line in the long file *not* in the short file. Is there an easy way to have vim provide me with my desired complementary file? If you happen to

(t)timeout

2006-08-25 Thread Max Dyckhoff
Recently something rather annoying has started happening; key codes have started occasionally timing, despite my express desire for them to never time out. notimeout and nottimeout are both set. If I move to a place in the file and type ^W quickly and then pause before typing ], then it will

Re: window split from tag?

2006-08-25 Thread Lev Lvovsky
On Aug 24, 2006, at 12:49 PM, Charles E Campbell Jr wrote: Does this only work horizontally? Seems that there is limited ctrl-w vertical functionality. :vert sta word does a vertical split. You may define a mapping to do that in your .vimrc if you wish. ahh, perfect! the vert was

reopen?

2006-08-25 Thread Lev Lvovsky
assuming a file has been changed underneath vim, and I know about it, how can I reopen that file replacing the current file's buffer contents? thank you! -lev

RE: reopen?

2006-08-25 Thread Max Dyckhoff
:e reloads the current file. Max -Original Message- From: Lev Lvovsky [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 11:45 AM To: vim@vim.org Subject: reopen? assuming a file has been changed underneath vim, and I know about it, how can I reopen that file replacing the

Re: reopen?

2006-08-25 Thread Tim Chase
assuming a file has been changed underneath vim, and I know about it, how can I reopen that file replacing the current file's buffer contents? I find Vim's usually pretty smart (though that might be gvim capturing an ActivateWindow message, and console-vim might not have the same smarts)

Re: (t)timeout

2006-08-25 Thread A.J.Mechelynck
Max Dyckhoff wrote: Recently something rather annoying has started happening; key codes have started occasionally timing, despite my express desire for them to never time out. notimeout and nottimeout are both set. If I move to a place in the file and type ^W quickly and then pause before

RE: (t)timeout

2006-08-25 Thread Max Dyckhoff
I'm sorry, perhaps I wasn't being clear enough. I don't want a timeout to ever occur for a mapping. timeout and ttimeout are both set to no (or whatever the correct syntax for describing such options is). Here are two use cases. Again, I apologise for the clumsy syntax. 1) * Move cursor * Type

What's the way to open a file relative to the current file?

2006-08-25 Thread Alder Green
E.g. we're editing a file in ~/foo, say ~/foo/baz, and we want to edit ~/foo/bar, without changing pwd which might be ~ or whatever. So we type: :rele bar And ~/foo/bar would be opened. Only problem is :rele doesn't seem to exist. One solution proposed on [EMAIL PROTECTED] was to :set

Re: (t)timeout

2006-08-25 Thread A.J.Mechelynck
Max Dyckhoff wrote: I'm sorry, perhaps I wasn't being clear enough. I don't want a timeout to ever occur for a mapping. timeout and ttimeout are both set to no (or whatever the correct syntax for describing such options is). Here are two use cases. Again, I apologise for the clumsy syntax. 1)

RE: (t)timeout

2006-08-25 Thread Max Dyckhoff
generate_tags is set to 1, although I'm not entirely sure why that function call is guarded by that check, given that SetTagDisplay doesn't do any tag generation! If I remove that au, the timeout does in fact stop happening. If I set generate_tags to 0, the timeout still happens. If I remove the

Re: Looking for the difference of two files, linewise

2006-08-25 Thread Kamaraju Kusumanchi
On Friday 25 August 2006 14:01, William O'Higgins Witteman wrote: I have two files, one very long and the other much shorter. Every line in the short file is also in the long file. What I need is a file with every line in the long file *not* in the short file. Is there an easy way to have

Re: (t)timeout

2006-08-25 Thread Gary Johnson
On 2006-08-25, Max Dyckhoff [EMAIL PROTECTED] wrote: From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 12:36 PM Max Dyckhoff wrote: Recently something rather annoying has started happening; key codes have started occasionally timing, despite my express

Re: Looking for the difference of two files, linewise

2006-08-25 Thread William O'Higgins Witteman
On Fri, Aug 25, 2006 at 04:47:07PM -0400, Kamaraju Kusumanchi wrote: On Friday 25 August 2006 14:01, William O'Higgins Witteman wrote: I have two files, one very long and the other much shorter. Every line in the short file is also in the long file. What I need is a file with every line in

Re: Looking for the difference of two files, linewise

2006-08-25 Thread Kamaraju Kusumanchi
On Friday 25 August 2006 14:04, Mike wrote: On Fri, 25 Aug 2006, William O'Higgins Witteman might have said: I have two files, one very long and the other much shorter. Every line in the short file is also in the long file. What I need is a file with every line in the long file *not* in

Re: (t)timeout

2006-08-25 Thread Bram Moolenaar
Gary Johnson wrote: On 2006-08-25, Max Dyckhoff [EMAIL PROTECTED] wrote: From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 12:36 PM Max Dyckhoff wrote: Recently something rather annoying has started happening; key codes have started occasionally

Re: What's the way to open a file relative to the current file?

2006-08-25 Thread Hari Krishna Dara
On Fri, 25 Aug 2006 at 10:50pm, Alder Green wrote: E.g. we're editing a file in ~/foo, say ~/foo/baz, and we want to edit ~/foo/bar, without changing pwd which might be ~ or whatever. So we type: :rele bar And ~/foo/bar would be opened. Only problem is :rele doesn't seem to exist. One

Using !command

2006-08-25 Thread Chris Sutcliffe
Is it possible to execute a Windows based app in vim without having a command box? When I type '!explorer' for example, I get a command box that executes explorer. I was wondering if I could have it execute explorer without the command box being displayed. Thanx! Chris -- Chris Sutcliffe

Re: Using !command

2006-08-25 Thread Bill McCarthy
On Fri 25-Aug-06 6:35pm -0600, Chris Sutcliffe wrote: Is it possible to execute a Windows based app in vim without having a command box? When I type '!explorer' for example, I get a command box that executes explorer. I was wondering if I could have it execute explorer without the command

expr returning path of sourced script?

2006-08-25 Thread sgp
On Windows gvim 7.0 I want to :set complete= to a file in the same folder of a syntax file c:\path\to\syntax\syn.vim c:\path\to\syntax\keywords.txt what expression can I use with :exe to achieve that? I tried adding exe set

Re: How to trigger a screen update from RealWaitForChar

2006-08-25 Thread A.J.Mechelynck
Brad Beveridge wrote: [...] Potential issues : [...] - I am not familiar with autoconf stuff, so this patch does not integrate with the make system of Vim, somebody probably needs to add it to config.in. There were too many diffs in the various files that I thought to check, and I didn't

Re: any git developper using gvimdiff ?

2006-08-25 Thread Christian MICHON
nice madcoding :) work in bash, but not tcsh. Thanks anyway: I learned something new from it On 8/21/06, Pierre Habouzit [EMAIL PROTECTED] wrote: Le lun 21 août 2006 17:31, Christian MICHON a écrit : which was the logical conclusion I also came too! Thanks for confirming :) I now proceed

Re: any git developper using gvimdiff ?

2006-08-25 Thread Stefano Zacchiroli
On Mon, Aug 21, 2006 at 04:07:21PM +0200, Christian MICHON wrote: I'm currently trying out git (linux scm) and I have not found yet how to perform a gvimdiff on a file locally modified with the latest commit. Maybe you can adapt this to your needs:

Re: any git developper using gvimdiff ?

2006-08-25 Thread Pierre Habouzit
Le ven 25 août 2006 17:38, Christian MICHON a écrit : nice madcoding :) work in bash, but not tcsh. I said *decent* shell :P Thanks anyway: I learned something new from it you're welcome. -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOO

Re: any git developper using gvimdiff ?

2006-08-25 Thread A.J.Mechelynck
Pierre Habouzit wrote: Le ven 25 août 2006 17:38, Christian MICHON a écrit : nice madcoding :) work in bash, but not tcsh. I said *decent* shell :P Thanks anyway: I learned something new from it you're welcome. Oh, so tcsh is an indecent shell then... :-Þ Best regards, Tony.

Re: ff fenc bin in modeline

2006-08-25 Thread MURAOKA Taro
2006/8/26, Bram Moolenaar [EMAIL PROTECTED]: Yasuhiro Matsumoto wrote: vim can't treat ff and fenc, bin option on modelines. We can specify 'fencs' for judging some encodings. But vim often mis-judge when opening a text file. If we can set 'fenc' on modeline, vim won't fail. I wrote a