Skip to content

Commit

Permalink
feat!: Remove window-picker in neotree
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed Dec 13, 2024
1 parent a15b9cd commit bcc5327
Showing 1 changed file with 4 additions and 31 deletions.
35 changes: 4 additions & 31 deletions lua/core/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,6 @@ local M = {
dependencies = {
"nvim-lua/plenary.nvim",
{ "MunifTanjim/nui.nvim", lazy = true },
{
"s1n7ax/nvim-window-picker",
lazy = true,
opts = {
filter_rules = {
-- filter using buffer options
bo = {
-- if the file type is one of following, the window will be ignored
filetype = {
"neo-tree",
"neo-tree-popup",
"notify",
"packer",
"qf",
"diff",
"fugitive",
"fugitiveblame",
},

-- if the buffer type is one of following, the window will be ignored
buftype = { "nofile", "help", "terminal" },
},
},
},
},
},
keys = {
{ "<leader>fp", "<cmd>Neotree reveal toggle<cr>", desc = "Toggle Filetree" },
Expand Down Expand Up @@ -82,12 +57,10 @@ local M = {
"toggle_node",
nowait = false, -- disable `nowait` if you have existing combos starting with this char that you want to use
},
["<2-LeftMouse>"] = "open_with_window_picker",
["<cr>"] = "open_with_window_picker",
-- ["S"] = "open_split",
["S"] = "split_with_window_picker",
-- ["s"] = "open_vsplit",
["s"] = "vsplit_with_window_picker",
["<2-LeftMouse>"] = "open",
["<cr>"] = "open",
["s"] = "open_split",
["v"] = "open_vsplit",
["t"] = "open_tabnew",
--["P"] = "toggle_preview",
["C"] = "close_node",
Expand Down

0 comments on commit bcc5327

Please sign in to comment.