Loading ...
Sorry, an error occurred while loading the content.
 

Re: C-c in the gVim menu

Expand Messages
  • Rain Dog
    ... Shouldn t that be vunmenu &Edit.&Copy cunmenu &Edit.&Copy vmenu 20.350 &Edit.&Copy vmap +y cmenu 20.350 &Edit.&Copy
    Message 1 of 3 , Apr 5, 2004
      On Tuesday, March 30, 2004, at 11:39 AM, Andre Berger wrote:

      > vunmenu &Edit.Cu&t
      > vmenu 20.340 &Edit.Cu&t<Tab><D-x> <D-x>
      > vmap <D-x> "+x
      > vunmenu &Edit.&Copy
      > vmenu 20.350 &Edit.&Copy<Tab><D-c> <D-c>
      > vmap <D-c> "+y
      > cunmenu &Edit.&Copy
      > cmenu 20.350 &Edit.&Copy<Tab><D-c> <D-c>
      > cmap <D-c> <C-Y>
      >
      > but unlike the cut shortcut C-x, the one for copy, C-c, is not
      > displayed in the menu, but nonetheless functional. Any idea why it's
      > not displayed?

      Shouldn't that be

      vunmenu &Edit.&Copy
      cunmenu &Edit.&Copy
      vmenu 20.350 &Edit.&Copy<Tab><D-c> <D-c>
      vmap <D-c> "+y
      cmenu 20.350 &Edit.&Copy<Tab><D-c> <D-c>
      cmap <D-c> <C-Y>

      so that the existing menu item is completely removed before
      the new one, with its new shortcut, is added?
    • Andre Berger
      ... That works great, thanks!! -Andre
      Message 2 of 3 , Apr 6, 2004
        * Rain Dog <p.cucka@...>, 2004-04-06 10:00 +0200:
        > On Tuesday, March 30, 2004, at 11:39 AM, Andre Berger wrote:
        >
        > > vunmenu &Edit.Cu&t
        > > vmenu 20.340 &Edit.Cu&t<Tab><D-x> <D-x>
        > > vmap <D-x> "+x
        > > vunmenu &Edit.&Copy
        > > vmenu 20.350 &Edit.&Copy<Tab><D-c> <D-c>
        > > vmap <D-c> "+y
        > > cunmenu &Edit.&Copy
        > > cmenu 20.350 &Edit.&Copy<Tab><D-c> <D-c>
        > > cmap <D-c> <C-Y>
        > >
        > >but unlike the cut shortcut C-x, the one for copy, C-c, is not
        > >displayed in the menu, but nonetheless functional. Any idea why it's
        > >not displayed?
        >
        > Shouldn't that be
        >
        > vunmenu &Edit.&Copy
        > cunmenu &Edit.&Copy
        > vmenu 20.350 &Edit.&Copy<Tab><D-c> <D-c>
        > vmap <D-c> "+y
        > cmenu 20.350 &Edit.&Copy<Tab><D-c> <D-c>
        > cmap <D-c> <C-Y>
        >
        > so that the existing menu item is completely removed before
        > the new one, with its new shortcut, is added?

        That works great, thanks!!

        -Andre
      Your message has been successfully submitted and would be delivered to recipients shortly.