I'm so used to always having my project files on the left, it's really tough to switch to looking at my project files on the right.
Is there a way to configure vimfiler to load on the left? I don't care if it's on
I have googled it a bit, but gave up after an hour or so.
Adding sidebar_direction = 'left' to your ~/.SpaceVim.d/init.toml.
[options]
sidebar_direction = 'left'
sadly I can't get this to work using this syntax. No errors are presented but vimfiler is still on the right?
To clarify I created a new file in the ~/.SpaceVim.d/ directory called init.toml and pasted in your syntax verbatim.
I also tried vimfiler_direction = 'left'
And I tried changing 'left' to "left"
It might also be worth mentioning that this isn't mentioned in:
https://github.com/SpaceVim/SpaceVim/blob/master/doc/SpaceVim.txt
If I can get it to work I'll add it to the docs
I didn't express explicitly, sorry.
nerdtreeAdding following to ~/.SpaceVim.d/init.toml is working.
[options]
sidebar_direction = 'left'
You can see the code:
and
vimfiler to left sider of windowYou need to add a global variable to your function myspacevim#before() at myspacevim.vim. (doc)
let g:vimfiler_direction = 'topleft'
You can see the code:
and
Or, you can use command VimFiler -direction=topleft directly at vim/neovim.
YAY! You fixed it! Thank you so much <3
The issue should be closed.
Thank you.
I saw this answer solved my problem, I was very fortunate to meet my former colleague.
and I config in options(init.toml)
filemanager = "nerdtree"
sidebar_direction = 'left'
Thanks !!!
Most helpful comment
I didn't express explicitly, sorry.
For setting
nerdtreeAdding following to
~/.SpaceVim.d/init.tomlis working.You can see the code:
https://github.com/SpaceVim/SpaceVim/blob/a651a017f635347e90eb37a98503e948f87206f7/autoload/SpaceVim.vim#L485
and
https://github.com/SpaceVim/SpaceVim/blob/7c9a90498b93c1b5875ff39383c49874a29aa64e/config/plugins/nerdtree.vim#L2
For setting
vimfilerto left sider of windowYou need to add a global variable to your function
myspacevim#before()atmyspacevim.vim. (doc)You can see the code:
https://github.com/SpaceVim/SpaceVim/blob/ee02a29869a7e077723739b843403e9d3c38a811/config/plugins/vimfiler.vim#L51
and
https://github.com/Shougo/vimfiler.vim/blob/e15fdc4b52a3d2e082283362ba041126121739f8/doc/vimfiler.txt#L945
Or, you can use command
VimFiler -direction=topleftdirectly at vim/neovim.