Skip to content

Instantly share code, notes, and snippets.

@marcusbuffett
Last active November 5, 2019 01:13
Show Gist options
  • Save marcusbuffett/93878626a2fc5e6167506d3c936673a9 to your computer and use it in GitHub Desktop.
Save marcusbuffett/93878626a2fc5e6167506d3c936673a9 to your computer and use it in GitHub Desktop.
set nocompatible hidden laststatus=2
if !filereadable('/tmp/plug.vim')
silent !curl --insecure -fLo /tmp/plug.vim
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif
source /tmp/plug.vim
call plug#begin('/tmp/plugged')
Plug 'lotabout/skim', { 'dir': '~/.skim', 'do': './install' }
Plug 'lotabout/skim.vim'
call plug#end()
command! -bang GitFilesWithWorkspace call fzf#run(fzf#wrap({ 'source': '{ git ls-files; find /Users/marcusbuffett/Documents/workspace; }' }, <bang>0))
command! -bang FilesWithWorkspace call fzf#run(fzf#wrap({ 'source': '{ find .; find /Users/marcusbuffett/Documents/workspace; }' }, <bang>0))
autocmd VimEnter * PlugClean! | PlugUpdate --sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment