aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-04-18 04:48:56 -0700
committerkatherine <shmibs@shmibbles.me>2016-04-18 04:48:56 -0700
commitdc25c18e3ffbfa8be7113320db80ea2dcad14814 (patch)
tree3a80d707286c987ed0703645a92f1987cc8a7817 /.vimrc
parent1a812d5776b6259d42265891a9b349898ea8df67 (diff)
downloaddotfiles-dc25c18e3ffbfa8be7113320db80ea2dcad14814.tar.gz
add elixir to .vimrc
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc22
1 files 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 <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