You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using your super useful plugin to document some bash use cases
Things that I use every now and again but tend to forget, instead of having to re-hunt them on the web
more often than not I notice commands like git update-index --assume-unchanged file
substituted for git update-index —assume-unchanged file
maybe switch for 3 dashes for the substitution, or ignore the rule when inside `
I think that the substitution is already ignored when inside triple {}, but doesn't serve my purpose as much as `
Thanks
The text was updated successfully, but these errors were encountered:
ccolorado
changed the title
Dont substitute -- for — way to many commands use --word [FEATURE REQUEST]
Dont substitute -- for — way to many commands use --word [ENHANCEMENT REQUEST]
Dec 29, 2017
If you'd like to remove the -- to — substitution completely, put iunmap <buffer> -- in your vimrc.
Edit: Actually that's probably not enough. The mapping is defined when you open Notes files, which happens after reading your vimrc.
This should really be executed after opening a Notes file and after the plugin mappings have been defined. I'm not sure how to do that, so I can only offer the second solution:
Here you could change it to something else, like ---. If you do, remember to change line 63 as well. It contains an unmap function for the previosly defined mapping that is called at some point. If it differs, you'll get an error message when opening a Notes file.
Hi, I am using your super useful plugin to document some bash use cases
Things that I use every now and again but tend to forget, instead of having to re-hunt them on the web
more often than not I notice commands like
git update-index --assume-unchanged file
substituted for
git update-index —assume-unchanged file
maybe switch for 3 dashes for the substitution, or ignore the rule when inside `
I think that the substitution is already ignored when inside triple {}, but doesn't serve my purpose as much as `
Thanks
The text was updated successfully, but these errors were encountered: