Replies: 1 comment 3 replies
-
As a temporary workaround, you could use the In general, I do regret exposing keymaps as a part of the |
Beta Was this translation helpful? Give feedback.
3 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.
-
Would it be possible to add an option to exclude some filetypes from having surround maps?
I'm facing an issue with Fugitive, where I'd like
d
to trigger the inline diff there. However, I haveds
mapped in nvim-surround, sod
always needs to go through timeout. Surround doesn't make sense in afugitive
context, but I can't just:unmap
the bind, since the unmap will apply to other filetypes as well.Ideally,
nvim-surround
would provide an interface like this:Then, the
keymaps
binds would only happen within an autocmd, where the pattern excludes any filetype in the list.Beta Was this translation helpful? Give feedback.
All reactions