chamindra / marvim

MARVIM - MAcro Repository for VIM "Give your most complex macros a name and store it for future recall and use"
GNU General Public License v2.0
34 stars 8 forks source link

Macros and templates by the same name causes error #6

Closed omrisarig13 closed 5 years ago

omrisarig13 commented 5 years ago

Currently, if there would be a macro and a template with the same name, the search function would always return the macro file, ignoring the existence of the template file.

The proper action should be to ask the user to chose which one of the two he wants to run. We should add interactive question for the user, to let him choose if he would want to run the template or the macro file.

chamindra commented 5 years ago

+1 to having that option.

On Sat, 29 Jun 2019 at 7:03 pm, Omri Sarig notifications@github.com wrote:

Currently, if there would be a macro and a template with the same name, the search function would always return the macro file, ignoring the existence of the template file.

The proper action should be to ask the user to chose which one of the two he wants to run. We should add interactive question for the user, to let him choose if he would want to run the template or the macro file.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chamindra/marvim/issues/6?email_source=notifications&email_token=ABTG6G4QPNWPMM2VMPMSTATP46PX7A5CNFSM4H4K4XD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4OQ6UA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTG6GZQKH2YPMPWMITXMY3P46PX7ANCNFSM4H4K4XDQ .

-- Chamindra de Silva https://www.linkedin.com/in/chamindra | http://chamindra-de-silva.blogspot.com