fatih / vim-go

Go development plugin for Vim
https://www.patreon.com/bhcleek
Other
16k stars 1.45k forks source link

GoRename fills in the identifier first #707

Closed nhooyr closed 8 years ago

nhooyr commented 8 years ago

I find it very annoying sometimes that <plug>(go-rename) fills in what I want to rename with the current identifier. Most of the time I have to delete it and then enter the new one in. In fact I've resorted to only using the command as so

autocmd FileType go nnoremap <buffer> <leader>gr :GoRename 

There is a space after :GoRename so I can quickly type whatever I want to rename it to, instead of deleting and then renaming.

nhooyr commented 8 years ago

further discussion at #711