Re: vim script can't create /tmp file

2012-12-11 Thread sinbad
On Tuesday, December 11, 2012 12:51:56 PM UTC+5:30, Gary Johnson wrote: On 2012-12-10, sinbad wrote: On Wednesday, December 5, 2012 10:51:05 PM UTC+5:30, Gary Johnson wrote: On 2012-12-05, Christian Brabandt wrote: Have you checked all your cronjobs and scripts, that you run?

Re: vim insert mode injection

2012-12-11 Thread Marcin Szamotulski
On 08:07 Tue 11 Dec , Christian Brabandt wrote: On Tue, December 11, 2012 01:21, Marcin Szamotulski wrote: On 16:23 Mon 10 Dec , ping wrote: I'm looking at a handy way to insert curr timestamp when writing, right in insert mode , e.g. in following texts I want it injected right

copy and replace with a slight modification a line several times

2012-12-11 Thread A Loumiotis
Hi, Starting with a file with two lines: var1_$x; var2$x-1 var3x; var4x==1 I would like to end up with the following seven line file: var1_1; var21-1 var1_2; var22-1 var1_3; var23-1 var3_a; var4_a==1 var3_b; var4_b==1 var3_c; var4_c==1 var3_d; var4_d==1 How could I automate this procedure? I

Re: New Plugin:ColorSchemePicker : Pick the VIM colorscheme that you are destined to be with.

2012-12-11 Thread sunus lee
On Sunday, November 25, 2012 11:53:03 PM UTC+8, Richard wrote: You might want to look at: http://www.vim.org/scripts/script.php?script_id=4240 https://github.com/megaannum/colorschemer It has some 700 color schemes (both for gui and cterm) and a color scheme reviewer which also allows

Re: vim script can't create /tmp file

2012-12-11 Thread Gary Johnson
On 2012-12-11, sinbad wrote: there are two possibilities here, first one of vim script is deleting the tmpfile, the other is some cron job might be deleting it. in the first case can i put a watch on the tmpfile created from with in vim. In the latter case, can i force vim to create the tmp

Re: vim script can't create /tmp file

2012-12-11 Thread Gary Johnson
On 2012-12-11, Gary Johnson wrote: On 2012-12-11, sinbad wrote: there are two possibilities here, first one of vim script is deleting the tmpfile, the other is some cron job might be deleting it. in the first case can i put a watch on the tmpfile created from with in vim. In the

restore

2012-12-11 Thread shawn wilson
if i haven't saved the session, is there a way to get vim to restore back to the way it was (before a system crash?) if not is there a setting to get it to autosave session info? -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are

Re: restore

2012-12-11 Thread Ben Fritz
On Tuesday, December 11, 2012 1:22:30 PM UTC-6, shawn wilson wrote: if i haven't saved the session, is there a way to get vim to restore back to the way it was (before a system crash?) No. At least, you can't recover the window/tab page/buffer layout. But, you can recover changes to the

RE: copy and replace with a slight modification a line several times

2012-12-11 Thread John Beckett
A Loumiotis wrote: Starting with a file with two lines: var1_$x; var2$x-1 var3x; var4x==1 I would like to end up with the following seven line file: var1_1; var21-1 var1_2; var22-1 var1_3; var23-1 var3_a; var4_a==1 var3_b; var4_b==1 var3_c; var4_c==1 var3_d; var4_d==1 How could I

Re: copy and replace with a slight modification a line several times

2012-12-11 Thread Ben Fritz
On Tuesday, December 11, 2012 7:33:48 AM UTC-6, A Loumiotis wrote: Hi, Starting with a file with two lines: var1_$x; var2$x-1 var3x; var4x==1 I would like to end up with the following seven line file: var1_1; var21-1 var1_2; var22-1 var1_3; var23-1 var3_a; var4_a==1 var3_b;

RE: copy and replace with a slight modification a line several times

2012-12-11 Thread John Beckett
Ben Fritz wrote: ... call setline(.,[line,repl1,repl2,repl3]) There is a problem with that because four lines will be inserted into the buffer, and those lines will OVERWRITE existing lines. That's why my script used 'setline()' to replace the first line, and 'put' to insert the extra lines.

Re: copy and replace with a slight modification a line several times

2012-12-11 Thread Ben Fritz
On Tuesday, December 11, 2012 6:55:30 PM UTC-6, JohnBeckett wrote: Ben Fritz wrote: ... call setline(.,[line,repl1,repl2,repl3]) There is a problem with that because four lines will be inserted into the buffer, and those lines will OVERWRITE existing lines. That's why my

Re: gvim incorrect window pos/sizes

2012-12-11 Thread Woody Wu
On 2012-12-11, Roland Puntaier roland.punta...@chello.at wrote: Hi I didn't follow you problem from the beginning, but scanning through this mail I thought to give you the heads up about Patch 7.3.717, which relates to font /window size. If your vim is before that (:version), then give

vim syntax highlighting: why the long underline ?

2012-12-11 Thread ramgorur
Hi, In my vim syntax highlighting, I am having a long underline under certain keywords. Please see the snapshot here -- http://i.stack.imgur.com/HufRs.png Thanks in advance. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are

Re: New Plugin:ColorSchemePicker : Pick the VIM colorscheme that you are destined to be with.

2012-12-11 Thread sunus lee
On Sunday, November 25, 2012 2:09:56 AM UTC+8, sunus lee wrote: Hi, I wrote a plugin called ColorSchemePicker, here is something about it: Power VIM Users like us have already wasted tons of time to choose our favorite colorschemes, and may still not be satisfied with the current