Skip to content

Commit

Permalink
Merge pull request spf13#228 from jphustman/tabsnippets
Browse files Browse the repository at this point in the history
fix tabbing through snippets
  • Loading branch information
spf13 committed Nov 20, 2012
2 parents 7f63692 + 513f6d7 commit 7c9d2ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,10 @@
xmap <C-k> <Plug>(neosnippet_expand_target)
xmap <C-l> <Plug>(neosnippet_start_unite_snippet_target)
" SuperTab like snippets behavior.
imap <expr><TAB> neosnippet#expandable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>"
smap <expr><TAB> neosnippet#expandable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
" For snippet_complete marker.
if has('conceal')
set conceallevel=2 concealcursor=i
Expand Down

0 comments on commit 7c9d2ed

Please sign in to comment.