We don't need this cruft actually

c3992ff84abc720f5914c2e68fe6bb23f14995aa
Alexis Sellier committed ago 1 parent e79e5087
.vimrc +1 -1
182 182
183 183
call plug#begin()
184 184
185 185
Plug 'scrooloose/nerdcommenter'
186 186
Plug 'airblade/vim-gitgutter'
187 -
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
187 +
Plug 'junegunn/fzf'
188 188
Plug 'tpope/vim-fugitive'
189 189
Plug 'mileszs/ack.vim'
190 190
Plug 'eagletmt/neco-ghc'
191 191
Plug 'shougo/deoplete.nvim'
192 192
Plug 'neovimhaskell/haskell-vim'
.zshrc +1 -2
5 5
export FZF_DEFAULT_OPTS='--prompt="/ " --color=16 --exact'
6 6
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
7 7
8 8
[ -f ~/.profile ] && source ~/.profile
9 9
[ -f ~/.awsrc ]   && source ~/.awsrc
10 -
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
11 10
12 11
# `ls` colors
13 12
if [ -f ~/.dircolors ]; then
14 13
  eval $(dircolors -b ~/.dircolors)
15 14
fi
23 22
24 23
# Set input mode to vi
25 24
set -o vi
26 25
27 26
# Bind <C-r> to history search
28 -
if [ -f ~/.fzf.zsh ]; then
27 +
if [ command -v fzf >/dev/null 2>&1 ]; then
29 28
  bindkey '^R' fzf-history-widget
30 29
  bindkey '^P' fzf-file-widget
31 30
else
32 31
  bindkey '^R' history-incremental-search-backward
33 32
fi