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

RE: grep.vim hijacking colon key

Expand Messages
  • Yegappan Lakshmanan
    Hi, ... You can t set the Grep_Key variable to an empty string. You should set it to a key name, like let Grep_Key = or let Grep_Key = ,g If you set
    Message 1 of 6 , Aug 31 2:06 PM
    • 0 Attachment
      Hi,

      --- jonah <jonahgoldstein@...> wrote:
      >
      > > How are you setting the "Grep_Key" variable
      > > in your .vimrc
      > > file (the exact command)?
      > >
      >
      > let Grep_Key = ""
      >

      You can't set the Grep_Key variable to an empty string. You should set
      it to a key name, like

      let Grep_Key = '<F3>'

      or
      let Grep_Key = ',g'

      If you set Grep_Key to an empty string, then the map command
      executed by the grep plugin will become:

      nnoremap <unique> <silent> :call <SID>RunGrep('grep')<CR>

      As you can see this command will map ":call" instead of a key.

      - Yegappan



      _______________________________
      Do you Yahoo!?
      Win 1 of 4,000 free domain names from Yahoo! Enter now.
      http://promotions.yahoo.com/goldrush
    Your message has been successfully submitted and would be delivered to recipients shortly.