summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/nvimtree/init.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/nvimtree/init.lua')
-rw-r--r--.config/nvim/lua/nvimtree/init.lua31
1 files changed, 0 insertions, 31 deletions
diff --git a/.config/nvim/lua/nvimtree/init.lua b/.config/nvim/lua/nvimtree/init.lua
deleted file mode 100644
index 3803765..0000000
--- a/.config/nvim/lua/nvimtree/init.lua
+++ /dev/null
@@ -1,31 +0,0 @@
-local tree_cb = require'nvim-tree.config'.nvim_tree_callback
-vim.g.nvim_tree_bindings = {
- -- mappings
- ["<CR>"] = tree_cb("edit"),
- ["l"] = tree_cb("edit"),
- ["o"] = tree_cb("edit"),
- ["<2-LeftMouse>"] = tree_cb("edit"),
- ["<2-RightMouse>"] = tree_cb("cd"),
- ["<C-]>"] = tree_cb("cd"),
- ["v"] = tree_cb("vsplit"),
- ["s"] = tree_cb("split"),
- ["<C-t>"] = tree_cb("tabnew"),
- ["h"] = tree_cb("close_node"),
- ["<BS>"] = tree_cb("close_node"),
- ["<S-CR>"] = tree_cb("close_node"),
- ["<Tab>"] = tree_cb("preview"),
- ["I"] = tree_cb("toggle_ignored"),
- ["H"] = tree_cb("toggle_dotfiles"),
- ["R"] = tree_cb("refresh"),
- ["a"] = tree_cb("create"),
- ["d"] = tree_cb("remove"),
- ["r"] = tree_cb("rename"),
- ["<C-r>"] = tree_cb("full_rename"),
- ["x"] = tree_cb("cut"),
- ["c"] = tree_cb("copy"),
- ["p"] = tree_cb("paste"),
- ["[c"] = tree_cb("prev_git_item"),
- ["]c"] = tree_cb("next_git_item"),
- ["-"] = tree_cb("dir_up"),
- ["q"] = tree_cb("close")
-}