Added fzf install and plugin

This commit is contained in:
Chuck Hawley
2017-10-24 12:42:47 -04:00
parent 1ff76580fd
commit 82e32714e3
3 changed files with 12 additions and 1 deletions

3
.vimrc
View File

@@ -75,6 +75,9 @@ Plug 'tpope/vim-commentary'
Plug 'vim-pandoc/vim-pandoc-syntax' Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'godlygeek/tabular' Plug 'godlygeek/tabular'
""" Command Line Fuzzy Finder - https://github.com/junegunn/fzf
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
call plug#end() call plug#end()

View File

@@ -1,6 +1,6 @@
vimrepo: softlinks vimrepo: softlinks
@echo "-----------------------------------------------------------" @echo "-----------------------------------------------------------"
@echo "Vim and environment" @echo "Vim and fzf environment"
@echo "-----------------------------------------------------------" @echo "-----------------------------------------------------------"
@echo "Open vim and type :PlugInstall to install extension manager" @echo "Open vim and type :PlugInstall to install extension manager"
@@ -14,5 +14,7 @@ softlinks: apps
apps: apps:
@sudo apt install vim @sudo apt install vim
@test -d ${HOME}/.fzf && git --git-dir=${HOME}/.fzf/.git --work-tree=${HOME}/.fzf pull && ${HOME}/.fzf/install --all \
|| (git clone --depth 1 https://github.com/junegunn/fzf.git ${HOME}/.fzf && ${HOME}/.fzf/install --all)

View File

@@ -14,6 +14,12 @@ is self-explanatory.
--- ---
Included an automated install of [command line fuzzy finder](https://github.com/junegunn/fzf) since I started using
it and it has a vim plugin. (It's recommended on it's own as well - check it out if you're looking for a fuzzy search
tool for use at the command line)
---
The included Makefile will ensure vim is installed and the dotfiles get linked to your home directory. The included Makefile will ensure vim is installed and the dotfiles get linked to your home directory.
make vimrepo make vimrepo