Skip to content

Instantly share code, notes, and snippets.

@todashuta
Last active December 18, 2015 19:08
Show Gist options
  • Save todashuta/5830248 to your computer and use it in GitHub Desktop.
Save todashuta/5830248 to your computer and use it in GitHub Desktop.
call smartinput#map_to_trigger('i', '<Plug>(smartinput_Tab)',
\ '<Tab>',
\ '<Tab>')
imap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Plug>(smartinput_Tab)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment