Hello,
I have a function that prompts the user for whether they want to save
the current file.
It uses the "confirm" function:
confirm("Save changes?", "&Yes\n&No\n&Cancel")
I like the way that it functions when I run vim from the terminal. It
shows the prompt on the command line, and it allows me to press "Y",
"N" or "C". I have a screenshot here:
http://notesmine.com/vim_confim_dialog
When I run it in MacVim, it drops down a prompt (which is o.k.), but I
can't press "C" to cancel. I **can** press N for "No". (Why, oh why
does OSX do this?)
Here's a screenshot:
http://notesmine.com/vim_confim_dialog#GUI
Is there a way to force the confirm function to show the prompt in
text mode?
If not, is there a way to force OSX to recognize the "C" for
cancelling? I *can* press ESC, and it acts as cancel
Thanks,
--Nate
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---