dot

packages and services management
Log | Files | Refs | README

commit bef9f3dd7900862f350cee4ef144f78f0089c6d7
parent f10249e552aa1738b9842e65b629a4fed709ac6f
Author: sshbio <jd@ssh.bio>
Date:   Mon,  1 Aug 2016 20:20:05 +0200

added vim plugin back

Diffstat:
MREADME | 14++++++++++++++
Dbin/.irc.swp | 0
Dbin/armv7l/vis | 0
Mgit/.config/git/config | 1-
Minstall.sh | 29+++++++++++++++++++++--------
Mshell/.profile | 2+-
Mvim/.vimrc | 1-
7 files changed, 36 insertions(+), 11 deletions(-)

diff --git a/README b/README @@ -68,6 +68,20 @@ Shell scripts piano Terminal piano! Dvorak layout by default. |TT|TTT|TT|TTT| +Vim plugins +-------------------------------------------------------------------------------- + + syntastic syntax checker http://github.com/scrooloose/syntastic + undotree visual undo http://github.com/mbbill/undotree + surround change delimiters http://github.com/tpope/vim-surround + commentary comment code http://github.com/tpope/vim-commentary + lion alignment http://github.com/tommcdo/vim-lion + supertab tab completion http://github.com/ervandew/supertab + signify VCS +/- gutter http://github.com/mhinz/vim-signify + signature show marks http://github.com/kshenoy/vim-signature + emmet emmet.io https://github.com/mattn/emmet-vim + + Projects -------------------------------------------------------------------------------- diff --git a/bin/.irc.swp b/bin/.irc.swp Binary files differ. diff --git a/bin/armv7l/vis b/bin/armv7l/vis Binary files differ. diff --git a/git/.config/git/config b/git/.config/git/config @@ -11,7 +11,6 @@ [core] excludesfile = ~/.gitignore - editor = vis [color] ui = auto diff --git a/install.sh b/install.sh @@ -1,11 +1,11 @@ #!/bin/sh pwd="$(cd "$(dirname "$0")" && pwd)" - -Config="$pwd" Sync="$HOME/Sync" vim_bundle="$HOME/.vim/bundle" host='mail.gandi.net' +NL=' +' case "$1" in -g) @@ -14,7 +14,7 @@ case "$1" in mkdir -p "$git" cd "$git" - sed '/^[ \t-]*$/ d; 1,/^Projects$/ d' "$Config/README" | while read line + sed '/^[ \t-]*$/ d; 1,/^Projects$/ d' "$pwd/README" | while read line do git clone "${line##* }" "${line%% *}" done ;; @@ -35,16 +35,29 @@ case "$1" in done ;; -l) - find "$Config" -path "$Config/[^.]*/.*" | while read path + find "$pwd" -path "$pwd/[^.]*/.*" | while read path do if [ -d "$path" ] - then mkdir -p "$HOME/${path#$Config/*/}" - else ln -sf "$path" "$HOME/${path#$Config/*/}" + then mkdir -p "$HOME/${path#$pwd/*/}" + else ln -sf "$path" "$HOME/${path#$pwd/*/}" fi done ;; -v ) - sed '/' "$pwd/README" + b="$HOME/.vim/bundle" + + [ -d "$b" ] && rm -r "$b" "$HOME/.vim/autoload/pathogen.vim" + mkdir -p "$b" "$HOME/.vim/autoload" + wget -qO "$HOME/.vim/autoload/pathogen.vim" https://tpo.pe/pathogen.vim + + IFS="$NL" + for p in $(sed '/^[ \t-]*$/ d + 1,/^Vim plugins$/ d; /^Projects$/,$ d' "$pwd/README") + do wget -qO- "${p##* }/archive/master.tar.gz" | tar -xvz -f- -C "$b" & + done + unset IFS + + wait ;; * ) printf '%s\n' " SYNTAX @@ -53,7 +66,7 @@ SYNTAX OPTIONS -g Clone git repositories as listed in the README file. -m Prompt for e-mail password to save in a unsafe text file. - -l Link the dotfiles from subdirectories of: $Config + -l Link the dotfiles from subdirectories of: $pwd -s Link the sub-sub-directories of: $Sync -v Install asyncronously the vim plugins " ;; diff --git a/shell/.profile b/shell/.profile @@ -15,7 +15,7 @@ export NCURSES_NO_UTF8_ACS=1 # Fix for dvtm + abduco in TTY # Commands for editor in vi vim vis -do command -v $editor > /dev/null && export EDITOR="$editor" +do command -v "$editor" > /dev/null && export EDITOR="$editor" done export ALTERNATE_EDITOR='vi' export DVTM_EDITOR="$EDITOR" diff --git a/vim/.vimrc b/vim/.vimrc @@ -13,7 +13,6 @@ set nocompatible " Appearance colorscheme default -colorscheme sshbio set list listchars=tab:\|\ ,trail:_,extends:>,precedes:<,nbsp:_ set fillchars=vert:\|,fold:_