Add codelines mappings

This commit is contained in:
Alexander Gehrke 2019-09-23 09:37:48 +02:00
parent 74d42fac18
commit 2a3668363b
4 changed files with 7 additions and 7 deletions

View file

@ -7,12 +7,6 @@ endif
inoremap <expr><C-h> deoplete#smart_close_popup()."\<C-h>"
inoremap <expr><BS> deoplete#smart_close_popup()."\<C-h>"
" <CR>: close popup and save indent.
inoremap <silent> <CR> <C-r>=<SID>my_cr_function()<CR>
function! s:my_cr_function() abort
return deoplete#close_popup() . "\<CR>"
endfunction
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :