mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nvim): nvim surround
This commit is contained in:
parent
48f46a956b
commit
83365e0565
3 changed files with 18 additions and 0 deletions
14
.config/nvim/lua/nvim-surround-cfg/init.lua
Normal file
14
.config/nvim/lua/nvim-surround-cfg/init.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
require "nvim-surround".setup()
|
||||
|
||||
--[[
|
||||
Old text Command New text
|
||||
--------------------------------------------------------------------------------
|
||||
surr*ound_words ysiw) (surround_words)
|
||||
*make strings ys$" "make strings"
|
||||
[delete ar*ound me!] ds] delete around me!
|
||||
remove <b>HTML t*ags</b> dst remove HTML tags
|
||||
'change quot*es' cs'" "change quotes"
|
||||
<b>or tag* types</b> csth1<CR> <h1>or tag types</h1>
|
||||
delete(functi*on calls) dsf function calls
|
||||
|
||||
--]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue