use nvim tree
This commit is contained in:
parent
f4a4639198
commit
4ad65024f6
@ -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)
|
||||
|
@ -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 :<leader>dd ":call OpenVaffle()<CR>" {:noremap true :silent true})
|
||||
;; nvim tree
|
||||
(nvim.set_keymap :n :<leader>dd ":NvimTreeFindFile<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