vimrc/sources_non_forked/ale/ftplugin/ale-preview.vim
2024-01-07 16:14:20 +01:00

5 lines
201 B
VimL

" Close the ALEPreviewWindow window with the q key.
noremap <buffer> q :q!<CR>
let b:undo_ftplugin = get(b:, 'undo_ftplugin', 'execute')
let b:undo_ftplugin .= ' | execute "silent! unmap <buffer> q"'