@@ 462,3 462,20 @@ nmap <silent> <leader>j <Plug>(ale_next_
" NerdCommentor
let g:NERDDefaultAlign = 'left'
+
+" ctags
+" autocmd BufWritePost *.py,*.c,*.h silent! !ctags . &
+
+" Sourcehut commands, used when editing emails in mutt
+command! Sa call SrhtApplied()
+command! Sv call SrhtRevision()
+command! Sr call SrhtRejected()
+function! SrhtApplied()
+ normal! iX-Sourcehut-Patchset-Update: APPLIED
+endfunction
+function! SrhtRevision()
+ normal! iX-Sourcehut-Patchset-Update: NEEDS_REVISION
+endfunction
+function! SrhtRejected()
+ normal! iX-Sourcehut-Patchset-Update: REJECTED
+endfunction