neotree changes
This commit is contained in:
		
							
								
								
									
										15
									
								
								nvim/lua/plugins/neotree.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								nvim/lua/plugins/neotree.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
return {
 | 
			
		||||
  "nvim-neo-tree/neo-tree.nvim",
 | 
			
		||||
  opts = {
 | 
			
		||||
    require("neo-tree").setup({
 | 
			
		||||
      window = {
 | 
			
		||||
        mappings = {
 | 
			
		||||
          ["P"] = function(state)
 | 
			
		||||
            local node = state.tree:get_node()
 | 
			
		||||
            require("neo-tree.ui.renderer").focus_node(state, node:get_parent_id())
 | 
			
		||||
          end,
 | 
			
		||||
        },
 | 
			
		||||
      },
 | 
			
		||||
    }),
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user