mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 12:37:03 +08:00
fine. let's use gitee, instead of fastgit
This commit is contained in:
parent
adc42b5f6a
commit
6e5d0290e0
|
@ -4,8 +4,8 @@ set -g default-terminal "xterm-256color"
|
||||||
set -g history-limit 10000
|
set -g history-limit 10000
|
||||||
|
|
||||||
# plugins
|
# plugins
|
||||||
set -g @plugin 'https://hub.fastgit.xyz/thewtex/tmux-mem-cpu-load'
|
set -g @plugin 'https://gitee.com/dictxiong/tmux-mem-cpu-load'
|
||||||
set -g @plugin 'https://hub.fastgit.xyz/tmux-plugins/tmux-resurrect'
|
set -g @plugin 'https://gitee.com/dictxiong/tmux-resurrect'
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
# Use Alt-arrow keys to switch panes
|
# Use Alt-arrow keys to switch panes
|
||||||
|
|
4
.vimrc2
4
.vimrc2
|
@ -3,8 +3,8 @@ set nocompatible
|
||||||
filetype off
|
filetype off
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
call vundle#begin()
|
call vundle#begin()
|
||||||
Plugin 'https://hub.fastgit.xyz/VundleVim/Vundle.vim'
|
Plugin 'https://gitee.com/dictxiong/Vundle.vim'
|
||||||
Plugin 'https://hub.fastgit.xyz/joshdick/onedark.vim'
|
Plugin 'https://gitee.com/dictxiong/onedark.vim'
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
" end vundle
|
" end vundle
|
||||||
|
|
|
@ -189,7 +189,7 @@ install_tmux_tpm(){
|
||||||
TMUX_TPM="$HOME/.tmux/plugins/tpm"
|
TMUX_TPM="$HOME/.tmux/plugins/tpm"
|
||||||
if [[ -x $(command -v tmux) && ! -d "$TMUX_TPM" ]]; then
|
if [[ -x $(command -v tmux) && ! -d "$TMUX_TPM" ]]; then
|
||||||
fmt_note "installing tmux tpm ..."
|
fmt_note "installing tmux tpm ..."
|
||||||
git clone https://hub.fastgit.xyz/tmux-plugins/tpm "$TMUX_TPM"
|
git clone https://gitee.com/dictxiong/tpm "$TMUX_TPM"
|
||||||
if [[ -x $(command -v g++) && -x $(command -v cmake) && -x $(command -v make) ]]; then
|
if [[ -x $(command -v g++) && -x $(command -v cmake) && -x $(command -v make) ]]; then
|
||||||
fmt_note "initializing tmux plugins ..."
|
fmt_note "initializing tmux plugins ..."
|
||||||
~/.tmux/plugins/tpm/bin/install_plugins
|
~/.tmux/plugins/tpm/bin/install_plugins
|
||||||
|
@ -203,7 +203,7 @@ install_vim_vundle(){
|
||||||
VIM_VUNDLE="$HOME/.vim/bundle/Vundle.vim"
|
VIM_VUNDLE="$HOME/.vim/bundle/Vundle.vim"
|
||||||
if [[ -x $(command -v vim) && ! -d "$VIM_VUNDLE" ]]; then
|
if [[ -x $(command -v vim) && ! -d "$VIM_VUNDLE" ]]; then
|
||||||
fmt_note "installing vim vundle ..."
|
fmt_note "installing vim vundle ..."
|
||||||
git clone https://hub.fastgit.xyz/gmarik/Vundle.vim.git "$VIM_VUNDLE"
|
git clone https://gitee.com/dictxiong/Vundle.vim "$VIM_VUNDLE"
|
||||||
fmt_note "initializing vim plugins ..."
|
fmt_note "initializing vim plugins ..."
|
||||||
vim +PluginInstall +qall
|
vim +PluginInstall +qall
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user