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
dto trigger the inline diff there. However, I havedsmapped in nvim-surround, sodalways needs to go through timeout. Surround doesn't make sense in afugitivecontext, but I can't just:unmapthe bind, since the unmap will apply to other filetypes as well.Ideally,
nvim-surroundwould provide an interface like this:Then, the
keymapsbinds would only happen within an autocmd, where the pattern excludes any filetype in the list.Beta Was this translation helpful? Give feedback.
All reactions