Skip to content

Instantly share code, notes, and snippets.

@charly-palencia
Created December 19, 2019 19:22
Show Gist options
  • Select an option

  • Save charly-palencia/2d114db18c723543eb816d9de6e043fd to your computer and use it in GitHub Desktop.

Select an option

Save charly-palencia/2d114db18c723543eb816d9de6e043fd to your computer and use it in GitHub Desktop.
set encoding=UTF-8
colorscheme challenger_deep
set clipboard=unnamed
" set spell spelllang=en_us
" set exrc
let g:autopep8_disable_show_diff=1
autocmd FileType python noremap <buffer> <F8> :call Autopep8()<CR>
" Vim-Test Mappings
nmap <silent> <leader>s :TestNearest<CR>
nmap <silent> <leader>t :TestFile<CR>
nmap <silent> <leader>a :TestSuite<CR>
nmap <silent> <leader>a :TestSuite<CR>
let test#strategy = "vimux"
let g:test#runner_commands = ['Minitest', 'Mocha', 'nose', 'nose2']
let g:ale_fixers = {
\ 'javascript': ['prettier', 'eslint'],
\ 'php': ['php_cs_fixer'],
\}
" let g:ale_linters = {
" \ 'php': ['phpcs'],
" \}
let g:ale_php_phpcs_standard = 'psr1'
let g:ale_php_cs_fixer_options = '--config=.php_cs --allow-risky'
" Set this setting in vimrc if you want to fix files automatically on save.
" This is off by default.
let g:ale_fix_on_save = 1
let g:ctrlp_custom_ignore = '\v.DS_Store|.sass-cache|.scssc|tmp|.bundle|.git|node_modules|coverage|bower_components|android|ios$'
" \let g:move_key_modifier = 'C'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment