summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.nexrc5
-rw-r--r--.vimrc5
2 files changed, 5 insertions, 5 deletions
diff --git a/.nexrc b/.nexrc
index f34e66a..3978cec 100644
--- a/.nexrc
+++ b/.nexrc
@@ -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
diff --git a/.vimrc b/.vimrc
index f47b7b8..3f29700 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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