From f1aff7ad0003f0bfe4bf6bb2502991fe5ece245b Mon Sep 17 00:00:00 2001 From: Jason Swank Date: Sun, 4 Jan 2026 14:46:25 -0500 Subject: [PATCH] use 4 spaces for gh-md-toc --- vim/.config/vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/.config/vim/vimrc b/vim/.config/vim/vimrc index e35715b..a123d3a 100644 --- a/vim/.config/vim/vimrc +++ b/vim/.config/vim/vimrc @@ -41,7 +41,7 @@ iab idate =strftime("%Y-%m-%d") " use \ toc to insert a table of contents for markdown from the current line to EOF " nmap toc .put =execute('.,$write !gh-md-toc --hide-header --hide-footer') -nmap toc :put =system('gh-md-toc --hide-header --hide-footer', getline('.', '$')) +nmap toc :put =system('gh-md-toc --hide-header --hide-footer --indent=4', getline('.', '$')) " use \ tf to format a buffer as tofu / terraform nmap tf % !tofu fmt -no-color -