use vaffle | bench nvim-tree
This commit is contained in:
parent
e3ed38ab86
commit
a9e30eb2f6
@ -18,8 +18,7 @@
|
||||
(use :valloric/matchtagalways)
|
||||
|
||||
; util
|
||||
; (use :cocopon/vaffle.vim)
|
||||
(use :kyazdani42/nvim-tree.lua)
|
||||
(use :cocopon/vaffle.vim)
|
||||
(use :jeetsukumaran/vim-buffergator)
|
||||
(use :tpope/vim-fugitive)
|
||||
(use :kana/vim-operator-user)
|
||||
|
@ -10,7 +10,14 @@
|
||||
(set nvim.g.buffergator_display_regime "parentdir")
|
||||
|
||||
;; nvim tree
|
||||
(nvim.set_keymap :n :<leader>dd ":NvimTreeFindFile<CR>" {:noremap true :silent true})
|
||||
(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 :<leader>dd ":call OpenVaffle()<CR>" {:noremap true :silent true})
|
||||
|
||||
;; vim-operator-surround
|
||||
(nvim.set_keymap "" :sa "<Plug>(operator-surround-append)" {:silent true})
|
||||
|
Loading…
Reference in New Issue
Block a user