-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong split and window positions #66
Comments
Sorry. I don't want to follow the complicated behavior in vimfiler. |
But the current behaviour is completely unpredictable now. For instance If I call Besides Defx should honor the |
In other words: Defx messes up the window layout and opens windows wherever it wants. This shouldn't be a feature. |
The current behavior is very clearly for me. |
Defx already honor |
So you should use |
How I can open from the previous window and close/quit the defx buffer upon opening the file? |
I want to do something like |
It is not supported. It is another feature. You should create another issue. |
Ok thanks. I will try the drop action and report if there are problems. |
Consider the following minimal
init.vim
:In the following gif I show vimfiler's behaviour (called via the
,fe
mapping):i) press
,fe
and open thea.txt
file with<CR>
.ii) press
,fe
again and openb.txt
withv
mappingiii) press
,fe
again and openc.txt
with<CR>
iv) press
,fe
and openb.txt
withs
I want to achieve the same behaviour with defx however i find the following problems/differences:
i) press
,xfe
and open thea.txt
file with<CR>
-> the defx buffer doesn't close (if I useopen
instead ofdrop
the buffer does close but the file is opened in the defx window (that it's only 40 characters wide))ii) go back to the defx buffer with
<C-W>h
and openb.txt
withv
mapping -> instead of opening to the right (as per thesplitright
setting) theb.txt
file is opened to the leftiii) go back to the defx buffer with
<C-W>h
and and openc.txt
with<CR>
-> this is correctly opened in the corresponding buffer (where theb.txt
file was)iv) close the defx buffer with
q
, move to the right to thea.txt
file with<C-W>l
, press,fe
and openc.txt
withs
-> it's not opened below thea.txt
buffer (which is the buffer that called defx) but rather on the same defx buffer windowI think vimfiler has the proper predictable behaviour and defx should follow it.
The text was updated successfully, but these errors were encountered: