Skip to content

Instantly share code, notes, and snippets.

@hacker65536
Last active June 24, 2016 09:16
Show Gist options
  • Save hacker65536/ee7c94763d786e0ac8a8535823bb3d95 to your computer and use it in GitHub Desktop.
Save hacker65536/ee7c94763d786e0ac8a8535823bb3d95 to your computer and use it in GitHub Desktop.
yum install -y git
cd
curl -s https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
sh ./installer.sh ~/.vim
cat <<'EOF' > ~/.vimrc
set noexpandtab
set autoindent
set smartindent
set shiftwidth=2
set tabstop=2
set paste
set nu
set dictionary-=/usr/share/dict/words dictionary+=/usr/share/dict/words
se title
"set wildmenu=logest,full
"set wildmenu
"set wildmode=full
"set list
set listchars=tab:>-,extends:<,trail:-,eol:$
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%120v.\+/
"dein Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath^=/root/.vim//repos/github.com/Shougo/dein.vim
" Required:
call dein#begin(expand('/root/.vim/'))
" Let dein manage dein
" Required:
call dein#add('Shougo/dein.vim')
" Add or remove your plugins here:
call dein#add('Shougo/neosnippet.vim')
call dein#add('Shougo/neosnippet-snippets')
" dein.vim
call dein#add('lambdalisue/vim-gista')
" You can specify revision/branch/tag.
call dein#add('Shougo/vimshell', { 'rev': '3787e5' })
" Required:
call dein#end()
" Required:
filetype plugin indent on
" If you want to install not installed plugins on startup.
if dein#check_install()
call dein#install()
endif
"End dein Scripts-------------------------
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment