kylechui / nvim-surround

Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
MIT License
2.92k stars 60 forks source link

fix: Remove `remap = true` from keymaps. #219

Closed kylechui closed 1 year ago

kylechui commented 1 year ago

Fixes #197. The problem lies in the fact that change_surround and delete_surround both use g@l as a return value to enable dot-repeating. Changing the keymaps to nnoremap ignores user-defined mappings for l, and instead uses the (static) default value.