Thursday, December 1, 2011

Re: Delay on opening new file

More updates about problem: vim command without mentioning any file in
command line takes that much time to open. However, by pressing Ctrl+c
it opens immediately...


On Thu, Dec 1, 2011 at 10:09, Alireza Haghdoost <haghdoost@gmail.com> wrote:
> Hi
>
> I have a problem when I want to open a file with vim, it takes several
> minutes to open. For example :
>
> $ cat cost.txt
> Hello
> $vim cost.txt
> ....
> It takes about 5min to open , I don't know what it is waiting for
> because cpu usage is 0%. Moreover, vim open perfectly without delay
> when I do not mention cost.txt in the command line.
>
> Do you know what is the problem ?
>
> Alireza

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

Delay on opening new file

Hi

I have a problem when I want to open a file with vim, it takes several
minutes to open. For example :

$ cat cost.txt
Hello
$vim cost.txt
....
It takes about 5min to open , I don't know what it is waiting for
because cpu usage is 0%. Moreover, vim open perfectly without delay
when I do not mention cost.txt in the command line.

Do you know what is the problem ?

Alireza

--
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: Why I'm not switching to command mode?

* Ben Fritz [2011.11.30 23:40]:
> On Nov 30, 7:45 pm, Jean-Rene David <jrda...@magma.ca> wrote:
> > There is no "command" mode in vim.
>
> command mode is another (rarely used) name for normal mode. I made the
> same mistake a while back on this same list.
>
> :help command-mode

I stand corrected.

--
JR

--
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: Split Saving


On Thu, Dec 1, 2011 at 5:59 PM, Tim Chase <vim@tim.thechases.com> wrote:
On 12/01/11 06:20, George Papanikolaou wrote:
Is there any way I can save all the splits with one command?

You may be looking for either

 :help :mkview
 :h :loadview

or more likely

 :h :mksession
 :h :source
 :h 'sessionoptions'

I understood the question differently.. as to save contents of all split windows.. if that is the case,
:windo w
will work.

--
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: Split Saving

On 12/01/11 06:20, George Papanikolaou wrote:
> Is there any way I can save all the splits with one command?

You may be looking for either

:help :mkview
:h :loadview

or more likely

:h :mksession
:h :source
:h 'sessionoptions'

-tim

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

Split Saving

Is there any way I can save all the splits with one command?

George Papanikolaou
g3orge.app@gmail.com

--
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: suppress error?

On Thu, December 1, 2011 8:57 am, Bee wrote:
> This function and its friend PrevDQ() work.
>
> If I am diffing goes to next change, or if doing helpgrep will go to
> the next.
>
> When at the end of the helpgrep, it presents:
> Error detected while processing function NextDQ:
> line 4:
> E553: No more items
> Press ENTER or type command to continue
>
> Can I suppress that message completely?
>
> function! NextDQ()
> if &diff
> normal! ]c
> else
> cn
> if v:version >= 700
> setlocal cursorline
> endif
> endif
> endfun
> nmap <F8> :call NextDQ()<cr>
>

:h sil

regards,
Christian

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