/vundle_disabled/vim-picker.vim

https://github.com/yschu7/dotvim · Vim Script · 27 lines · 9 code · 4 blank · 14 comment · 2 complexity · da8ed1a7f40a62a43ffae5466f250e76 MD5 · raw file

  1. " https://github.com/srstevenson/vim-picker
  2. if exists('g:vundle_installing_plugins')
  3. Plugin 'srstevenson/vim-picker'
  4. finish
  5. endif
  6. nnoremap <leader>pe <Plug>PickerEdit
  7. "nmap <unique> <leader>ps <Plug>PickerSplit
  8. "nmap <unique> <leader>pt <Plug>PickerTabedit
  9. "nmap <unique> <leader>pv <Plug>PickerVsplit
  10. "nmap <unique> <leader>pb <Plug>PickerBuffer
  11. "nmap <unique> <leader>p] <Plug>PickerTag
  12. nnoremap <leader>ph <Plug>PickerHelp
  13. " https://github.com/jhawthorn/fzy
  14. " fzy is used as the default fuzzy selector. To use an alternative selector:
  15. " If run Vim within tmux:
  16. if exists("$TMUX")
  17. let g:picker_selector_executable = 'fzy-tmux'
  18. endif
  19. " To specify the height of the window in which the fuzzy selector is opened in Neovim:
  20. " let g:picker_height = 10
  21. " https://github.com/BurntSushi/ripgrep
  22. " File listing is achieved using the best tool for the job: git in Git
  23. " repositories and rg elsewhere, falling back to find if rg is not available.