[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [OT] Re: Lua 5.1 reference manual in Vim
- From: Sam Roberts <sroberts@...>
- Date: Fri, 1 Dec 2006 09:34:33 -0800
On Thu, Nov 30, 2006 at 09:42:27PM -0500, Luis Carvalho wrote:
> > I tried that and it didn't work (on vim 6.2, maybe it's different on
> > vim 7).
> > Hence my suggestion to use this bit of vimscript:
> > map <silent> <F1> :call
> > <SID>LookUp(matchstr(strpart(getline("."),matchend(strpart(getline("."),
> > 0,col(".")),".*\\W\\w")-1),"\\w*"))<CR>
> That's a good one. I try not to bind "usually preferred" keys since this tends
> to get annoying for many users. Believe me: key bindings are a religious
> matter [snip...]
And practical matter... my terminal traps F1 and pops up the gnome help!
I'll look for some other binding.