Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2017 03:28:50 +0000
From:      Manish Jain <bourne.identity@hotmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Help needed to fix rc error in Joe editor
Message-ID:  <VI1PR02MB12008AEC9FB629FE748ABC53F6BB0@VI1PR02MB1200.eurprd02.prod.outlook.com>

index | next in thread | raw e-mail

Hi,

I am trying to bind a key to aspell in Joe text editor, of which I am a 
new user. Online documentation suggests that 'aspellfile .k1' in joerc 
would bind aspell to the F1 key.

So I created my own ~/.joerc with the following contents :

:include /usr/local/etc/joe/joerc

aspellfile .k1

But with this, I get the following error from joe whenever I try to open 
a file :

/home/bourne/.joerc 3: No context selected for macro to key-sequence binding
Finished processing /home/bourne/.joerc
There were errors in '/home/bourne/.joerc'.  Falling back on default.

a) What could be the problem here ?
b) In vim, I can execute a macro named a with the command @a. In joe, 
how do I execute a macro named mymacro (defined in ~/.joerc) ?

Thanks for any help.
Manish Jain

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR02MB12008AEC9FB629FE748ABC53F6BB0>