aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
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