diff options
| -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
|
