We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I'm writing C, I use { far more than [, so I swapped them in insert mode.
{
[
How would I swap their delimitMate mappings as well?
imap <buffer><silent> [ <Plug>DelimitMate{ didn't work.
imap <buffer><silent> [ <Plug>DelimitMate{
The text was updated successfully, but these errors were encountered:
You'd have to set them up just before delimitMate defines its mappings.
Something like this:
autocmd User delimitMate_map imap <buffer> ( <Plug>delimitMate[ autocmd User delimitMate_map imap <buffer> [ <Plug>delimitMate(
Or only for C:
autocmd User delimitMate_map if &ft ==# 'c' | imap <buffer> ( <Plug>delimitMate[| endif autocmd User delimitMate_map if &ft ==# 'c' | imap <buffer> [ <Plug>delimitMate(| endif
Sorry, something went wrong.
No branches or pull requests
When I'm writing C, I use
{
far more than[
, so I swapped them in insert mode.How would I swap their delimitMate mappings as well?
imap <buffer><silent> [ <Plug>DelimitMate{
didn't work.The text was updated successfully, but these errors were encountered: