Skip to content

Instantly share code, notes, and snippets.

@Kappaton
Created September 9, 2017 06:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kappaton/8489e0d86804477ddffe0631d87bc5fe to your computer and use it in GitHub Desktop.
Save Kappaton/8489e0d86804477ddffe0631d87bc5fe to your computer and use it in GitHub Desktop.
my .vimrc
call plug#begin('~/.vim/plugged')
Plug 'altercation/vim-colors-solarized'
Plug 'bronson/vim-trailing-whitespace'
Plug 'airblade/vim-gitgutter'
Plug 'ervandew/supertab'
Plug 'scrooloose/syntastic'
Plug 'tpope/vim-surround'
Plug 'vim-ruby/vim-ruby'
Plug 'othree/html5.vim'
"#Pythonmode
Plug 'davidhalter/jedi-vim'
Plug 'klen/python-mode'
Plug 'nvie/vim-flake8'
Plug 'hynek/vim-python-pep8-indent'
"C++
"Plug 'valloric/youcompleteme'
call plug#end()
let g:pymode_python = 'python3'
"use by python 
let g:jedi#force_py_version = 3
autocmd FileType python setlocal completeopt-=preview
" -- solarized personal conf
set background=dark
try
     colorscheme solarized
catch
endtry
  
if (exists('+colorcolumn'))
     set colorcolumn=80
     highlight ColorColumn ctermbg=9
endif
 
 
set number
set ruler
set title
set tabstop=4
set expandtab
set hidden
set noswapfile
"vimにコピペしたとき、コメントアウトや余計な改行をさせない
set paste 
set backspace=indent,eol,start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment