Re: 'gq' not working as expected in Vim 7.3

2012-06-12 Thread Trey Sizemore
On Tue, Jun 12, 2012 at 1:05 AM, Christian Brabandt cbli...@256bit.org wrote: On Mon, June 11, 2012 22:33, Trey Sizemore wrote: Notice how it doesn't preface the wrapped lines with so that the e-mail response looks as it should.  It *did* used to do this, but not sure what might have changed

Re: 'gq' not working as expected in Vim 7.3

2012-06-12 Thread Trey Sizemore
On Tue, Jun 12, 2012 at 8:49 AM, Trey Sizemore hjsizem...@gmail.com wrote: On Tue, Jun 12, 2012 at 1:05 AM, Christian Brabandt cbli...@256bit.org wrote: On Mon, June 11, 2012 22:33, Trey Sizemore wrote: Notice how it doesn't preface the wrapped lines with so that the e-mail response looks

Re: 'gq' not working as expected in Vim 7.3

2012-06-12 Thread Trey Sizemore
On Tue, Jun 12, 2012 at 10:45 AM, Trey Sizemore hjsizem...@gmail.com wrote: On Tue, Jun 12, 2012 at 8:49 AM, Trey Sizemore hjsizem...@gmail.com wrote: On Tue, Jun 12, 2012 at 1:05 AM, Christian Brabandt cbli...@256bit.org wrote: On Mon, June 11, 2012 22:33, Trey Sizemore wrote: Notice how it

Re: 'gq' not working as expected in Vim 7.3

2012-06-12 Thread Bee
OK, I had recently added a line in my .vimrc (set paste) for pasting external contents into vim while maintaining formatting.  It worked great, but was hosing up the aforementioned pieces as editor for mutt.  Commenting out that line returned expected behavior. So for pasting things into vim

Re: 'gq' not working as expected in Vim 7.3

2012-06-12 Thread Ben Fritz
On Tuesday, June 12, 2012 9:56:24 AM UTC-5, Trey Sizemore wrote: OK, I had recently added a line in my .vimrc (set paste) for pasting external contents into vim while maintaining formatting. It worked great, but was hosing up the aforementioned pieces as editor for mutt. Commenting out

Re: 'gq' not working as expected in Vim 7.3

2012-06-12 Thread Trey Sizemore
On Tue, Jun 12, 2012 at 11:08 AM, Ben Fritz fritzophre...@gmail.com wrote: On Tuesday, June 12, 2012 9:56:24 AM UTC-5, Trey Sizemore wrote: OK, I had recently added a line in my .vimrc (set paste) for pasting external contents into vim while maintaining formatting.  It worked great, but was

Re: 'gq' not working as expected in Vim 7.3

2012-06-12 Thread Trey Sizemore
On Tue, Jun 12, 2012 at 11:02 AM, Bee beeyaw...@gmail.com wrote: OK, I had recently added a line in my .vimrc (set paste) for pasting external contents into vim while maintaining formatting.  It worked great, but was hosing up the aforementioned pieces as editor for mutt.  Commenting out that

Can I use conceal to hide ctrl-m in end of line?

2012-06-12 Thread skeept
Hi, I am working with someones elses file, some of them are readonly so I cannot really just read read of the annyoying ^M in the end of the line. Some lines have this charather others don't. Even if I do set ff=dos they are still changing. I was thinking that it should be possible to hide

Re: Can I use conceal to hide ctrl-m in end of line?

2012-06-12 Thread Jostein Berntsen
On 12.06.12,08:38, skeept wrote: Hi, I am working with someones elses file, some of them are readonly so I cannot really just read read of the annyoying ^M in the end of the line. Some lines have this charather others don't. Even if I do set ff=dos they are still changing. I was

Re: Can I use conceal to hide ctrl-m in end of line?

2012-06-12 Thread Florian Rehnisch
On Tue, Jun 12, 2012 at 08:38:34AM -0700, skeept wrote: I am working with someones elses file, some of them are readonly so I cannot really just read read +of the annyoying ^M in the end of the line.

Re: Can I use conceal to hide ctrl-m in end of line?

2012-06-12 Thread Ben Fritz
On Tuesday, June 12, 2012 10:38:34 AM UTC-5, skeept wrote: Hi, I am working with someones elses file, some of them are readonly so I cannot really just read read of the annyoying ^M in the end of the line. Some lines have this charather others don't. Even if I do set ff=dos they are

Re: Can I use conceal to hide ctrl-m in end of line?

2012-06-12 Thread skeept
On Tuesday, June 12, 2012 12:22:44 PM UTC-5, Ben Fritz wrote: On Tuesday, June 12, 2012 10:38:34 AM UTC-5, skeept wrote: Hi, I am working with someones elses file, some of them are readonly so I cannot really just read read of the annyoying ^M in the end of the line. Some lines have

Re: Can I use conceal to hide ctrl-m in end of line?

2012-06-12 Thread Tony Mechelynck
On 12/06/12 20:01, skeept wrote: [...] Thanks, the suggestion in the link :e ++ff=dos seems to do the trick. It does not overwrite the file and the ctrl-m are gone. I don't understand well what it does, but it does the job, Thank you again. :e ++ff=dos reads the file, accepting either CR+LF

