Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

改成默认两个空格缩进

  • Loading branch information...
commit 26f3827c858f955a5b7769c0b851a1393376cec1 1 parent 2612bcf
Meck authored

Showing 2 changed files with 3 additions and 8 deletions. Show diff stats Hide diff stats

  1. +0 5 setting/autocmd.vim
  2. +3 3 setting/setting.vim
5 setting/autocmd.vim
@@ -24,9 +24,4 @@ autocmd FileType nerdtree noremap <buffer> <c-h> <nop>
24 24 autocmd FileType nerdtree noremap <buffer> <c-right> <nop>
25 25 autocmd FileType nerdtree noremap <buffer> <c-l> <nop>
26 26
27   -" Indent to 2 spaces in ruby
28   -autocmd FileType {ruby,cucumber} setlocal tabstop=2
29   -autocmd FileType {ruby,cucumber} setlocal shiftwidth=2
30   -autocmd FileType {ruby,cucumber} setlocal softtabstop=2
31   -
32 27 autocmd ColorScheme * call SetMBPColors()
6 setting/setting.vim
@@ -42,12 +42,12 @@ set ruler
42 42 set statusline=%<%f\ %h%m%r%=%{fugitive#statusline()}\ \ %-14.(%l,%c%V%)\ %P
43 43
44 44 " tab = 4 spaces
45   -set tabstop=4
  45 +set tabstop=2
46 46
47 47 " Indent to four spaces
48   -set shiftwidth=4
  48 +set shiftwidth=2
49 49
50   -set softtabstop=4
  50 +set softtabstop=2
51 51
52 52 " Switch between unsaved buffers w/o needing to save, preserves history
53 53 set hidden

0 comments on commit 26f3827

Please sign in to comment.
Something went wrong with that request. Please try again.