1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

nvim-treeを起動時に常に開くようにする

Posted at

概要

nvim-treeを使用しています。
nvim hoge.txtをしたときに、常にファイルツリーが表示されてほしいと思いました。その際の設定をまとめます。

やったこと

この設定をinit.luaに追加して動きました。

init.lua
-- automated settings
local function open_nvim_tree()
    require("nvim-tree.api").tree.open()
end

vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree })

公式ドキュメント

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?