Skip to content

Instantly share code, notes, and snippets.

@raphink
Created October 27, 2016 09:38
Show Gist options
  • Save raphink/dc743c27c89bfc237c7ec07eb1e5f3e4 to your computer and use it in GitHub Desktop.
Save raphink/dc743c27c89bfc237c7ec07eb1e5f3e4 to your computer and use it in GitHub Desktop.
runtime bundle/vim-pathogen/autoload/pathogen.vim
call pathogen#infect()
call pathogen#helptags()
syntax on
set bg=dark
filetype plugin indent on
au BufNewFile,BufRead *.pp setlocal kp=pi
set tabstop=2 shiftwidth=2 expandtab
"syntastic
"set statusline+=%#warningmsg#
"set statusline+=%{SyntasticStatuslineFlag()}
"set statusline+=%*
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
"airline
set laststatus=2
let g:airline#extensions#syntastic#enabled = 1
let g:airline_powerline_fonts = 1
let g:airline#extensions#tagbar#enabled = 1
let g:airline#extensions#branch#enabled = 1
" for ctrlspace
let g:airline_exclude_preview = 1
"deoplete
" neocomplete like
set completeopt+=noinsert
" deoplete.nvim recommend
"set completeopt+=noselect
" Path to python interpreter for neovim
let g:python3_host_prog = '/usr/bin/python3'
" Skip the check of neovim module
let g:python3_host_skip_check = 1
let g:deoplete#enable_at_startup = 1
let g:deoplete#sources#go#pointer = 1
let g:deoplete#sources#go#use_cache = 1
let g:deoplete#sources#go#json_directory = '~/.cache/deoplete/go/$GOOS_$GOARCH'
let g:deoplete#enable_ignore_case = 1
let g:deoplete#auto_complete_start_length = 2
"tagbar
nmap <F8> :TagbarToggle
nmap <F9> :TagbarShowTag
"ctrlspace
set nocompatible
set hidden
let g:CtrlSpaceLoadLastWorkspaceOnStart = 1
let g:CtrlSpaceSaveWorkspaceOnSwitch = 1
let g:CtrlSpaceSaveWorkspaceOnExit = 1
"vim-go
let g:go_highlight_functions = 1
let g:go_highlight_methods = 1
let g:go_highlight_fields = 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
let g:go_fmt_command = "goimports"
"let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck']
"let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
let g:go_list_type = "quickfix"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment