Re: Vim opens perl files slowly everytime

2013-05-20 Thread Tony Mechelynck
On 20/05/13 01:38, Jean-Marcel Belmont wrote: On Sunday, May 19, 2013 7:05:04 PM UTC-4, Tony Mechelynck wrote: On 20/05/13 00:22, Jean-Marcel Belmont wrote: Hello: Whenever I open a Perl file in vim with .pl file extension it takes many seconds for vim to open and when vim does

Errors in vim app on android

2013-05-20 Thread Eric Weir
I am still not getting the vim touch app for android to run without problems. One set of errors don't prevent vim touch from running, but they are puzzling and I suspect they are preventing spell check from working. Error detected while processing /storage/emulated/legacy/.vimrc line 39:

Re: Errors in vim app on android

2013-05-20 Thread Christian Brabandt
Hi Eric! On Mo, 20 Mai 2013, Eric Weir wrote: I am still not getting the vim touch app for android to run without problems. One set of errors don't prevent vim touch from running, but they are puzzling and I suspect they are preventing spell check from working. Error detected while

Re: Vim opens perl files slowly everytime

2013-05-20 Thread Christian Brabandt
Hi Jean-Marcel! On So, 19 Mai 2013, Jean-Marcel Belmont wrote: Hello: Whenever I open a Perl file in vim with .pl file extension it takes many seconds for vim to open and when vim does open I see the following message in the vim command line Please install scripts to ~/.vim/bin This

Re: Vim opens perl files slowly everytime

2013-05-20 Thread Jean-Marcel Belmont
Hello Christian: Many thanks for the suggestion, perlomni was the culprit for the slow startup time and message Please install scripts to ~/.vim/bin I have now went with the Perl support plugin from Fritz Mehner for Perl programming. Thank you, Jean-Marcel Belmont On Mon, May 20, 2013 at 7:33

filed to open file - invalid next size (normal)...

2013-05-20 Thread Aliaksandr Rahalevich
Cannot open file that previously was created with vim. Can anybody help me with further debugging? -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php ---

Re: filed to open file - invalid next size (normal)...

2013-05-20 Thread Christian Brabandt
Hi Aliaksandr! On Mo, 20 Mai 2013, Aliaksandr Rahalevich wrote: Cannot open file that previously was created with vim. Can anybody help me with further debugging? VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 20 2013 13:56:23) Included patches: 1-974 Big version with GTK2 GUI.

Re: Errors in vim app on android

2013-05-20 Thread Eric Weir
On May 20, 2013, at 7:28 AM, Christian Brabandt cbli...@256bit.org wrote: You are adding 2 files to the spellfile option. Since you used whitespace to add the second file, Vim thinks this is another option to turn on. :h 'spellfile' says this: , | It may also be a comma separated

Re: vim: format each long lines and insert just one break afterward

2013-05-20 Thread ping
this look much simpler, quick and works great. good to learn! On 05/19/2013 02:30 PM, Gary Johnson wrote: Putting those together with a visual-mode mapping yields this: :vnoremap ,bf :s/\(\s*\n\)\+/\r\r/CRgvgq still, just for a learning purpose, I'm curious about what's wrong with

Re: vim: format each long lines and insert just one break afterward

2013-05-20 Thread Gary Johnson
On 2013-05-20, ping wrote: this look much simpler, quick and works great. good to learn! On 05/19/2013 02:30 PM, Gary Johnson wrote: Putting those together with a visual-mode mapping yields this: :vnoremap ,bf :s/\(\s*\n\)\+/\r\r/CRgvgq still, just for a learning purpose, I'm

Re: vim: format each long lines and insert just one break afterward

2013-05-20 Thread ping
On 05/20/2013 01:03 PM, Gary Johnson wrote: The action of the first exec is to expand and execute its arguments, which in this case is a single argument, the string a:firstline . , . a:lastline . g/^/exec . normal! gqq Assuming for sake of a concrete example a firstline of 123 and a

Re: replace/change certain positions in line of text

2013-05-20 Thread meino . cramer
Gary Johnson garyj...@spocom.com [13-05-18 20:36]: On 2013-05-18, meino cramer wrote: Hi, is there a way to replace (for example) position 110-117 in each line of a text to (for example) to . ? I only found regular expressions handling the length of matches but not their position