use surround.nvim
This commit is contained in:
parent
8d3952ec91
commit
60b783b822
@ -21,8 +21,7 @@
|
||||
(use :cocopon/vaffle.vim)
|
||||
(use :jeetsukumaran/vim-buffergator)
|
||||
(use :tpope/vim-fugitive)
|
||||
(use :kana/vim-operator-user)
|
||||
(use :rhysd/vim-operator-surround)
|
||||
(use :blackCauldron7/surround.nvim)
|
||||
(use :chaoren/vim-wordmotion)
|
||||
(use :b3nj5m1n/kommentary)
|
||||
(use :nelstrom/vim-visual-star-search)
|
||||
|
@ -24,6 +24,12 @@
|
||||
(nvim.set_keymap "" :sd "<Plug>(operator-surround-delete)" {:silent true})
|
||||
(nvim.set_keymap "" :sr "<Plug>(operator-surround-replace)" {:silent true})
|
||||
|
||||
;; surround.nvim
|
||||
(global surround (require :surround))
|
||||
(surround.setup
|
||||
{:mappings_style "sandwich"
|
||||
})
|
||||
|
||||
;; kommentary
|
||||
(global kommentary (require :kommentary.config))
|
||||
(kommentary.configure_language :default {:prefer_single_line_comments true})
|
||||
|
Loading…
Reference in New Issue
Block a user