Merge branch 'master' of github.com:/crh0831/dotfiles-vim

This commit is contained in:
HQ\chawley (chawley-admin.hq.overdrive.com)
2019-09-06 14:14:50 -04:00
2 changed files with 0 additions and 33 deletions

View File

@@ -1,20 +0,0 @@
vimrepo: softlinks
@echo "-----------------------------------------------------------"
@echo "Vim and fzf environment"
@echo "-----------------------------------------------------------"
@echo "Open vim and type :PlugInstall to install extension manager"
softlinks: apps
@test -L ${HOME}/.vim && unlink ${HOME}/.vim || true
@(test -d ${HOME}/.vim && mv ${HOME}/.vim ${HOME}/.vim_old) || true
@ln -vsf ${PWD}/.vim ${HOME}/.vim
@(test -L ${HOME}/.vimrc && unlink ${HOME}/.vimrc) || true
@(test -f ${HOME}/.vimrc && mv ${HOME}/.vimrc ${HOME}/.vimrc_old) || true
@ln -vsf ${PWD}/.vimrc ${HOME}/.vimrc
apps:
@sudo apt install vim || sudo yum 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

@@ -12,16 +12,3 @@ slate clean and start over.
Whenever possible, I've noted the URL from which I found the setting or snippet. I try to insist that not everything
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.
make vimrepo
should do it.