chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f589321
)
dot/vimrc: Turn on mode-sensitive indentation, and tweak indent levels.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 21 Oct 2010 13:49:55 +0000
(14:49 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 21 Oct 2010 14:00:00 +0000
(15:00 +0100)
Not that I use vim for anything.
dot/vimrc
patch
|
blob
|
blame
|
history
diff --git
a/dot/vimrc
b/dot/vimrc
index 99e3a53b7cbed25409a20df19db83129042193c5..87b4595d887bd56b6107c248aeb3ebea916d5cba 100644
(file)
--- a/
dot/vimrc
+++ b/
dot/vimrc
@@
-2,9
+2,14
@@
set incsearch
set showcmd
set autoindent
+set softtabstop=2
+set shiftwidth=2
+
if &t_Co > 2 || has("gui_running")
syntax on
set guifont=MiscFixed6x13\ 12
hi Normal guifg=white guibg=black
set background=dark
endif
+
+if has("autocmd") filetype plugin indent on endif