(module user.plugin.settings {require {nvim aniseed.nvim nu aniseed.nvim.util}}) ;; 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}) ;; vim-operator-surround (nvim.set_keymap "" :sa "(operator-surround-append)" {:silent true}) (nvim.set_keymap "" :sd "(operator-surround-delete)" {:silent true}) (nvim.set_keymap "" :sr "(operator-surround-replace)" {:silent true})