Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Manage indentation depending on language.

  • Loading branch information...
commit d3f0daf79c38aa774d81d5ca7810fbc8d674f0d6 1 parent 41cc73f
@loicfrering authored
View
3  .vim/ftplugin/coffee.vim
@@ -0,0 +1,3 @@
+setlocal tabstop=2
+setlocal softtabstop=2
+setlocal shiftwidth=2
View
3  .vim/ftplugin/html.vim
@@ -0,0 +1,3 @@
+setlocal tabstop=2
+setlocal softtabstop=2
+setlocal shiftwidth=2
View
3  .vim/ftplugin/javascript.vim
@@ -0,0 +1,3 @@
+setlocal tabstop=2
+setlocal softtabstop=2
+setlocal shiftwidth=2
View
6 .vimrc
@@ -26,10 +26,14 @@ let g:solarized_termcolors=256
colorscheme solarized
set cursorline
+" Whitespace stuff
+set nowrap
+set expandtab
+
" 4 spaces tabs
set tabstop=4
-set shiftwidth=4
set softtabstop=4
+set shiftwidth=4
" Move easily between windows
map <C-h> <C-w>h
Please sign in to comment.
Something went wrong with that request. Please try again.