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