Added fzf install and plugin
This commit is contained in:
3
.vimrc
3
.vimrc
@@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user