Saturday, January 30, 2021

Announcement: New Vim Tip: Text mode menus

https://vim.fandom.com/wiki/Text_mode_menus

I added this code to my vimrc at a time when for some reason I
couldn't get menus on a menubar even in gvim. On my new computer
(which may have been set up just a tiny wee bit differently) the
menubar has reappeared, but I'm leaving this code in my vimrc because:
* it allows me to get Vim menus even when running Vim in a console
* it gives me text-style Vim menus on the gvim status line in addition
to (or as a fallback for) the menus on the menubar.
These menus use the standard gvim menus and the standard Vim wildmode
completion, which is compiled by default in all Vim builds with
expression evaluation (but the code checks for it anyway: better be
safe than sorry).

I feel that this code is now mature so I'm sharing it with the community.

Have fun!
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXuB-Z_ccdjAGTe8V%2BTcFMWqLWmhgyNtixpfpchrOTH7zw%40mail.gmail.com.

No comments: