diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl index 01a3748..9628a8c 100644 --- a/fnl/plugins.fnl +++ b/fnl/plugins.fnl @@ -10,15 +10,16 @@ (use :projekt0n/github-nvim-theme) ; ui - (use {1 :hoob3rt/lualine.nvim - :requires {1 :kyazdani42/nvim-web-devicons :opt true}}) + (use :kyazdani42/nvim-web-devicons) + (use :hoob3rt/lualine.nvim) (use :junegunn/goyo.vim) (use :lukas-reineke/indent-blankline.nvim) (use :ntpeters/vim-better-whitespace) (use :valloric/matchtagalways) ; util - (use :cocopon/vaffle.vim) + ; (use :cocopon/vaffle.vim) + (use :kyazdani42/nvim-tree.lua) (use :jeetsukumaran/vim-buffergator) (use :tpope/vim-fugitive) (use :kana/vim-operator-user) diff --git a/fnl/settings.fnl b/fnl/settings.fnl index e4fd491..bcac985 100644 --- a/fnl/settings.fnl +++ b/fnl/settings.fnl @@ -9,15 +9,8 @@ ;; buffergator (set nvim.g.buffergator_display_regime "parentdir") -;; vaffle -(defn open-vaffle [] - (let [bufname (nvim.fn.bufname "%")] - (if (= bufname "") - (nvim.fn.vaffle#init) - (nvim.fn.vaffle#init (nvim.fn.expand "%:p"))))) - -(nu.fn-bridge :OpenVaffle :user.plugin.settings :open-vaffle) -(nvim.set_keymap :n :dd ":call OpenVaffle()" {:noremap true :silent true}) +;; nvim tree +(nvim.set_keymap :n :dd ":NvimTreeFindFile" {:noremap true :silent true}) ;; vim-operator-surround (nvim.set_keymap "" :sa "(operator-surround-append)" {:silent true})