use 4 spaces for gh-md-toc
This commit is contained in:
@@ -41,7 +41,7 @@ iab idate <c-r>=strftime("%Y-%m-%d")<cr>
|
|||||||
|
|
||||||
" use \ toc to insert a table of contents for markdown from the current line to EOF
|
" use \ toc to insert a table of contents for markdown from the current line to EOF
|
||||||
" nmap <leader>toc <cmd>.put =execute('.,$write !gh-md-toc --hide-header --hide-footer')<cr>
|
" nmap <leader>toc <cmd>.put =execute('.,$write !gh-md-toc --hide-header --hide-footer')<cr>
|
||||||
nmap <leader>toc :put =system('gh-md-toc --hide-header --hide-footer', getline('.', '$'))<cr>
|
nmap <leader>toc :put =system('gh-md-toc --hide-header --hide-footer --indent=4', getline('.', '$'))<cr>
|
||||||
|
|
||||||
" use \ tf to format a buffer as tofu / terraform
|
" use \ tf to format a buffer as tofu / terraform
|
||||||
nmap <leader>tf <cmd>% !tofu fmt -no-color -<cr>
|
nmap <leader>tf <cmd>% !tofu fmt -no-color -<cr>
|
||||||
|
|||||||
Reference in New Issue
Block a user