C-TAB selects previous candidate

This commit is contained in:
Strahinja Val Markovic 2012-07-24 18:45:28 -07:00
parent b120d6a5ba
commit 6d76563e86

View File

@ -56,6 +56,9 @@ function! youcompleteme#Enable()
" typed-in text to that of the candidate completion.
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
" This selects the previous candidate for ctrl-tab
inoremap <expr><C-TAB> pumvisible() ? "\<C-p>" : "\<TAB>"
py import vim
exe 'python sys.path = sys.path + ["' . s:script_folder_path . '/../python"]'
py import ycm