vim-lf

lf integration for Vim 8.2
git clone git://git.alex.balgavy.eu/vim-lf.git
Log | Files | Refs | README | LICENSE

lf.vim (306B)


      1 if exists('g:loaded_lf') || &cp || (v:version < 802 && !has('nvim'))
      2   finish
      3 endif
      4 let g:loaded_lf = 1
      5 
      6 let s:cpo_save = &cpo
      7 set cpo&vim
      8 
      9 command! -nargs=+ LF call lf#LF(<f-args>, [])
     10 nnoremap <Plug>LfEdit :LF %:p edit<CR>
     11 nnoremap <Plug>LfSplit :LF %:p split<CR>
     12 
     13 let &cpo = s:cpo_save
     14 unlet s:cpo_save