mirror of
https://github.com/dense-analysis/ale
synced 2024-12-28 09:02:24 +00:00
82f734a7c2
Default navigation for commands that jump to new locations has been implemented with the `ale_default_navigation` variable, and all commands that jump to locations now support `-tab`, `-split`, or `-vsplit` arguments for overriding the default navigation behavior.
17 lines
553 B
VimL
17 lines
553 B
VimL
" 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.
|
|
noremap <buffer> <CR> :call ale#preview#OpenSelection()<CR>
|
|
noremap <buffer> t :call ale#preview#OpenSelectionInTab()<CR>
|