Skip to content

Commit

Permalink
vim: add FileType sh and sort
Browse files Browse the repository at this point in the history
  • Loading branch information
yoppi committed Mar 11, 2016
1 parent 4456288 commit a0ca808
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions dot.vimrc
Expand Up @@ -178,24 +178,25 @@ endif
" Filetype "{{{1
filetype plugin indent on
autocmd Filetype c,cpp setlocal expandtab softtabstop=4 shiftwidth=4 tabstop=8
autocmd Filetype changelog setlocal expandtab softtabstop=4 shiftwidth=4 tabstop=4
autocmd FileType coffee setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType cucumber setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype eruby setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype html,markdown,pdc setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType jade setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype java setlocal expandtab softtabstop=4 shiftwidth=4
autocmd FileType javascript setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType json setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType coffee setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType jade setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype ruby setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype python setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType objc setlocal expandtab softtabstop=4 shiftwidth=4
autocmd Filetype perl setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype php setlocal expandtab softtabstop=4 shiftwidth=4
autocmd Filetype python setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype ruby setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType scheme setlocal expandtab softtabstop=2 shiftwidth=2 tabstop=2
autocmd Filetype changelog setlocal expandtab softtabstop=4 shiftwidth=4 tabstop=4
autocmd FileType sh setlocal expandtab softtabstop=2 shiftwidth=2 tabstop=2
autocmd Filetype tex setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype vim setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype html,markdown,pdc setlocal expandtab softtabstop=2 shiftwidth=2
autocmd Filetype eruby setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType xml setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType cucumber setlocal expandtab softtabstop=2 shiftwidth=2
autocmd FileType objc setlocal expandtab softtabstop=4 shiftwidth=4
autocmd FileType yaml setlocal expandtab softtabstop=2 shiftwidth=2


Expand Down

0 comments on commit a0ca808

Please sign in to comment.