Fix TernDef command family behavior

Fix TernDef command to move the cursor on the correct line and column
Do not use the vim "edit" command, this way no error will be raised for
reloading a dirty buffer