dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 5800bf16454771dfae7d5727a54c5e9de9456eba
parent 09996574c5e763c31cccfde4fac06ddae26ca893
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat, 16 Oct 2021 03:15:10 -0400

Condense ToggleIndentStyle

Diffstat:
M.vim/vimrc | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.vim/vimrc b/.vim/vimrc @@ -91,14 +91,10 @@ set colorcolumn=+1 " Toggle between 4 spaces and pure tab indentation styles func! ToggleIndentStyle() if &expandtab == 1 - set noexpandtab - set softtabstop& - set shiftwidth& + set noexpandtab softtabstop& shiftwidth& echom "Switched to: Indent with tabs." else - set expandtab - set softtabstop=4 - set shiftwidth=4 + set expandtab softtabstop=4 shiftwidth=4 echom "Switched to: Indent with 4 spaces." endif endfu