diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-09-01 23:50:54 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-09-01 23:50:54 +0200 |
| commit | 002cc250e24d2da9477f71861b6cfc8652503b5c (patch) | |
| tree | 9237a6da327ad362e79320b63017cfb06858789d | |
| parent | 79e527c8c9b8ca2cf7bccc3218b9805331384fcd (diff) | |
nvi vim support for dotfiles
| -rw-r--r-- | .nexrc | 5 | ||||
| -rw-r--r-- | .vimrc | 5 |
2 files changed, 5 insertions, 5 deletions
@@ -3,8 +3,11 @@ set autowrite set wrapscan set extended set iclower +set noflash 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
+map gt :!echo '% % 1' >>tags; sort -o tags -Vu tags
+" Open the long word under the cursor +map ,o "ayEo"apI:!open "add@a
@@ -186,7 +186,4 @@ command! Blame normal!:let @a=expand('%')<CR>:let @b=line('.')<CR>:new<CR>:set b " 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
+noremap gt :!echo "% % 1" >> tags; sort -o tags -Vu tags
|
