mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
16
sources_non_forked/ale/ftplugin/ale-preview-selection.vim
Normal file
16
sources_non_forked/ale/ftplugin/ale-preview-selection.vim
Normal file
@ -0,0 +1,16 @@
|
||||
" 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#OpenSelectionInBuffer()<CR>
|
||||
noremap <buffer> t :call ale#preview#OpenSelectionInTab()<CR>
|
Reference in New Issue
Block a user