2018-04-22 14:53:01 +00:00
|
|
|
" Close the ALEPreviewWindow window with the q key.
|
|
|
|
noremap <buffer> q :q!<CR>
|
|
|
|
" Disable some keybinds for the selection window.
|
|
|
|
noremap <buffer> v <NOP>
|
|
|
|
noremap <buffer> i <NOP>
|
|
|
|
noremap <buffer> I <NOP>
|
|
|
|
noremap <buffer> <C-q> <NOP>
|
|
|
|
noremap <buffer> <C-v> <NOP>
|
|
|
|
noremap <buffer> <S-v> <NOP>
|
|
|
|
noremap <buffer> a <NOP>
|
|
|
|
noremap <buffer> A <NOP>
|
|
|
|
noremap <buffer> o <NOP>
|
|
|
|
noremap <buffer> O <NOP>
|
|
|
|
" Keybinds for opening selection items.
|
2020-04-15 15:50:13 +00:00
|
|
|
noremap <buffer> <CR> :call ale#preview#OpenSelection()<CR>
|
2018-04-22 14:53:01 +00:00
|
|
|
noremap <buffer> t :call ale#preview#OpenSelectionInTab()<CR>
|