Go to file
2017-08-14 01:16:39 -04:00
applications Add updated ycm config 2017-08-14 01:15:42 -04:00
git Add git up/ignore/noignore aliases 2017-08-14 01:16:39 -04:00
i3 xhanges 2017-07-11 09:25:25 -04:00
python Moved apps into individual folders 2014-08-19 12:51:27 -06:00
scripts Modified the contents of files 2017-02-05 23:29:05 -05:00
shells xhanges 2017-07-11 09:25:25 -04:00
tmux Lots of changes 2017-01-24 15:54:05 -05:00
vim Misc changes 2017-04-30 13:14:50 -04:00
vimperator A ton of fixes 2016-11-13 02:17:55 -05:00
zsh Lots of changes 2017-01-24 15:54:05 -05:00
.gitignore Ignore .stfolder from syncthing 2016-08-18 00:58:53 -04:00
README.md Added README.md, used full name for gitconfig and added Ultisnips, vimsnippets, and neocomplete to vimrc 2014-08-02 00:38:28 -04:00

Sync

Sync syncs tmux/vim/bash config files with one command

Usage:

usage: sync.sh [-h] [-t] [-c] [-b] [-s] [-d]

optional arguements:
  -h  Show this help message and exit
  -t  Syncs tmux configuration file
  -c  Syncs other configuration files
  -b  Syncs Vim bundles
  -s  Syncs computer with server applications in server.txt
  -d  Syncs computer with desktop applications in desktop.txt

Or, install vim bundles and vimrc, customizing which bundles you use first (requires curl and vim packages):

mkdir -p ~/.vim/plugin/ ~/.vim/backup/ ~/.vim/undo/ ~/.vim/tmp/ ~/.vim/bundle/ ~/.vim/bundle/ ; if [ ! -f ~/.vim/plugin/sessionman.vim ] ; then curl -o ~/.vim/plugin/sessionman.vim http://www.vim.org/scripts/download_script.php?src_id=15599 ; fi ; if [ ! -d ~/.vim/bundle/vundle/ ] ; then git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle ; fi ; curl -o ~/.vimrc -k https://austenwares.com/gitlab/stonewareslord/Sync/raw/master/vimrc ; vim ~/.vimrc +"execute \"normal /Bundle 'gmarik\/vundle'\<CR>\"" +"execute \"normal :nohlsearch\<CR>:function Save()\<CR>w\<CR>BundleInstall\<CR>qa\<CR>endfunction\<CR>\"" +"nnoremap <F2> :call Save()<CR>:so ~/.vimrc<CR>:BundleInstall<CR>" ; echo "Installation should be complete. Run \"vim\" to check"

Usage: run this command and it will automatically load the bundle list with descriptions of each. Delete the ones you don't want to install and press F2 in normal mode to install al at once.

Or, temporarily load the bashrc (requires curl package):

curl -k -o /tmp/tmprc https://98.26.78.121/gitlab/stonewareslord/Sync/raw/master/tmprc && . /tmp/tmprc ; rm /tmp/tmprc

Or, clone the sync project and add all origins automatically:

mkdir sync&&cd sync&&git init&&git remote add testorigin https://98.26.78.121/gitlab/stonewareslord/Sync.git&&git config http.sslVerify false&&git pull testorigin master&&. bashrc&&git remote rm testorigin&&initify stonewareslord Sync -r