From edef92a943e237ca483b43f912cf844653fc49b7 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 11 Oct 2022 00:24:07 +0200 Subject: Remove more nvim-tree config --- fnl/config/autocmd.fnl | 3 --- fnl/config/lualine.fnl | 2 +- fnl/config/minibar.fnl | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl index 40eb338..017792f 100644 --- a/fnl/config/autocmd.fnl +++ b/fnl/config/autocmd.fnl @@ -3,9 +3,6 @@ (defn create-autocmd [event opts] (nvim.create_autocmd event opts)) -(create-autocmd :BufEnter - {:command "if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif"}) - (create-autocmd :FileType {:pattern [:qf :help :man :lspinfo] :command "nnoremap q :close"}) diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl index 472f494..d098966 100644 --- a/fnl/config/lualine.fnl +++ b/fnl/config/lualine.fnl @@ -8,7 +8,7 @@ :NeogitStatus :NeogitCommitMessage]) -(def- ignore [:help :NvimTree :packer :spectre_panel :TelescopePrompt]) +(def- ignore [:help :packer :spectre_panel :TelescopePrompt]) (defn- active-clients [] (let [clients (vim.lsp.buf_get_clients) client_names []] diff --git a/fnl/config/minibar.fnl b/fnl/config/minibar.fnl index f8c0a30..fddb71c 100644 --- a/fnl/config/minibar.fnl +++ b/fnl/config/minibar.fnl @@ -6,7 +6,6 @@ :dashboard :packer :neogitstatus - :NvimTree :Trouble :alpha :lir -- cgit v1.2.3-70-g09d2