vimrc/sources_non_forked/ale/ftplugin/ale-preview.vim

6 lines
201 B
VimL
Raw Normal View History

" Close the ALEPreviewWindow window with the q key.
noremap <buffer> q :q!<CR>
2024-01-07 15:14:20 +00:00
let b:undo_ftplugin = get(b:, 'undo_ftplugin', 'execute')
let b:undo_ftplugin .= ' | execute "silent! unmap <buffer> q"'