mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
fzf and some plugins
This commit is contained in:
17
install.sh
17
install.sh
@@ -25,13 +25,24 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# fzf
|
||||||
|
if [ ! -d "$HOME/.fzf" ]; then
|
||||||
|
git clone --depth 1 https://github.com/junegunn/fzf.git $HOME/.fzf
|
||||||
|
if [ ! -f "$HOME/.fzf/bin" ]; then
|
||||||
|
$HOME/.fzf/install --bin
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# vundle
|
|
||||||
|
# vimplug
|
||||||
if [ ! -d "$HOME/.vim/autoload" ]; then
|
if [ ! -d "$HOME/.vim/autoload" ]; then
|
||||||
echo "setup vim plug"
|
echo "setup vim plug"
|
||||||
curl -fLo /.vim/autoload/plug.vim --create-dirs \
|
curl -fLo $HOME/.vim/autoload/plug.vim --create-dirs \
|
||||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# linking dotfiles
|
# linking dotfiles
|
||||||
$HOME/.dotfiles/dotfiles.sh link base
|
$HOME/.dotfiles/dotfiles.sh link base
|
||||||
|
|
||||||
|
# reload shell
|
||||||
|
zsh
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
# aliases
|
# aliases
|
||||||
alias clip='xsel --clipboard'
|
alias clip='xsel --clipboard'
|
||||||
alias ls='ls --color=auto -lh'
|
alias ls='ls --color=auto -lh'
|
||||||
|
|
||||||
|
if type nvim > /dev/null; then
|
||||||
|
alias vim=nvim
|
||||||
|
fi
|
||||||
|
|||||||
@@ -12,3 +12,5 @@ zsh-users/zsh-autosuggestions
|
|||||||
# theme
|
# theme
|
||||||
romkatv/powerlevel10k
|
romkatv/powerlevel10k
|
||||||
|
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/ssh-agent
|
||||||
|
sunlei/zsh-ssh
|
||||||
|
|||||||
@@ -33,3 +33,6 @@ antidote load
|
|||||||
|
|
||||||
# vim mode
|
# vim mode
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
bindkey '^f' fzf-file-widget
|
||||||
|
|||||||
Reference in New Issue
Block a user