diff options
Diffstat (limited to '.nexrc')
| -rw-r--r-- | .nexrc | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -4,10 +4,20 @@ set wrapscan set extended set iclower set noflash +set tabstop=4 +set shiftwidth=4 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 -Vu tags
+" set filec=\ +" set cedit=\ + " Open the long word under the cursor -map ,o "ayEo"apI:!open "add@a
+map go "ayEo"apI:!open "add@a
+ +" Jump to WikiWord and create files on the fly using tags +map gt mz"zyeo"zpA "zpA 1:.w!>>tags
:!LC_ALL=C sort -o tags -u tags
ddo"zpI:ta "zdd`z@z
+ +" Search next WikiWord +map gn /[A-Z][A-Za-z0-9_]+[A-Z]/
+ +" Jump to go identifier definition using dynamic tag. +map gd D:+1,$d
:1,$!wc -c
0cw:!gotag % "yddu..@y
:ta _
|
