2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-17 09:25:52 +00:00

2 spaces wide tabs in git-diff-view, changed mapping for {

This commit is contained in:
Steffen Becker 2012-05-31 20:57:42 +02:00
parent 8f561deea6
commit df90c8739d
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
autocrlf = input
eol = lf
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = less -FXRS -x2
[color]
ui = auto

2
vimrc
View File

@ -104,7 +104,7 @@ vnoremap / /\v
nnoremap <tab> <C-w><C-w>
nnoremap <S-tab> <C-w>W
" custom shift-tab mapping -- opens new { } and blank line
inoremap <S-Tab> <Esc>$a {<CR><CR>}<Esc>k0lli
inoremap { {<Esc>i <Esc>o<CR>}<Esc>ki<tab>
" Search mappings: These will make it so that going to the next one in a
" search will center on the line it's found in.