Better Mac support, more vim bundles
This commit is contained in:
parent
c0737b3dd7
commit
93637c50cf
@ -31,11 +31,10 @@ while getopts ":hbsdclw" VALUE "$@"; do
|
|||||||
sudo apt-get install $(grep -vE "^\s*#" $ABSPATH/scripts/server.txt | tr "\n" " ")
|
sudo apt-get install $(grep -vE "^\s*#" $ABSPATH/scripts/server.txt | tr "\n" " ")
|
||||||
else
|
else
|
||||||
if [ -d "/usr/local/Library/Taps/phinze/homebrew-cask" ] ; then
|
if [ -d "/usr/local/Library/Taps/phinze/homebrew-cask" ] ; then
|
||||||
brew tap phinze/cask
|
brew install caskroom/cask/brew-cask
|
||||||
brew install brew-cask
|
|
||||||
brew cask
|
brew cask
|
||||||
fi
|
fi
|
||||||
brew cask install gimp inkscape adium vlc iterm2 steam adobe-reader
|
brew cask install gimp inkscape adium vlc iterm2 steam adobe-reader spectacle xquartz
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$VALUE" = "d" ] ; then
|
if [ "$VALUE" = "d" ] ; then
|
||||||
@ -44,7 +43,9 @@ while getopts ":hbsdclw" VALUE "$@"; do
|
|||||||
echo $(grep -vE "^\s*#" $ABSPATH/scripts/server.txt | tr "\n" " ") $(grep -vE "^\s*#" $ABSPATH/scripts/desktop.txt | tr "\n" " ")
|
echo $(grep -vE "^\s*#" $ABSPATH/scripts/server.txt | tr "\n" " ") $(grep -vE "^\s*#" $ABSPATH/scripts/desktop.txt | tr "\n" " ")
|
||||||
sudo apt-get install $(grep -vE "^\s*#" $ABSPATH/scripts/server.txt | tr "\n" " ") $(grep -vE "^\s*#" $ABSPATH/scripts/desktop.txt | tr "\n" " ")
|
sudo apt-get install $(grep -vE "^\s*#" $ABSPATH/scripts/server.txt | tr "\n" " ") $(grep -vE "^\s*#" $ABSPATH/scripts/desktop.txt | tr "\n" " ")
|
||||||
else
|
else
|
||||||
brew install autojump ncdu htop vim youtube-dl tree sshfs ircii imagemagick node ffmpeg wget lua libconfig readline meld
|
brew install macvim --with-cscope --with-lua --HEAD
|
||||||
|
brew install vim --with-lua
|
||||||
|
brew install ncdu htop youtube-dl tree sshfs ircii imagemagick node ffmpeg wget lua libconfig readline meld
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$VALUE" = "c" ] ; then
|
if [ "$VALUE" = "c" ] ; then
|
||||||
@ -69,6 +70,7 @@ while getopts ":hbsdclw" VALUE "$@"; do
|
|||||||
fi
|
fi
|
||||||
if [ ! -d ~/.fzf ] ; then
|
if [ ! -d ~/.fzf ] ; then
|
||||||
git clone https://github.com/junegunn/fzf.git ~/.fzf
|
git clone https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
|
~/.fzf/install
|
||||||
fi
|
fi
|
||||||
if [ ! -d ~/.antigen ] ; then
|
if [ ! -d ~/.antigen ] ; then
|
||||||
git clone https://github.com/zsh-users/antigen ~/.antigen
|
git clone https://github.com/zsh-users/antigen ~/.antigen
|
||||||
|
29
vim/vimrc
29
vim/vimrc
@ -98,13 +98,13 @@ nnoremap <Leader>= yypv$r=
|
|||||||
nnoremap <Leader>- yypv$r-
|
nnoremap <Leader>- yypv$r-
|
||||||
nnoremap <Leader>^ yypv$r^
|
nnoremap <Leader>^ yypv$r^
|
||||||
nnoremap <Leader>" yypv$r"
|
nnoremap <Leader>" yypv$r"
|
||||||
inoremap '' ''<Left>
|
"inoremap '' ''<Left>
|
||||||
inoremap "" ""<Left>
|
"inoremap "" ""<Left>
|
||||||
inoremap () ()<Left>
|
"inoremap () ()<Left>
|
||||||
inoremap <> <><Left>
|
"inoremap <> <><Left>
|
||||||
inoremap {} <Right>{}<Left><CR><Esc>O
|
inoremap {} <Right>{}<Left><CR><Esc>O
|
||||||
inoremap {% {% %}<Left><Left><Left>
|
"inoremap {% {% %}<Left><Left><Left>
|
||||||
inoremap [] []<Left>
|
"inoremap [] []<Left>
|
||||||
inoremap ;;; <Esc>A
|
inoremap ;;; <Esc>A
|
||||||
inoremap ;; <Esc>m`A;<Esc>``a
|
inoremap ;; <Esc>m`A;<Esc>``a
|
||||||
inoremap ;;<Space> <Esc>A;<Esc>o
|
inoremap ;;<Space> <Esc>A;<Esc>o
|
||||||
@ -297,22 +297,25 @@ Bundle 'godlygeek/csapprox'
|
|||||||
Bundle 'sirver/UltiSnips'
|
Bundle 'sirver/UltiSnips'
|
||||||
"Adds snippets | https://github.com/sirver/UltiSnips
|
"Adds snippets | https://github.com/sirver/UltiSnips
|
||||||
Bundle 'honza/vim-snippets'
|
Bundle 'honza/vim-snippets'
|
||||||
" | https://github.com/honza/vim-snippets
|
"More snippets | https://github.com/honza/vim-snippets
|
||||||
Bundle 'Shougo/neocomplete.vim'
|
Bundle 'Shougo/neocomplete.vim'
|
||||||
"Autocompletes | https://github.com/Shougo/neocomplete.vim
|
"Autocompletes | https://github.com/Shougo/neocomplete.vim
|
||||||
Bundle 'othree/eregex.vim'
|
Bundle 'othree/eregex.vim'
|
||||||
"Real regexes in vim | https://github.com/othree/eregex.vim
|
"Real regexes in vim | https://github.com/othree/eregex.vim
|
||||||
"Real regexes in vim | https://github.com/othree/eregex.vim
|
|
||||||
Bundle 'vim-scripts/sessionman.vim'
|
Bundle 'vim-scripts/sessionman.vim'
|
||||||
" |https://github.com/vim-scripts/sessionman.vim
|
"Session manager | https://github.com/vim-scripts/sessionman.vim
|
||||||
Bundle 'mattn/flappyvird-vim'
|
Bundle 'mattn/flappyvird-vim'
|
||||||
" |https://github.com/mattn/flappyvird-vim
|
"The amazing Flappy Bird game | https://github.com/mattn/flappyvird-vim
|
||||||
Bundle 'morhetz/gruvbox'
|
Bundle 'morhetz/gruvbox'
|
||||||
" |https://github.com/morhetz/gruvbox
|
"Colorscheme | https://github.com/morhetz/gruvbox
|
||||||
Bundle 'superbrothers/vim-vimperator'
|
Bundle 'superbrothers/vim-vimperator'
|
||||||
" |https://github.com/superbrothers/vim-vimperator
|
"Vimperator for vim | https://github.com/superbrothers/vim-vimperator
|
||||||
Bundle 'Rykka/colorv.vim'
|
Bundle 'Rykka/colorv.vim'
|
||||||
" |https://github.com/Rykka/colorv.vim
|
"Color selection in vim | https://github.com/Rykka/colorv.vim
|
||||||
|
Bundle 'Townk/vim-autoclose'
|
||||||
|
"Autoclose brackets | https://github.com/Townk/vim-autoclose
|
||||||
|
Bundle 'mhinz/vim-signify'
|
||||||
|
"Git information inline | https://github.com/mhinz/vim-signify
|
||||||
" |
|
" |
|
||||||
"DO NOT DELETE LINE ABOVE OR \bun WILL BREAK
|
"DO NOT DELETE LINE ABOVE OR \bun WILL BREAK
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
Loading…
Reference in New Issue
Block a user