I hit the problem when loading a fugitive window, but this should be done for all filetype plug-ins before trying to append to the variable.
10 lines
337 B
VimL
10 lines
337 B
VimL
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 <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'
|