Bruno BELANYI
0473705335
You're supposed to undo the changes that you made to a buffer's variables when doing filetype-related settings. The variable 'b:undo_ftplugin' contains the commands necessary to revert any changes that you have made to accomodate this filetype. I removed the mappings for left and right in a quickfix windows because I don't use them, and the 'qf' plug-in already maps those (meaning I had an error when I tried to unmap them after qf already did so).
6 lines
273 B
VimL
6 lines
273 B
VimL
" Use h/l to go to the previous/next non-empty quickfix or location list
|
|
nnoremap <silent> <buffer> h :call quickfixed#older()<CR>
|
|
let b:undo_ftplugin.='|nunmap <buffer> h'
|
|
nnoremap <silent> <buffer> l :call quickfixed#newer()<CR>
|
|
let b:undo_ftplugin.='|nunmap <buffer> l'
|