diff options
author | katherine <shmibs@shmibbles.me> | 2016-04-18 04:48:56 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2016-04-18 04:48:56 -0700 |
commit | dc25c18e3ffbfa8be7113320db80ea2dcad14814 (patch) | |
tree | 3a80d707286c987ed0703645a92f1987cc8a7817 /.vimrc | |
parent | 1a812d5776b6259d42265891a9b349898ea8df67 (diff) | |
download | dotfiles-dc25c18e3ffbfa8be7113320db80ea2dcad14814.tar.gz |
add elixir to .vimrc
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -1,3 +1,7 @@ +if !has('gui_running') + set t_Co=256 +endif + """""""""""" " VUNDLE " """""""""""" @@ -25,10 +29,14 @@ Plugin 'junegunn/vim-easy-align' Plugin 'xolox/vim-misc' Plugin 'xolox/vim-easytags' +Plugin 'tommcdo/vim-exchange' + Plugin 'lilydjwg/fcitx.vim' Plugin 'airblade/vim-gitgutter' +Plugin 'sjl/gundo.vim' + Plugin 'itchyny/lightline.vim' Plugin 'tomtom/tcomment_vim' @@ -110,10 +118,6 @@ syntax on filetype plugin indent on set autoindent -if !has('gui_running') - set t_Co=256 -endif - colorscheme shmibs "enable status-line @@ -225,6 +229,7 @@ autocmd FileType conf call Settings_script() autocmd FileType cpp call Settings_c() autocmd FileType css call Settings_c() autocmd FileType d call Settings_c() +autocmd FileType elixir call Settings_elixir() autocmd FileType tex call Settings_tex() autocmd FileType haskell call Settings_haskell() autocmd FileType html call Settings_html() @@ -270,6 +275,15 @@ function! Settings_coffee() nnoremap <buffer> -- O#<Space> endfunction +function! Settings_elixir() + "settings + setlocal shiftwidth=2 + setlocal tabstop=2 + setlocal softtabstop=2 + "mappings + nnoremap <buffer> -- O#<Space> +endfunction + function! Settings_haskell() "settings setlocal shiftwidth=4 |