Benji,
Thanks for the reply. I found the problem - it had to do with my ~/.vimrc file:
set laststatus=2
syntax enable
filetype indent on
source ~/.vim/cscope_maps.vim.txt
. . .
When I used the vimrc_example.vim file instead, and added
source ~/.vim/cscope_maps.vim.txt
to the end of it, the key mappings started to work again. BTW, this Mac gvim
is really really great! So much better than using the Mac terminal vim.
Ed
-- Benji Fisher <[EMAIL PROTECTED]> wrote:
Return-Path: <[EMAIL PROTECTED]>
Received: from mx01.nyc.untd.com (mx01.nyc.untd.com [10.140.24.61])
by maildeliver24.lax.untd.com with SMTP id AABCEAX2XAX64RQ2
for <[EMAIL PROTECTED]> (sender <[EMAIL PROTECTED]>);
Fri, 14 Apr 2006 19:14:45 -0700 (PST)
Received: from foobar.math.fu-berlin.de (foobar.math.fu-berlin.de
[160.45.45.151])
by mx01.nyc.untd.com with SMTP id AABCEAX2XAFB6LSJ
for <[EMAIL PROTECTED]> (sender <[EMAIL PROTECTED]>);
Fri, 14 Apr 2006 19:14:45 -0700 (PDT)
Received: (qmail 26117 invoked by uid 200); 15 Apr 2006 02:14:32 -0000
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Delivered-To: mailing list [email protected]
Received: (qmail 26109 invoked from network); 15 Apr 2006 02:14:32 -0000
Received: from ns1.wilbury.sk (HELO mrspock.ltc.sk) (217.73.17.21)
by foobar.math.fu-berlin.de with SMTP; 15 Apr 2006 02:14:32 -0000
Received: from kumar.ltc.sk (kumar.ltc.sk [217.73.17.16])
by mrspock.ltc.sk (Postfix) with ESMTP id C03DC95A36
for <[email protected]>; Sat, 15 Apr 2006 04:14:01 +0200 (CEST)
Received: from mrspock.ltc.sk ([217.73.17.21])
by kumar.ltc.sk (kumar.ltc.sk [217.73.17.16]) (amavisd-new, port 12424)
with ESMTP id 41091-17 for <[email protected]>;
Sat, 15 Apr 2006 04:13:57 +0200 (CEST)
Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81])
by mrspock.ltc.sk (Postfix) with ESMTP id 942E295A47
for <[email protected]>; Sat, 15 Apr 2006 04:13:56 +0200 (CEST)
Received: from localhost.localdomain
(c-24-91-120-61.hsd1.ma.comcast.net[24.91.120.61])
by comcast.net (sccrmhc11) with ESMTP
id <2006041502135501100fc0oue>; Sat, 15 Apr 2006 02:13:56 +0000
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.12.11/8.12.11) with ESMTP id k3F2DtLL003113
for <[email protected]>; Fri, 14 Apr 2006 22:13:55 -0400
Received: (from [EMAIL PROTECTED])
by localhost.localdomain (8.12.11/8.12.11/Submit) id k3F2DtlI003112
for [email protected]; Fri, 14 Apr 2006 22:13:55 -0400
X-Authentication-Warning: localhost.localdomain: benji set sender to [EMAIL
PROTECTED] using -f
Date: Fri, 14 Apr 2006 22:13:55 -0400
From: Benji Fisher <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: cscope key mappings for mac osx 10.4
Message-ID: <[EMAIL PROTECTED]>
Mail-Followup-To: [email protected]
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.4.1i
X-Virus-Scanned-kumar: amavisd-new at ltc.sk
X-ContentStamp: 5:2:3705939156
X-MAIL-INFO:41832ef7dada8b4ac3c76f2ec35f6bea02b71ec7
X-UNTD-Peer-Info:
160.45.45.151|foobar.math.fu-berlin.de|foobar.math.fu-berlin.de|[EMAIL
PROTECTED]
X-UNTD-UBE:-1
On Fri, Apr 14, 2006 at 08:03:27AM +0000, [EMAIL PROTECTED] wrote:
> Hi,
>
> On my Mac 0SX 10.4 Powerbook, I have been using the terminal vim (6.2)
> with cscope and the cscope key mapping file 'cscope_maps.vim.txt'.
> This file defines various key mappings, such as 'CTRL-\ s', which
> finds all references to the token under the cursor.
>
> When I run vim7.0d (gvim), these key mappings don't work. If I type
> 'map', I see them. I can type the equivalent cmd, 'cs find g xxx',
> and cscope finds it. But the key maps don't seem to work. Can
> somebody explain how to make them work?
Can you give a sample of the :map commands in cscope_maps.vim.txt
or a pointer to where we can find this file?
HTH --Benji Fisher