Skip to content
Myr

[vim] Fix paste on MacVim

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close https://github.com/junegunn/fzf.vim/issues/1233

authored by Junegunn Choi · committed by Junegunn Choi · parent 8b36a4c · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:plugin/fzf.vim+3 added-3 removed
850 unmodified lines
851 else852 let term_opts.curwin = 1853 endif854 let fzf.buf = term_start([&shell, &shellcmdflag, command], term_opts)855 if exists('&termwinkey')856 call setbufvar(fzf.buf, '&termwinkey', '<c-z>')857 endif855 if is_popup && exists('#TerminalWinOpen')856 doautocmd <nomodeline> TerminalWinOpen857 endif858 if !has('patch-8.0.1261') && !s:is_win859 call term_wait(fzf.buf, 20)860 endif861 endif862 tnoremap <buffer> <c-z> <nop>863 if exists('&termwinkey') && (empty(&termwinkey) || &termwinkey =~? '<c-w>')864 tnoremap <buffer> <c-w> <c-w>.865 endif866 finally867 call s:dopopd()868 endtry869 setlocal nospell bufhidden=wipe nobuflisted nonumber
125 unmodified lines