summaryrefslogtreecommitdiffhomepage
path: root/.exrc
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-09 00:53:42 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-09 00:53:42 +0200
commit44650b1617de4003e610625fb01ee03ae3083f63 (patch)
tree2cfa69d4e9f13c87d67acc06034e56404357cc4c /.exrc
parentc21e178425de7ef43e7af52f6ee0d11163efa897 (diff)
Add mapping to find TODOs
Diffstat (limited to '.exrc')
-rw-r--r--.exrc2
1 files changed, 2 insertions, 0 deletions
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 <silent> gM :wall \| make all-i18n<CR>
+nnoremap <silent> <LocalLeader>t :vimgrep /TODO/ **/*<CR>
+let &wildignore = netrw_gitignore#Hide() . ',*_templ.go,.git/*,vendor/*'
let g:netrw_list_hide .= ",.*_templ\\.go$"