if &compatible set nocompatible endif set runtimepath+=~/.config/nvim/plugins/repos/github.com/Shougo/dein.vim if dein#load_state('~/.config/nvim/plugins') call dein#begin('~/.config/nvim/plugins') " let dein manage itself call dein#add('Shougo/dein.vim') call dein#add('Shougo/denite.nvim') call dein#add('Shougo/deoplete.nvim') call dein#add('fatih/vim-go') call dein#add('kana/vim-textobj-user') call dein#add('glts/vim-textobj-comment') call dein#add('jiangmiao/auto-pairs') call dein#add('neomake/neomake') call dein#add('ntpeters/vim-better-whitespace') call dein#add('scrooloose/nerdtree') call dein#add('tpope/vim-commentary') call dein#add('tpope/vim-repeat') call dein#add('tpope/vim-surround') call dein#add('vim-python/python-syntax') call dein#add('zchee/deoplete-go') call dein#end() call dein#save_state() endif if dein#check_install() call dein#install() endif filetype plugin indent on syntax enable set number set hidden set t_Co=256 set background=dark colorscheme jdkaplan set expandtab set tabstop=4 set softtabstop=4 set shiftwidth=4 set smartindent set formatoptions+=n set wrap set linebreak set nolist set textwidth=0 set wrapmargin=0 set ignorecase set smartcase set cursorline set splitbelow set splitright set modelines=0 set lazyredraw set shortmess+=I set virtualedit= set display+=lastline noremap k gk noremap j gj map ; : noremap ;; ; map ; :nohlsearch map ;h :wincmd h map ;j :wincmd j map ;k :wincmd k map ;l :wincmd l map ;" :split map ;% :vsplit map ;0 :close map ;1 :only map ;w :w map ;q :q map ;x :x set wildignore+=*.swp,*~ map ;b :Denite buffer map ;f :Denite file_rec buffer let g:deoplete#enable_at_startup = 1 let g:deoplete#disable_auto_complete = 1 autocmd CompleteDone * silent! pclose! set completeopt+=noselect set completeopt+=menuone set completeopt+=longest call neomake#configure#automake('w') let g:neomake_serialize = 1 let g:neomake_serialize_abort_on_error = 1 let g:neomake_go_enabled_makers = ['go', 'govet'] nmap e :lopen nmap E :lclose nmap n :lnext nmap N :lprevious autocmd FileType python :NeomakeDisableBuffer autocmd BufEnter * EnableStripWhitespaceOnSave autocmd BufNewFile,BufRead *.tako set filetype=python map t :NERDTreeToggle noremap a :NERDTreeFind let g:python_highlight_all = 1 let g:go_highlight_types = 1 let g:go_highlight_functions = 1 let g:go_highlight_methods = 1 let g:go_highlight_structs = 1 let g:go_highlight_interfaces = 1 let g:go_highlight_operators = 1 let g:go_highlight_build_constraints = 1