Re: Evoking the option for :help in a mapping

2017-08-29 Thread porphyry5
On Monday, August 28, 2017 at 1:32:32 PM UTC-7, Tony Mechelynck wrote: > On Mon, Aug 28, 2017 at 7:02 PM, Graham Lawrence wrote: > > I have the customary mappings for :help, > > > > nmap :exec "help " . expand("") > > nmap :exec "help " . expand("") > > > > and have

Re: Evoking the option for :help in a mapping

2017-08-28 Thread Tony Mechelynck
On Mon, Aug 28, 2017 at 7:02 PM, Graham Lawrence wrote: > I have the customary mappings for :help, > > nmap :exec "help " . expand("") > nmap :exec "help " . expand("") > > and have been trying to develop similar do the option on the cursor > word, something like > >

Re: Evoking the option for :help in a mapping

2017-08-28 Thread 'Andy Wokula' via vim_use
Am 28.08.2017 um 19:02 schrieb Graham Lawrence: I have the customary mappings for :help, nmap :exec "help " . expand("") nmap :exec "help " . expand("") and have been trying to develop similar do the option on the cursor word, something like nmap \\ yiw:h ^R"^[ But ^[

Evoking the option for :help in a mapping

2017-08-28 Thread Graham Lawrence
I have the customary mappings for :help, nmap :exec "help " . expand("") nmap :exec "help " . expand("") and have been trying to develop similar do the option on the cursor word, something like nmap \\ yiw:h ^R"^[ but to no avail. Although the mapping does not terminate with a