how to disable invalid_key_behavior?
#213
Unanswered
chrisgrieser
asked this question in
Q&A
Replies: 1 comment 14 replies
-
|
hmm, so I found this, which at least results in an error instead instead of adding/deleting characters unintentionally. require("nvim-surround").setup {
surrounds = {
invalid_key_behavior = {
add = {},
find = nil,
delete = nil,
change = {},
},
}
} |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I find myself more often accidentally deleting something than actually using the
invalid_key_behavior(= automatic surrounds). Is there any way to disable that? Can't find anything in the docs on thatBeta Was this translation helpful? Give feedback.
All reactions