From b04d298212d306a73002e07abf3204b4d8ce275b Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Tue, 5 May 2026 19:23:01 -0600 Subject: [PATCH] Remove test/source toggle; fix shiftwidth for markdown files --- home/.vimrc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/home/.vimrc b/home/.vimrc index ac5135c..04e7faa 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -243,13 +243,6 @@ nnoremap p :ALEPrevious nnoremap r :ALEFindReferences nnoremap x :ALEToggle -" Toggle between file.py and file_test.py -nnoremap t :if expand('%:t') =~# '_test\.py$' \| - \ execute 'edit ' . substitute(expand('%'), '_test\.py$', '.py', '') \| - \ else \| - \ execute 'edit ' . expand('%:r') . '_test.py' \| - \ endif - nnoremap ' :BufExplorer " Local Overrides ################################################################################## @@ -261,7 +254,7 @@ silent! source .vimrc.local " project specific .vimrc autocmd BufRead COMMIT_EDITMSG set textwidth=70 colorcolumn=70 autocmd BufRead Makefile setlocal noexpandtab -autocmd BufRead *.md set textwidth=100 +autocmd BufRead *.md set textwidth=100 shiftwidth=2 autocmd BufRead *.scss set shiftwidth=4 autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o