Re: vim: what the current best practice to work with excel file (xlsx)?

2012-06-12 Thread Christian Brabandt
Hi ping! On Di, 12 Jun 2012, ping wrote: today I look at the csv plugin again, and I got the issue right after I log a csv file: //say this is my file content: ,,, NH Walk for MAC validation for Customer's with dhcp binded but not pingable,,, ,,, Commands,Where to Execute,Expected

MacVim got trashed, but after restoring it plugins are not being recognized

2012-06-12 Thread Eric Weir
Don't know how it happened. I'd shut it down after making some changes to the .vimrc settings of a critical plugin---vim-addon-manager. When I went to restart it I was told it was in the trash. So, I found it in the trash and drug it to the applications folder. Perhaps there are other files

execute 'normal! v05l+y' does not yank

2012-06-12 Thread richard emberson
I'd like to yank some visually selected text with execute: :execute 'normal! v05l+y' But this indeed visually selected the 5 characters but does not yank them. Its as if the is a comment character and not the start of a yank-to operation. I assume, like so much else with Vim, there is a way,

Re: Fwd: vim: what the current best practice to work with excel file (xlsx)?

2012-06-12 Thread Christian Brabandt
Hi ping! On Di, 12 Jun 2012, ping wrote: sorry about the confusion..not sure why you didn't get my screenshot in my last email. and my file lines were all truncated (it does not contain \r). guess it was filtered by google-group. here attached the file and hope you can get it this time.

Re: Fwd: vim: what the current best practice to work with excel file (xlsx)?

2012-06-12 Thread ping
oh I got it, making sense , I'll see how frequent I need this and learn more about how to fine tune it per my need. thanks! On 06/12/2012 04:01 PM, Christian Brabandt wrote: Hi ping! On Di, 12 Jun 2012, ping wrote: sorry about the confusion..not sure why you didn't get my screenshot in my

Re: execute 'normal! v05l+y' does not yank

2012-06-12 Thread Ben Fritz
On Tuesday, June 12, 2012 2:58:53 PM UTC-5, Richard wrote: I'd like to yank some visually selected text with execute: :execute 'normal! v05l+y' But this indeed visually selected the 5 characters but does not yank them. Its as if the is a comment character and not the start of a yank-to

Re: execute 'normal! v05l+y' does not yank

2012-06-12 Thread Tim Chase
On 06/12/12 14:58, richard emberson wrote: I'd like to yank some visually selected text with execute: :execute 'normal! v05l+y' But this indeed visually selected the 5 characters but does not yank them. Its as if the is a comment character and not the start of a yank-to operation. While I

Re: execute 'normal! v05l+y' does not yank

2012-06-12 Thread richard emberson
I get: E354: Invalid register name: '+' when I use it. On 06/12/2012 02:02 PM, Tim Chase wrote: :let @+ = getline('.')[:4] -- Quis custodiet ipsos custodes -- 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

Re: execute 'normal! v05l+y' does not yank

2012-06-12 Thread Tim Chase
On 06/12/12 16:04, richard emberson wrote: I get: E354: Invalid register name: '+' when I use it. :let @+ = getline('.')[:4] That sounds suspiciously like you're using a non-gui enabled build of Vim which would point to why your normal version isn't working either. If there's no

Re: execute 'normal! v05l+y' does not yank

2012-06-12 Thread richard emberson
My Fedora version of vim 7.3 does not include clipboard but does include xterm_clipboard. On 06/12/2012 01:58 PM, Ben Fritz wrote: :execute 'normal! v05l+y' -- Quis custodiet ipsos custodes -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the

Re: execute 'normal! v05l+y' does not yank

2012-06-12 Thread richard emberson
When I enter: :execute 'normal! v05lby' Vim yanks to register b and the text is NOT highlighted, but with :execute 'normal! v05l+y' the text becomes highlighted and nothing is placed in +. It really is as if the is treated as the start of a comment. On 06/12/2012 01:58 PM, Ben Fritz wrote:

Re: execute 'normal! v05l+y' does not yank

2012-06-12 Thread richard emberson
Ha, Using gvim, :execute 'normal! v05l+y' works. It must be something about Fedora's console Vim. On 06/12/2012 01:58 PM, Ben Fritz wrote: On Tuesday, June 12, 2012 2:58:53 PM UTC-5, Richard wrote: I'd like to yank some visually selected text with execute: :execute 'normal! v05l+y' But this

Re: execute 'normal! v05l+y' does not yank

2012-06-12 Thread Tim Chase
On 06/12/12 16:32, richard emberson wrote: When I enter: :execute 'normal! v05lby' Vim yanks to register b and the text is NOT highlighted, but with :execute 'normal! v05l+y' the text becomes highlighted and nothing is placed in +. It really is as if the is treated as the start of a

Re: Can I use conceal to hide ctrl-m in end of line?

2012-06-12 Thread Tony Mechelynck
On 13/06/12 00:30, ping wrote: I happen to have a file displaying ^M, but looks this works only to hide the ^M in the end of the line , not the beginning of it. My file have both...see following screenshot: after :e ++ff=dos the trailing ^M disappear, but the preceding one is still there,