Skip to content

Commit

Permalink
[vim] config clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Apr 19, 2014
1 parent 79c24fa commit b30dcf2
Show file tree
Hide file tree
Showing 21 changed files with 130 additions and 844 deletions.
6 changes: 0 additions & 6 deletions .gvimrc
Expand Up @@ -27,12 +27,6 @@ set gtt=%F
set vb t_vb= " no visual nor audio bell

" exe "colors " . colors_name
colors Sunburst
" colors Twilight
" colors Monokai
" colors jellybeans
" set background=dark
" colors solarized

autocmd VimEnter * call s:CdIfDirectory(expand("<amatch>"))

Expand Down
1 change: 1 addition & 0 deletions .vim/after/ftplugin/Dockerfile.vim
@@ -0,0 +1 @@
setl commentstring=#\ %s
3 changes: 3 additions & 0 deletions .vim/after/ftplugin/coffee.vim
Expand Up @@ -2,3 +2,6 @@
setlocal foldmethod=indent
" setlocal foldlevel=1
" setlocal foldenable

" tab width
setlocal softtabstop=2 tabstop=2 shiftwidth=2 expandtab
1 change: 1 addition & 0 deletions .vim/after/ftplugin/go.vim
@@ -0,0 +1 @@
setlocal softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab
1 change: 1 addition & 0 deletions .vim/after/ftplugin/html.vim
@@ -1,2 +1,3 @@
" auto closing of tags
inoremap <buffer> </ </<C-x><C-o><ESC>s>
setlocal softtabstop=2 tabstop=2 shiftwidth=2
2 changes: 2 additions & 0 deletions .vim/after/ftplugin/javascript.vim
@@ -0,0 +1,2 @@
" tab width
setlocal softtabstop=2 tabstop=2 shiftwidth=2 expandtab
2 changes: 2 additions & 0 deletions .vim/after/ftplugin/jsx.vim
@@ -0,0 +1,2 @@
" auto closing of tags
inoremap <buffer> </ </<C-x><C-o><ESC>s>
3 changes: 2 additions & 1 deletion .vim/after/ftplugin/nginx.vim
@@ -1 +1,2 @@
setl commentstring=#\ %s
setlocal commentstring=#\ %s
setlocal noexpandtab
3 changes: 3 additions & 0 deletions .vim/after/ftplugin/ruby.vim
Expand Up @@ -6,3 +6,6 @@ setlocal makeprg=ruby\ \%

" fold by indent
setlocal foldmethod=indent

" tab width
setlocal softtabstop=2 tabstop=2 shiftwidth=2 expandtab
2 changes: 2 additions & 0 deletions .vim/after/ftplugin/sass.vim
@@ -0,0 +1,2 @@
" tab width
setlocal softtabstop=2 tabstop=2 shiftwidth=2 expandtab
3 changes: 3 additions & 0 deletions .vim/after/ftplugin/scss.vim
@@ -1,2 +1,5 @@
" completion
call SuperTabSetDefaultCompletionType("<c-x><c-o>")

" tab width
setlocal softtabstop=2 tabstop=2 shiftwidth=2 expandtab
1 change: 1 addition & 0 deletions .vim/after/ftplugin/yaml.vim
@@ -0,0 +1 @@
setlocal softtabstop=2 tabstop=2 shiftwidth=2

0 comments on commit b30dcf2

Please sign in to comment.