Skip to content
This repository was archived by the owner on Jun 10, 2018. It is now read-only.

Conversation

@javier-lopez
Copy link

@javier-lopez javier-lopez commented Jun 2, 2016

When several snippets match a trigger in snipmate an input dialog is displayed asking for an option, the default behavour is to force the user to input a number and cancel the operation if none is selected, I prefer to press <Enter> to select the 1st option and only input a number when I decide to use another snippet or press <Esc> to cancel the operation.

This pull request adds a g:snipmate_default_option variable who accepts numerical values to pre-select an option on those cases, eg.

let g:snipmage_default_option = 1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant