summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
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