diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-09-01 17:18:10 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-09-01 17:18:10 +0200 |
| commit | 71fb1cd969b0a3cf13707925e220eca8d2f0e777 (patch) | |
| tree | 95beb42e778e0f4d0f2fc2aeba65fa1af60f3c54 | |
| parent | b108b851105f0cc72e24c65a84d7d77d7fd202c4 (diff) | |
update
| -rw-r--r-- | .nexrc | 10 | ||||
| -rw-r--r-- | .vimrc | 8 |
2 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,10 @@ +set autoindent +set autowrite +set wrapscan +set extended +set iclower +set filec= +" Edit the content of current word as a file +map ge yeopI:e! "add@a
+" Create an entry in tags for the current file +map gt :!echo "% % 1" >>tags; sort -o tags -u tags
@@ -182,3 +182,11 @@ augroup END " Git blame command! Blame normal!:let @a=expand('%')<CR>:let @b=line('.')<CR>:new<CR>:set bt=nofile<CR>:%!git blame -wM --date=short <C-R>a<CR>:<C-R>b<CR> + +" edit current word as file +noremap ge :e <cWORD>
+" 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
|
