Last active
May 11, 2017 16:44
-
-
Save seriwb/96e6e558e7280c1be8552e60e7d43d03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ------------------------------------ | |
" colorscheme | |
" ------------------------------------ | |
syntax on | |
colorscheme molokai | |
let g:molokai_original = 1 | |
let g:rehash256 = 1 | |
set background=dark | |
" iTerm2で半透明にしているが、vimのcolorschemeを設定すると背景も変更されるため | |
highlight Normal ctermbg=none | |
" code settings | |
set tabstop=4 | |
set autoindent | |
set expandtab | |
set shiftwidth=4 | |
set backspace=indent,eol,start | |
" dein.vim | |
if &compatible | |
set nocompatible | |
endif | |
set runtimepath+=~/.vim/dein.vim/repos/github.com/Shougo/dein.vim | |
call dein#begin(expand('~/.vim/dein.vim')) | |
call dein#add('racer-rust/vim-racer') | |
call dein#add('rust-lang/rust.vim') | |
" go plugins | |
call dein#add('fatih/vim-go') | |
call dein#end() | |
" rust settings | |
let g:rustfmt_autosave = 1 | |
let g:rustfmt_command = '$HOME/.cargo/bin/rustfmt' | |
set hidden | |
let g:racer_cmd = '$HOME/.cargo/bin/racer' | |
let $RUST_SRC_PATH="/usr/local/src/rustc-1.13.0/src" | |
" go settings | |
let g:go_highlight_functions = 1 | |
let g:go_highlight_methods = 1 | |
let g:go_highlight_fields = 1 | |
let g:go_highlight_types = 1 | |
let g:go_highlight_operators = 1 | |
let g:go_highlight_build_constraints = 1 | |
filetype plugin indent on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vim上で:call dein#install()