From dc25c18e3ffbfa8be7113320db80ea2dcad14814 Mon Sep 17 00:00:00 2001 From: katherine Date: Mon, 18 Apr 2016 04:48:56 -0700 Subject: add elixir to .vimrc --- .vimrc | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index 940a81b..e4235ee 100644 --- a/.vimrc +++ b/.vimrc @@ -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 -- O# endfunction +function! Settings_elixir() + "settings + setlocal shiftwidth=2 + setlocal tabstop=2 + setlocal softtabstop=2 + "mappings + nnoremap -- O# +endfunction + function! Settings_haskell() "settings setlocal shiftwidth=4 -- cgit v1.2.3