summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-12-11 21:28:21 +0100
committerMarc Vertes <mvertes@free.fr>2025-12-11 21:28:21 +0100
commitcf8012edcb2df21eff06e8b287720fcff3e587cc (patch)
tree9b540d961f145cc1007539e0838b9710ea223bad /.vimrc
parent70238ad4b68231e90033c3150315c6dc7935609c (diff)
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 6ad8b59..738ff3d 100644
--- a/.vimrc
+++ b/.vimrc
@@ -193,7 +193,7 @@ let g:go_gopls_enabled = 1
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>
+noremap ge :e <cword>
" create a tag entry for current filename
" noremap gt :!echo "% % 1" >> tags; LC_ALL=C sort -o tags -u tags
noremap <leader>t :!echo "% % 1" >> tags; LC_ALL=C sort -o tags -u tags