Skip to content

Instantly share code, notes, and snippets.

@pandaman64
Created July 24, 2017 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandaman64/5a2c05a143e2c0fb9b53a394a4b41082 to your computer and use it in GitHub Desktop.
Save pandaman64/5a2c05a143e2c0fb9b53a394a4b41082 to your computer and use it in GitHub Desktop.
"dein Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=/home/pan/.vim/bundles/repos/github.com/Shougo/dein.vim
" Required:
if dein#load_state('/home/pan/.vim/bundles')
call dein#begin('/home/pan/.vim/bundles')
" Let dein manage dein
" Required:
call dein#add('/home/pan/.vim/bundles/repos/github.com/Shougo/dein.vim')
call dein#add('Shougo/vimproc',{ 'build': 'make' })
call dein#add('thinca/vim-quickrun')
call dein#add('rust-lang/rust.vim')
call dein#add('losingkeys/vim-niji')
call dein#add('jakwings/vim-pony')
" Required:
call dein#end()
call dein#save_state()
endif
" Required:
filetype plugin indent on
syntax enable
" If you want to install not installed plugins on startup.
if dein#check_install()
call dein#install()
endif
let g:quickrun_config = {
\ "_" : {
\ "runner" : "vimproc",
\ "runner/vimproc/updatetime" : 60,
\ "outputter/buffer/split" : "botright 10sp"
\ },
\}
"let g:quickrun_config["rust"] = {
"\ "exec" : "cargo run",
"\}
let g:quickrun_config["pony"] = {
\ "exec" : "ponyc",
\}
set nobackup
"indent
set tabstop=4 shiftwidth=4 softtabstop=4
set shiftround
"tab->space
set expandtab
set wrap
set wrapscan
set showmatch
set ruler
set number
set laststatus=2
set smarttab
"set autoindent
"set cindent
"set list
set hlsearch
set incsearch
set backspace=indent,eol,start
set whichwrap=b,s,h,l,<,>,[,],~
set formatoptions-=r
set formatoptions-=o
set fileformats=unix,dos,mac
set textwidth=0
set autoread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment