summaryrefslogtreecommitdiff
path: root/config/nvim/lua/master/plugins/neotree.lua
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-07-20 20:22:03 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-07-20 20:22:03 +0400
commitc419b97b5cc61127ca2b7f9839a588c2ee3e7353 (patch)
tree623e75923db712e700a447fbb48c0f7105836f8d /config/nvim/lua/master/plugins/neotree.lua
parent395efb9df45b2000ef6aa11d2c9b7b1904b8c586 (diff)
directory name changed from dotfiles to config
Diffstat (limited to 'config/nvim/lua/master/plugins/neotree.lua')
-rw-r--r--config/nvim/lua/master/plugins/neotree.lua34
1 files changed, 34 insertions, 0 deletions
diff --git a/config/nvim/lua/master/plugins/neotree.lua b/config/nvim/lua/master/plugins/neotree.lua
new file mode 100644
index 0000000..abdf1fc
--- /dev/null
+++ b/config/nvim/lua/master/plugins/neotree.lua
@@ -0,0 +1,34 @@
+require("neo-tree").setup({
+ --Setup
+ filesystem = {
+ window = {
+ mappings = {
+ ["l"] = "open",
+ ["h"] = "close_node",
+ ["zh"] = "toggle_hidden",
+ ["H"] = "close_all_nodes",
+ }
+ }
+ },
+
+ --Indent Markers
+ default_component_configs = {
+ indent = {
+ with_markers = true,
+ indent_marker = "│",
+ last_indent_marker = "└",
+ indent_size = 2,
+ },
+ },
+
+ --Expanders
+ default_component_configs = {
+ indent = {
+ with_expanders = false, --Not active
+ expander_collapsed = "",
+ expander_expanded = "",
+ expander_highlight = "NeoTreeExpander",
+ },
+ },
+
+})