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 -