repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
neovim/lua/bugabinga/surround.lua
Rawlocal puk = require 'std.puk'
puk.defer 'nvim-surround' (function(surround)
surround.setup {
-- setting key maps for this plugin is pretty intricate.
-- normally I would set them myself, but in this case not...
keymaps = {
insert = '<C-g>s',
insert_line = '<C-g>S',
normal = 'sa',
normal_line = 'sA',
normal_cur = 'sc',
normal_cur_line = 'sC',
visual = 'sa',
visual_line = 'sA',
delete = 'sd',
change = 'sr',
change_line = 'sR',
},
}
end)