From 44650b1617de4003e610625fb01ee03ae3083f63 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 9 Aug 2024 00:53:42 +0200 Subject: Add mapping to find TODOs --- .exrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.exrc b/.exrc index 7362931..b4554aa 100644 --- a/.exrc +++ b/.exrc @@ -12,5 +12,7 @@ autocmd BufWritePre *.go call s:SaveExcursion("gofmt -s") autocmd BufWritePre *.templ call s:SaveExcursion("templ fmt") nnoremap gM :wall \| make all-i18n +nnoremap t :vimgrep /TODO/ **/* +let &wildignore = netrw_gitignore#Hide() . ',*_templ.go,.git/*,vendor/*' let g:netrw_list_hide .= ",.*_templ\\.go$" -- cgit v1.2.3