From 71fb1cd969b0a3cf13707925e220eca8d2f0e777 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 1 Sep 2025 17:18:10 +0200 Subject: update --- .vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 7351794..f47b7b8 100644 --- a/.vimrc +++ b/.vimrc @@ -182,3 +182,11 @@ augroup END " Git blame command! Blame normal!:let @a=expand('%'):let @b=line('.'):new:set bt=nofile:%!git blame -wM --date=short a:b + +" edit current word as file +noremap ge :e +" create a tag entry for current filename +noremap gt :!echo "% % 1" >> tags; sort -o tags -u tags + +" create a file form word and index it in tags +map gf "ayeo"apI:!touch "bdd@b o"apA "apA 1' >> tags; sort -o tags -u tagsI:!echo '"bdd@b -- cgit v1.2.3