if exists('g:loaded_tabby') finish endif let g:loaded_tabby = 1 call tabby#Start() command! -nargs=* -complete=customlist,tabby#CompleteCommands Tabby call tabby#Command() if !exists('g:tabby_accept_binding') let g:tabby_accept_binding = '' endif if !exists('g:tabby_dismiss_binding') let g:tabby_dismiss_binding = '' endif function s:MapKeyBindings() " map `tabby#Accept` if g:tabby_accept_binding == '' " to solve binding conflicts, we store the original mapping and fallback to it when tabby completions is not shown if exists('g:tabby_binding_tab_fallback') " map directly if the user has set a custom fallback method imap