Skip to content

Instantly share code, notes, and snippets.

@ishideo
Last active August 28, 2019 08:44
Show Gist options
  • Save ishideo/be2ef686f5a7d37c961213d9e9939d87 to your computer and use it in GitHub Desktop.
Save ishideo/be2ef686f5a7d37c961213d9e9939d87 to your computer and use it in GitHub Desktop.
~/SpaceVim.d/init.vim
" Dark powered mode of SpaceVim, generated by SpaceVim automatically.
let g:spacevim_enable_debug = 1
let g:spacevim_realtime_leader_guide = 1
let g:spacevim_realtime_leader_guide = 1
call SpaceVim#layers#load('lang#vim')
call SpaceVim#layers#load('lang#sh')
call SpaceVim#layers#load('incsearch')
call SpaceVim#layers#load('lang#c')
call SpaceVim#layers#load('lang#swig')
call SpaceVim#layers#load('lang#go')
call SpaceVim#layers#load('lang#php')
call SpaceVim#layers#load('lang#dockerfile')
call SpaceVim#layers#load('lang#lua')
call SpaceVim#layers#load('lang#perl')
call SpaceVim#layers#load('lang#ruby')
call SpaceVim#layers#load('lang#swift')
call SpaceVim#layers#load('lang#rust')
call SpaceVim#layers#load('lang#java')
call SpaceVim#layers#load('lang#javascript')
call SpaceVim#layers#load('lang#typescript')
call SpaceVim#layers#load('lang#python')
call SpaceVim#layers#load('lang#ipynb')
call SpaceVim#layers#load('lang#julia')
call SpaceVim#layers#load('lang#r')
call SpaceVim#layers#load('lang#scala')
call SpaceVim#layers#load('lang#kotlin')
call SpaceVim#layers#load('lang#clojure')
call SpaceVim#layers#load('lang#racket')
call SpaceVim#layers#load('lang#lisp')
call SpaceVim#layers#load('lang#ocaml')
call SpaceVim#layers#load('lang#nim')
call SpaceVim#layers#load('lang#xml')
call SpaceVim#layers#load('lang#html')
call SpaceVim#layers#load('lang#markdown')
call SpaceVim#layers#load('lang#WebAssembly')
call SpaceVim#layers#load('lang#haskell')
call SpaceVim#layers#load('lang#elixir')
call SpaceVim#layers#load('lang#erlang')
call SpaceVim#layers#load('tools#screensaver')
call SpaceVim#layers#load('shell')
call SpaceVim#layers#load('fzf')
let g:spacevim_enable_vimfiler_welcome = 1
let g:spacevim_enable_debug = 1
let g:deoplete#auto_complete_delay = 150
let g:spacevim_enable_tabline_filetype_icon = 1
let g:spacevim_enable_os_fileformat_icon = 1
let g:spacevim_buffer_index_type = 1
let g:ale_linters = {
\ 'python': ['flake8', 'mypy'],
\ 'javascript': ['eslint', 'eslint-plugin-vue'],
\ 'typescript': ['eslint'],
\ }
let g:ale_fixers = {
\ 'python': ['autopep8', 'black', 'isort'],
\ 'javascript': ['prettier'],
\ 'typescript': ['prettier'],
\ }
let g:python3_path = '~/venv/bin/python'
let g:ale_python_flake8_executable = g:python3_path
let g:ale_python_flake8_options = '-m flake8'
let g:ale_python_pylint_executable = g:python3_path
let g:ale_python_pylint_options = '-m pylint'
let g:ale_python_autopep8_executable = g:python3_path
let g:ale_python_autopep8_options = '-m autopep8 -i'
let g:ale_python_isort_executable = g:python3_path
let g:ale_python_isort_options = '-m isort'
let g:ale_python_black_executable = g:python3_path
let g:ale_python_black_options = '-m black'
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_change = 0
let g:ale_lint_on_enter = 0
let g:ale_fix_on_save = 1
let g:ale_set_loclist = 0
let g:ale_set_quickfix = 1
if has('python3')
let g:ctrlp_map = ''
nnoremap <silent> <C-p> :Denite file_rec<CR>
endif
let g:clang2_placeholder_next = ''
let g:clang2_placeholder_prev = ''
let g:deoplete#enable_at_startup = 1
let g:spacevim_custom_plugins = [
\ ['Shougo/vimshell.vim'],
\ ['Shougo/echodoc.vim'],
\ ['Shougo/junkfile.vim'],
\ ['thinca/vim-prettyprint'],
\ ['thinca/vim-themis'],
\ ['thinca/vim-quickrun'],
\ ['python/black'],
\ ['fisadev/vim-isort'],
\ ['easymotion/vim-easymotion'],
\ ['mbbill/undotree'],
\ ['edkolev/tmuxline.vim'],
\ ['vim-scripts/Align'],
\ ['vim-scripts/SQLUtilities'],
\ ['vim-scripts/ZoomWin'],
\ ['will133/vim-dirdiff'],
\ ['Chiel92/vim-autoformat'],
\ ['tell-k/vim-quick-radon'],
\ ['w0rp/ale'],
\ ['andviro/flake8-vim'],
\ ['hynek/vim-python-pep8-indent'],
\ ['davidhalter/jedi-vim', { 'on_ft' : 'python', 'hook_add' : 'let g:jedi#popup_on_dot = 0 | let g:jedi#popup_select_first = 0 | autocmd FileType python setlocal completeopt-=preview' }],
\ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment