Made some changes

This commit is contained in:
Austen Adler 2015-06-15 01:35:29 -04:00
parent ebbd334557
commit 45f3b07c42
2 changed files with 26 additions and 21 deletions

View File

@ -106,7 +106,7 @@ function ctar(){
tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|pv -WcN gzip|gzip|pv -WcN dest tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|pv -WcN gzip|gzip|pv -WcN dest
} }
function pcat(){ function pcat(){
pygmentize -f terminal "$1" | less -R pygmentize -f terminal "$1" | less -R
} }
function offline(){ function offline(){
echo unshare -n -- sh -c "sudo -u stonewareslord zsh -c '$@'" echo unshare -n -- sh -c "sudo -u stonewareslord zsh -c '$@'"

View File

@ -12,6 +12,9 @@ command! WW %!sudo tee > /dev/null %
"autocmd BufRead,BufNewFile * RainbowParenthesesLoadRound "autocmd BufRead,BufNewFile * RainbowParenthesesLoadRound
"autocmd BufRead,BufNewFile * RainbowParenthesesLoadSquare "autocmd BufRead,BufNewFile * RainbowParenthesesLoadSquare
"autocmd BufRead,BufNewFile * RainbowParenthesesLoadChevrons "autocmd BufRead,BufNewFile * RainbowParenthesesLoadChevrons
let g:indent_guides_auto_colors = 0
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=red ctermbg=8
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=8
"match Error /\s\+$/ "match Error /\s\+$/
@ -250,22 +253,22 @@ Plug 'groenewege/vim-less'
"LESS highlighting | https://github.com/groenewege/vim-less "LESS highlighting | https://github.com/groenewege/vim-less
Plug 'pangloss/vim-javascript' Plug 'pangloss/vim-javascript'
"JS syntax and indentation | https://github.com/pangloss/vim-javascript "JS syntax and indentation | https://github.com/pangloss/vim-javascript
Plug 'Lokaltog/powerline-fonts' "Plug 'Lokaltog/powerline-fonts'
"Better powerline fonts | https://github.com/Lokaltog/powerline-fonts " "Better powerline fonts | https://github.com/Lokaltog/powerline-fonts
Plug 'bling/vim-airline' Plug 'bling/vim-airline'
"Bottom status bar | https://github.com/bling/vim-airline "Bottom status bar | https://github.com/bling/vim-airline
Plug 'terryma/vim-multiple-cursors' Plug 'terryma/vim-multiple-cursors'
"Multicursor functionality like Coda | https://github.com/terryma/vim-multiple-cursors "Multicursor functionality like Coda | https://github.com/terryma/vim-multiple-cursors
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
"File browser | https://github.com/scrooloose/nerdtree "File browser | https://github.com/scrooloose/nerdtree
Plug 'altercation/vim-colors-solarized' "Plug 'altercation/vim-colors-solarized'
"Theme | https://github.com/altercation/vim-colors-solarized " "Theme | https://github.com/altercation/vim-colors-solarized
Plug 'stonewareslord/vim-colors' Plug 'stonewareslord/vim-colors'
"Theme pack | https://github.com/spf13/vim-colors "Theme pack | https://github.com/spf13/vim-colors
"Plug 'spf13/PIV' "Plug 'spf13/PIV'
" "PHP tools | https://github.com/spf13/PIV " "PHP tools | https://github.com/spf13/PIV
Plug 'vim-scripts/AutoTag' "Plug 'vim-scripts/AutoTag'
"Generates taglist with ctags | https://github.com/vim-scripts/AutoTag " "Generates taglist with ctags | https://github.com/vim-scripts/AutoTag
Plug 'Lokaltog/vim-easymotion' Plug 'Lokaltog/vim-easymotion'
"Move around quickly in a document | https://github.com/Lokaltog/vim-easymotion "Move around quickly in a document | https://github.com/Lokaltog/vim-easymotion
Plug 'sjl/gundo.vim' Plug 'sjl/gundo.vim'
@ -274,36 +277,36 @@ Plug 'tommcdo/vim-exchange'
"Exchange two selections of text | https://github.com/tommcdo/vim-exchange "Exchange two selections of text | https://github.com/tommcdo/vim-exchange
Plug 'tpope/vim-repeat' Plug 'tpope/vim-repeat'
"Repeat last tpope command with . | https://github.com/tpope/vim-repeat "Repeat last tpope command with . | https://github.com/tpope/vim-repeat
Plug 'tpope/vim-commentary' "Plug 'tpope/vim-commentary'
"Comment selection | https://github.com/tpope/vim-commentary " "Comment selection | https://github.com/tpope/vim-commentary
"Plug 'vim-php/vim-php-refactoring' "Plug 'vim-php/vim-php-refactoring'
" "PHP refactoring | https://github.com/vim-php/vim-php-refactoring " "PHP refactoring | https://github.com/vim-php/vim-php-refactoring
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
"Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive "Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive
Plug 'tpope/vim-unimpaired' "Plug 'tpope/vim-unimpaired'
"Bracket shortcuts | https://github.com/tpope/vim-unimpaired " "Bracket shortcuts | https://github.com/tpope/vim-unimpaired
Plug 'kien/ctrlp.vim' Plug 'kien/ctrlp.vim'
"Fuzzy file search | https://github.com/kien/ctrlp.vim "Fuzzy file search | https://github.com/kien/ctrlp.vim
Plug 'tacahiroy/ctrlp-funky' "Plug 'tacahiroy/ctrlp-funky'
"Fuzzy function search | https://github.com/tacahiroy/ctrlp-funky " "Fuzzy function search | https://github.com/tacahiroy/ctrlp-funky
Plug 'godlygeek/tabular' Plug 'godlygeek/tabular'
"Quickly make tables in vim | https://github.com/godlygeek/tabular "Quickly make tables in vim | https://github.com/godlygeek/tabular
Plug 'tpope/vim-abolish' "Plug 'tpope/vim-abolish'
"Better abbrivation | https://github.com/tpope/vim-abolish " "Better abbrivation | https://github.com/tpope/vim-abolish
Plug 'godlygeek/csapprox' Plug 'godlygeek/csapprox'
"256 color vim in terminal | https://github.com/godlygeek/csapprox "256 color vim in terminal | https://github.com/godlygeek/csapprox
Plug 'sirver/UltiSnips' Plug 'sirver/UltiSnips'
"Adds snippets | https://github.com/sirver/UltiSnips "Adds snippets | https://github.com/sirver/UltiSnips
Plug 'honza/vim-snippets' Plug 'honza/vim-snippets'
"More snippets | https://github.com/honza/vim-snippets "More snippets | https://github.com/honza/vim-snippets
if has("lua") "if has("lua")
Plug 'Shougo/neocomplete.vim' " Plug 'Shougo/neocomplete.vim'
"Autocompletes | https://github.com/Shougo/neocomplete.vim " "Autocompletes | https://github.com/Shougo/neocomplete.vim
endif "endif
Plug 'othree/eregex.vim' Plug 'othree/eregex.vim'
"Real regexes in vim | https://github.com/othree/eregex.vim "Real regexes in vim | https://github.com/othree/eregex.vim
Plug 'vim-scripts/sessionman.vim' "Plug 'vim-scripts/sessionman.vim'
"Session manager | https://github.com/vim-scripts/sessionman.vim " "Session manager | https://github.com/vim-scripts/sessionman.vim
Plug 'mattn/flappyvird-vim' Plug 'mattn/flappyvird-vim'
"The amazing Flappy Bird game | https://github.com/mattn/flappyvird-vim "The amazing Flappy Bird game | https://github.com/mattn/flappyvird-vim
Plug 'morhetz/gruvbox' Plug 'morhetz/gruvbox'
@ -336,6 +339,8 @@ Plug 'https://github.com/jiangmiao/auto-pairs'
" | https://github.com/jiangmiao/auto-pairs " | https://github.com/jiangmiao/auto-pairs
"Plug 'https://github.com/Valloric/YouCompleteMe' "Plug 'https://github.com/Valloric/YouCompleteMe'
" " | https://github.com/Valloric/YouCompleteMe " " | https://github.com/Valloric/YouCompleteMe
Plug 'https://github.com/evidens/vim-twig'
" | https://github.com/evidens/vim-twig
call plug#end() call plug#end()
filetype plugin indent on filetype plugin indent on
if exists("+undofile") if exists("+undofile")