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" " ")
|
||||
else
|
||||
if [ -d "/usr/local/Library/Taps/phinze/homebrew-cask" ] ; then
|
||||
brew tap phinze/cask
|
||||
brew install brew-cask
|
||||
brew install caskroom/cask/brew-cask
|
||||
brew cask
|
||||
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
|
||||
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" " ")
|
||||
sudo apt-get install $(grep -vE "^\s*#" $ABSPATH/scripts/server.txt | tr "\n" " ") $(grep -vE "^\s*#" $ABSPATH/scripts/desktop.txt | tr "\n" " ")
|
||||
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
|
||||
if [ "$VALUE" = "c" ] ; then
|
||||
@ -69,6 +70,7 @@ while getopts ":hbsdclw" VALUE "$@"; do
|
||||
fi
|
||||
if [ ! -d ~/.fzf ] ; then
|
||||
git clone https://github.com/junegunn/fzf.git ~/.fzf
|
||||
~/.fzf/install
|
||||
fi
|
||||
if [ ! -d ~/.antigen ] ; then
|
||||
git clone https://github.com/zsh-users/antigen ~/.antigen
|
||||
|
31
vim/vimrc
31
vim/vimrc
@ -98,13 +98,13 @@ 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 {% {% %}<Left><Left><Left>
|
||||
inoremap [] []<Left>
|
||||
"inoremap {% {% %}<Left><Left><Left>
|
||||
"inoremap [] []<Left>
|
||||
inoremap ;;; <Esc>A
|
||||
inoremap ;; <Esc>m`A;<Esc>``a
|
||||
inoremap ;;<Space> <Esc>A;<Esc>o
|
||||
@ -297,23 +297,26 @@ Bundle 'godlygeek/csapprox'
|
||||
Bundle 'sirver/UltiSnips'
|
||||
"Adds snippets | https://github.com/sirver/UltiSnips
|
||||
Bundle 'honza/vim-snippets'
|
||||
" | https://github.com/honza/vim-snippets
|
||||
"More snippets | https://github.com/honza/vim-snippets
|
||||
Bundle 'Shougo/neocomplete.vim'
|
||||
"Autocompletes | https://github.com/Shougo/neocomplete.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
|
||||
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'
|
||||
" |https://github.com/mattn/flappyvird-vim
|
||||
"The amazing Flappy Bird game | https://github.com/mattn/flappyvird-vim
|
||||
Bundle 'morhetz/gruvbox'
|
||||
" |https://github.com/morhetz/gruvbox
|
||||
"Colorscheme | https://github.com/morhetz/gruvbox
|
||||
Bundle 'superbrothers/vim-vimperator'
|
||||
" |https://github.com/superbrothers/vim-vimperator
|
||||
"Vimperator for vim | https://github.com/superbrothers/vim-vimperator
|
||||
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
|
||||
filetype plugin indent on
|
||||
if exists("+undofile")
|
||||
|
Loading…
Reference in New Issue
Block a user