From 504321b84aca2ca20a869ffebb312b25c7ff2617 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 19 Aug 2019 12:29:57 +0200 Subject: Store plugins in $HOME/dotfiles/plugins --- .gitignore | 2 +- .mrconfig | 14 ++++++++++++++ mr/.mrtrust | 2 ++ tmux/.tmux.conf | 2 +- vim/.vimrc | 4 ++-- zsh/.zshrc | 2 +- 6 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .mrconfig diff --git a/.gitignore b/.gitignore index 8da3704..475bc4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -!*.gitkeep +plugins/* diff --git a/.mrconfig b/.mrconfig new file mode 100644 index 0000000..0bfd216 --- /dev/null +++ b/.mrconfig @@ -0,0 +1,14 @@ +[$HOME/dotfiles/plugins/fzf-marks] +checkout = git clone 'git@github.com:urbainvaes/fzf-marks' +update = git pull origin master +push = git push origin master + +[$HOME/dotfiles/plugins/vim-remembrall] +checkout = git clone 'git@github.com:urbainvaes/vim-remembrall.git' +update = git pull origin master +push = git push origin master + +[$HOME/dotfiles/plugins/vim-wintab] +checkout = git clone 'git@github.com:urbainvaes/vim-wintab.git' +update = git pull origin master +push = git saveandsync diff --git a/mr/.mrtrust b/mr/.mrtrust index 5f0dbe2..2e39831 100644 --- a/mr/.mrtrust +++ b/mr/.mrtrust @@ -1 +1,3 @@ ~/phd/.mrconfig +~/postdoc/.mrconfig +~/dotfiles/.mrconfig diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 3a55112..17d199f 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -29,7 +29,7 @@ set-hook -g client-attached "if-shell '[ -n \""'$SSH_CONNECTION'"\" ]' 'set stat PILOT_IGNORE= PILOT_BOUNDARY=ignore PILOT_MODE=wintab -PILOT_ROOT=$HOME/Dropbox/projects/vim-wintab +PILOT_ROOT=$HOME/dotfiles/plugins/vim-wintab source-file $PILOT_ROOT/pilot.tmux # Bind for clear-screen diff --git a/vim/.vimrc b/vim/.vimrc index 9ede41b..19fa388 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -67,8 +67,8 @@ Plug 'wellle/targets.vim' Plug 'zchee/deoplete-clang' if isdirectory($HOME."/Dropbox/projects") - Plug '~/Dropbox/projects/vim-remembrall' - Plug '~/Dropbox/projects/vim-wintab' + Plug '~/dotfiles/plugins/vim-remembrall' + Plug '~/dotfiles/plugins/vim-wintab' endif if has("nvim") diff --git a/zsh/.zshrc b/zsh/.zshrc index e6aad75..cee9822 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -64,7 +64,7 @@ fi [ ! -d ~/.zsh/zgen ] && git clone https://github.com/tarjoilija/zgen.git ~/.zsh/zgen source "$HOME/.zsh/zgen/zgen.zsh" -FZF_MARKS_PLUGIN_ZSH=$HOME/Dropbox/projects/fzf-marks/fzf-marks.plugin.zsh +FZF_MARKS_PLUGIN_ZSH=$HOME/dotfiles/plugins/fzf-marks/fzf-marks.plugin.zsh FZF_MARKS_COMMAND='fzf --height 40% --reverse -e' [ -f "$FZF_MARKS_PLUGIN_ZSH" ] && source "$FZF_MARKS_PLUGIN_ZSH" -- cgit v1.2.3