diff --git a/neovim/.config/nvim/lua/packages.lua b/neovim/.config/nvim/lua/packages.lua index 4566ef5..17ae3eb 100644 --- a/neovim/.config/nvim/lua/packages.lua +++ b/neovim/.config/nvim/lua/packages.lua @@ -104,43 +104,43 @@ return require('packer').startup(function(use) 'kyazdani42/nvim-web-devicons', -- optional, for file icon }, config = function() require'nvim-tree'.setup { - -- view={mapping={ - -- { key = {"", "o", "<2-LeftMouse>"}, action = "edit" }, - -- { key = "", action = "edit_in_place" }, - -- { key = {"O"}, action = "edit_no_picker" }, - -- { key = {"<2-RightMouse>", ""}, action = "cd" }, - -- { key = "", action = "vsplit" }, - -- { key = "", action = "split" }, - -- { key = "", action = "tabnew" }, - -- { key = "<", action = "prev_sibling" }, - -- { key = ">", action = "next_sibling" }, - -- { key = "P", action = "parent_node" }, - -- { key = "", action = "close_node" }, - -- { key = "", action = "preview" }, - -- { key = "K", action = "first_sibling" }, - -- { key = "J", action = "last_sibling" }, - -- { key = "I", action = "toggle_ignored" }, - -- { key = "H", action = "toggle_dotfiles" }, - -- { key = "R", action = "refresh" }, - -- { key = "a", action = "create" }, - -- { key = "d", action = "remove" }, - -- { key = "D", action = "trash" }, - -- { key = "r", action = "rename" }, - -- { key = "", action = "full_rename" }, - -- { key = "x", action = "cut" }, - -- { key = "c", action = "copy" }, - -- { key = "p", action = "paste" }, - -- { key = "y", action = "copy_name" }, - -- { key = "Y", action = "copy_path" }, - -- { key = "gy", action = "copy_absolute_path" }, - -- { key = "[c", action = "prev_git_item" }, - -- { key = "]c", action = "next_git_item" }, - -- { key = "-", action = "dir_up" }, - -- { key = "s", action = "system_open" }, - -- { key = "q", action = "close" }, - -- { key = "g?", action = "toggle_help" }, - -- { key = "W", action = "collapse_all" } - -- }} + view={mappings={list={ + { key = {"", "o", "<2-LeftMouse>"}, action = "edit" }, + { key = "", action = "edit_in_place" }, + { key = {"O"}, action = "edit_no_picker" }, + { key = {"<2-RightMouse>", ""}, action = "cd" }, + { key = "", action = "vsplit" }, + { key = "", action = "split" }, + { key = "", action = "tabnew" }, + { key = "<", action = "prev_sibling" }, + { key = ">", action = "next_sibling" }, + { key = "P", action = "parent_node" }, + { key = "", action = "close_node" }, + { key = "", action = "preview" }, + { key = "K", action = "first_sibling" }, + { key = "J", action = "last_sibling" }, + { key = "I", action = "toggle_ignored" }, + { key = "H", action = "toggle_dotfiles" }, + { key = "R", action = "refresh" }, + { key = "a", action = "create" }, + { key = "d", action = "remove" }, + { key = "D", action = "trash" }, + { key = "r", action = "rename" }, + { key = "", action = "full_rename" }, + { key = "x", action = "cut" }, + { key = "c", action = "copy" }, + { key = "p", action = "paste" }, + { key = "y", action = "copy_name" }, + { key = "Y", action = "copy_path" }, + { key = "gy", action = "copy_absolute_path" }, + { key = "[c", action = "prev_git_item" }, + { key = "]c", action = "next_git_item" }, + { key = "-", action = "dir_up" }, + { key = "s", action = "system_open" }, + { key = "q", action = "close" }, + { key = "g?", action = "toggle_help" }, + { key = "W", action = "collapse_all" } + }}} } end }