chris wrote:
> In the end I have used E as I never use[d] the default binding for
> that. So:-
>
> bind-key edit-file E
>
> Does just what I want, gives me a single key way to edit files loaded
> as a result of 'vi ' which I have just created a need for.
> I might even use lower case
On Sat, May 13, 2023 at 10:20:14AM -0400, Thomas Dickey wrote:
> On Sat, May 13, 2023 at 02:01:41PM +0100, Chris Green wrote:
> > While, just now, mucking about in my .vilerc I saw the hypertext macro
> > that has been there for ages (copied from help):-
> >
> > 22 store-macro
> >
chris wrote:
> On Sat, May 13, 2023 at 11:09:59AM +0100, Chris Green wrote:
> > On Sat, May 13, 2023 at 11:04:26AM +0100, Chris Green wrote:
> > > I can map the # key to do ^Xe 'manually' when running vile simply by
> > > going to the colon prompt and entering 'map ', then entering # in
> > >
On Sat, May 13, 2023 at 07:48:25AM -0400, Paul Fox wrote:
> chris wrote:
> > On Sat, May 13, 2023 at 11:09:59AM +0100, Chris Green wrote:
> > > On Sat, May 13, 2023 at 11:04:26AM +0100, Chris Green wrote:
> > > > I can map the # key to do ^Xe 'manually' when running vile simply by
> > > >
On Sat, May 13, 2023 at 11:04:26AM +0100, Chris Green wrote:
> I can map the # key to do ^Xe 'manually' when running vile simply by
> going to the colon prompt and entering 'map ', then entering # in
> response to 'change this string' and, finally ^Xe in response to 'to
> this new string'. The #
On Sat, May 13, 2023 at 02:01:41PM +0100, Chris Green wrote:
> While, just now, mucking about in my .vilerc I saw the hypertext macro
> that has been there for ages (copied from help):-
>
> 22 store-macro
> ~force execute-hypertext-command
> ~if $status
> ~force
I can map the # key to do ^Xe 'manually' when running vile simply by
going to the colon prompt and entering 'map ', then entering # in
response to 'change this string' and, finally ^Xe in response to 'to
this new string'. The # key then opens the file under the cursor for
editing.
However I
On Sat, May 13, 2023 at 11:09:59AM +0100, Chris Green wrote:
> On Sat, May 13, 2023 at 11:04:26AM +0100, Chris Green wrote:
> > I can map the # key to do ^Xe 'manually' when running vile simply by
> > going to the colon prompt and entering 'map ', then entering # in
> > response to 'change this
While, just now, mucking about in my .vilerc I saw the hypertext macro
that has been there for ages (copied from help):-
22 store-macro
~force execute-hypertext-command
~if $status
~force forward-character-to-eol
~endif
~endm
bind-key
In the 'show-commands' output there are entries like the following:-
"edit-file" ^X-e
or"E"
or"e"
or"find-file"
( bring given (or under-cursor) file or existing buffer into window )
I know that CTRL-X plus e opens the file under the cursor for editing,
chris wrote:
> On Sat, May 13, 2023 at 10:20:14AM -0400, Thomas Dickey wrote:
> > On Sat, May 13, 2023 at 02:01:41PM +0100, Chris Green wrote:
> > > While, just now, mucking about in my .vilerc I saw the hypertext macro
> > > that has been there for ages (copied from help):-
> > >
> > >
On Sat, May 13, 2023 at 01:24:39PM -0400, Paul Fox wrote:
> chris wrote:
> > On Sat, May 13, 2023 at 10:20:14AM -0400, Thomas Dickey wrote:
> > > On Sat, May 13, 2023 at 02:01:41PM +0100, Chris Green wrote:
> > > > While, just now, mucking about in my .vilerc I saw the hypertext macro
> > > >
12 matches
Mail list logo