if !exists("b:undo_ftplugin") let b:undo_ftplugin='' endif " Use h/l to go to the previous/next non-empty quickfix or location list nnoremap h :call quickfixed#older() let b:undo_ftplugin.='|nunmap h' nnoremap l :call quickfixed#newer() let b:undo_ftplugin.='|nunmap l'