" Close the ALEPreviewWindow window with the q key. noremap q :q! " Disable some keybinds for the selection window. noremap v noremap i noremap I noremap noremap noremap noremap a noremap A noremap o noremap O " Keybinds for opening selection items. noremap :call ale#preview#OpenSelection() noremap t :call ale#preview#OpenSelectionInTab() let b:undo_ftplugin = get(b:, 'undo_ftplugin', 'execute') let b:undo_ftplugin .= ' | execute "silent! unmap q"' let b:undo_ftplugin .= ' | execute "silent! unmap v"' let b:undo_ftplugin .= ' | execute "silent! unmap i"' let b:undo_ftplugin .= ' | execute "silent! unmap I"' let b:undo_ftplugin .= ' | execute "silent! unmap "' let b:undo_ftplugin .= ' | execute "silent! unmap "' let b:undo_ftplugin .= ' | execute "silent! unmap "' let b:undo_ftplugin .= ' | execute "silent! unmap a"' let b:undo_ftplugin .= ' | execute "silent! unmap A"' let b:undo_ftplugin .= ' | execute "silent! unmap o"' let b:undo_ftplugin .= ' | execute "silent! unmap O"' let b:undo_ftplugin .= ' | execute "silent! unmap "' let b:undo_ftplugin .= ' | execute "silent! unmap t"'