On 13.03.12,05:46, Tim Chase wrote:
> On 03/13/12 05:07, Jostein Berntsen wrote:
>
> >2. When I use copen in an already horizontally split window it comes up
> >at the bottom end of the screen as it should. I have set splitright and
> >splitbelow in my .vimrc. But if I edit the original file and then do copen,
> >often it will overtake all the windows. Why is that? This happens also when
> >opening a link in the original file.
>
> Starting a naked Vim ("vim -u NONE") could you give a sequence of
> settings & commands that reproduce this, and what you expect to be
> different? I think if it's easily reproducible, you'll get better
> answers. I'd expect it to look something like
>
> vim -u NONE file1.txt
> :set splitright splitbelow nocp
> (some action to populate the quickfix window such as :vimgrep)
> :copen
> (some other sequence of actions)
> :copen
> (description of the unexpected)
When I use pad.vim with copen I get this problem. When opening a pad note
and running copen without editing the pad note, copen opens in the correct
split window below:
:buffers!
1u "[Uten navn]" linje 1
2u - "__pad__" linje 1
3 a "[Uten navn]" linje 0
4 #a "~/vim_notes/1331647410182138" linje 0
5 %a- "[Quickfix List]" linje 1
Buffer 4 is the pad note.
When the pad note is edited, and then copen is run, the quickfix window
seems to close the pad note and opens at the top of the screen instead. Why
is that?
:buffers!
1u "[Uten navn]" linje 1
2u - "__pad__" linje 1
3 h "[Uten navn]" linje 0
6 %a- "[Quickfix List]" linje 1
Jostein
--
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