diff options
Diffstat (limited to 'plugin/fzf.vim')
-rw-r--r-- | plugin/fzf.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 1069af87..a2db07cd 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -766,7 +766,9 @@ endfunction noremap <silent> <Plug>(fzf-normal) <Nop> noremap! <silent> <Plug>(fzf-normal) <Nop> -tnoremap <silent> <expr> <Plug>(fzf-normal) &filetype == 'fzf' ? "\<C-L>" : "\<C-\>\<C-n>" +if exists(':tnoremap') + tnoremap <silent> <expr> <Plug>(fzf-normal) &filetype == 'fzf' ? "\<C-L>" : "\<C-\>\<C-n>" +endif function! s:execute_term(dict, command, temps) abort let winrest = winrestcmd() |