Skip to content

Open Nvim Tree on startup while preserving vim-startify #1771

Answered by unayakani
unayakani asked this question in Q&A
Discussion options

You must be logged in to vote

@alex-courtis was partially correct,
Only open_on_setup = true didn't work for vim-startify.
I also had to add ignore_buffer_on_setup = true after that to do the trick.
Here's a part of my new config:

lua << EOF
require("nvim-tree").setup{
  open_on_setup = true,
  ignore_buffer_on_setup = true,
}
EOF

( I still use VimScript 😂 )

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@unayakani
Comment options

@unayakani
Comment options

@unayakani
Comment options

@unayakani
Comment options

Comment options

You must be logged in to vote
3 replies
@unayakani
Comment options

@alex-courtis
Comment options

@unayakani
Comment options

Answer selected by unayakani
Comment options

You must be logged in to vote
1 reply
@alex-courtis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants