diff --git a/.vim/startup/vundle_vimrc b/.vim/startup/vundle_vimrc index e41bcea..74550ae 100644 --- a/.vim/startup/vundle_vimrc +++ b/.vim/startup/vundle_vimrc @@ -22,7 +22,7 @@ endif " If you need Vim help for vim-plug itself (e.g. :help plug-options), register " vim-plug as a plugin. Plug 'junegunn/vim-plug' -Plug 'tpope/vim-fugitive' +"Plug 'tpope/vim-fugitive' Plug 'tpope/vim-repeat' Plug 'tpope/vim-surround' " Plugin 'vim-perl/vim-perl' @@ -66,6 +66,7 @@ Plug 'tomtom/tlib_vim' Plug 'garbas/vim-snipmate' Plug 'ntpeters/vim-better-whitespace' Plug '907th/vim-auto-save' +Plug 'junegunn/fzf.vim' " Git plugin not hosted on GitHub Plug 'git://git.wincent.com/command-t.git' diff --git a/.zshrc b/.zshrc index 1115bb7..813e48b 100644 --- a/.zshrc +++ b/.zshrc @@ -263,7 +263,7 @@ export LC_ALL=en_US.UTF-8 alias tmux="TERM=screen-256color tmux -2" alias vi="vim" alias mux="TERM=screen-256color tmuxinator" -alias ls="ls -alh" +#alias ls="ls -alh" alias cp="cp -i" alias df="df -h" alias free="free -m" @@ -293,3 +293,7 @@ SPACESHIP_DIR_COLOR="${SPACESHIP_DIR_COLOR="cyan"}" # usage adb-screencap > screen.png alias adbcap="adb shell screencap -p" +# fzf config +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh +export FZF_DEFAULT_COMMAND='ag -g ""' +export FZF_DEFAULT_OPTS="--reverse --inline-info"