Browse Source

updated some configs for python and scala

master
Julio Biason 7 years ago
parent
commit
bc9672e278
  1. 16
      vim/configs/vimrc

16
vim/configs/vimrc

@ -128,7 +128,7 @@ Plugin 'vim-scripts/BusyBee'
Plugin 'nowk/genericdc' Plugin 'nowk/genericdc'
Plugin 'andrwb/vim-lapis256' Plugin 'andrwb/vim-lapis256'
Plugin 'glortho/feral-vim' Plugin 'glortho/feral-vim'
Plugin 'thewatts/wattslandia' " Plugin 'thewatts/wattslandia'
Plugin 'kristijanhusak/vim-hybrid-material' Plugin 'kristijanhusak/vim-hybrid-material'
Plugin 'jscappini/material.vim' Plugin 'jscappini/material.vim'
Plugin 'marcopaganini/termschool-vim-theme' Plugin 'marcopaganini/termschool-vim-theme'
@ -139,6 +139,7 @@ Plugin 'tyrannicaltoucan/vim-quantum'
Plugin 'kamwitsta/nordisk' Plugin 'kamwitsta/nordisk'
Plugin 'davidklsn/vim-sialoquent' Plugin 'davidklsn/vim-sialoquent'
Plugin 'trevordmiller/nova-vim' Plugin 'trevordmiller/nova-vim'
Plugin 'fenetikm/falcon'
" Improved syntax files " Improved syntax files
Plugin 'Glench/Vim-Jinja2-Syntax' Plugin 'Glench/Vim-Jinja2-Syntax'
@ -280,7 +281,7 @@ au FileType yaml setlocal expandtab tabstop=4 sw=4 sts=4 textwidth=0
" Remove tailing spaces " Remove tailing spaces
" ---------------------------------------------------------------------- " ----------------------------------------------------------------------
autocmd FileType c,cpp,python,yang,json,yaml,javascript autocmd BufWritePre <buffer> :%s/\s\+$//e autocmd FileType c,cpp,python,yang,json,yaml,javascript,scala autocmd BufWritePre <buffer> :%s/\s\+$//e
" ---------------------------------------------------------------------- " ----------------------------------------------------------------------
" mapings " mapings
@ -333,6 +334,12 @@ else
imap <M-0> <ESC>:tabn 10<CR>a imap <M-0> <ESC>:tabn 10<CR>a
endif endif
" Easy swtich between splits
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
" ---------------------------------------------------------------------- " ----------------------------------------------------------------------
" Autopair settings " Autopair settings
" ---------------------------------------------------------------------- " ----------------------------------------------------------------------
@ -484,6 +491,11 @@ let g:clang_format#style_options = {
vmap v <Plug>(expand_region_expand) vmap v <Plug>(expand_region_expand)
vmap <C-v> <Plug>(expand_region_shrink) vmap <C-v> <Plug>(expand_region_shrink)
" ----------------------------------------------------------------------
" Special options for Python syntax
" ----------------------------------------------------------------------
let g:python_highlight_all = 1
" ---------------------------------------------------------------------- " ----------------------------------------------------------------------
" Lastly, load configurations available only to this computer " Lastly, load configurations available only to this computer
" ---------------------------------------------------------------------- " ----------------------------------------------------------------------

Loading…
Cancel
Save