dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 89509962cb89f74267686a8b439cbcbc134af17b
parent 751f38bcf7b24203cfc81b90778a8665b2cccbaf
Author: Chris Bracken <chris@bracken.jp>
Date:   Mon,  8 Jul 2019 17:15:07 +0900

Document indentation options

Diffstat:
M.vim/vimrc | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.vim/vimrc b/.vim/vimrc @@ -95,13 +95,13 @@ endfunc nmap <C-n> :call ToggleNumbering()<CR> " Indentation/tabulation -set autoindent -set smartindent -set smarttab -set ts=2 -set sw=2 -set softtabstop=2 -set expandtab +set autoindent " Copy indent from current line when starting a new line +set smartindent " Attempt to autoindent when starting a new line +set smarttab " Use shiftwidth rather than tabstop at start of line +set tabstop=2 " Number of spaces a tab counts for +set shiftwidth=2 " Number of spaces for each step of autoindent +set softtabstop=2 " Number of spaces a tab counts for when editing +set expandtab " Insert spaces rather than tabs " Fix python's indent overrides au FileType python setl ts=2 sw=2 sts=2 et