Tony - I know about that,and have it enabled, but I am talking more curses-like menu. (think aptitude, links, and others)
and more spificly, the ability to rightclick, and have a menu pop up On Apr 6, 10:50 pm, Tony Mechelynck <[EMAIL PROTECTED]> wrote: > On 07/04/08 04:19, SeligArkin wrote: > > > > > I was wondering if anyone else thinks console-mode menus is a good > > idea. > > > I know the idea is that you can so anything with the kbd, but why not > > similer with the mouse? > > when I am looking through my code, it'd be nice if I could rightclick, > > and have a lil popup, (eg:http://gilesfreeserv.com/junk/example.txt) > > in the console. > > > this shouldn't be *too* hard. I would attempt it, but I'd have tolearn > > the vim codebase, which would > > probably take longer than it took someone who is already familer with > > it to make it. > > > Just an idea > > ~ Selig Arkin > > Console-mode menus are easy to enable: here is the relevant extract from > my vimrc: > > if !has('gui_running') > " setup menus to work with Ctrl-Z in Console Vim > runtime! menu.vim > endif > if has("wildmenu") > set wildmenu wildmode=longest:full,full > else > set wildmode=longest,list:longest,full > endif > " Mappings and abbreviations > " override Ctrl-Z (minimize) by a text-mode menu > set wildcharm=<C-]> > map <C-Z> :emenu <C-]> > map! <C-Z> <C-O>:emenu <C-]> > > With the above snippet in your vimrc, hit Ctrl-Z to start the main menu > on the bottom status bar; then: > <Left> <Right> select a different entry > <Down> descends into a submenu > <Up> goes up one level > <Enter> accepts > <Esc> cancels (and goes back to editing). > > For the mouse, I'm not sure how to do it: I've found it hard to reliably > detect any but the simplest mouse actions in Console Vim. > > Best regards, > Tony. > -- > My band career ended late in my senior year when John Cooper and I > threw my amplifier out the dormitory window. We did not act in haste. > First we checked to make sure the amplifier would fit through the > frame, using the belt from my bathrobe to measure, then we picked up > the amplifier and backed up to my bedroom door. Then we rushed > forward, shouting "The WHO! The WHO!" and we launched my amplifier > perfectly, as though we had been doing it all our lives, clean through > the window and down onto the sidewalk, where a small but appreciative > crowd had gathered. I would like to be able to say that this was a > symbolic act, an effort on my part to break cleanly away from one state > in my life and move on to another, but the truth is, Cooper and I > really just wanted to find out what it would sound like. It sounded > OK. > -- Dave Barry, "The Snake" --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
