On 10/30/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 10/30/06, Michael M. Tung <[EMAIL PROTECTED]> wrote: > Hi all: > > I am working on a simple plugin and want to make vim > open a file which appears in text e.g. as > > [/tmp/test.txt] > > by clicking on it. The path and filename always appears > in brackets.You can do this by mapping <MouseDown> and <MouseUp> pseudo-keys: nmap <MouseDown> ..... nmap <MouseUp> ...... Yakov
Or rather <LeftMouseRelease> etc.