using filename in macros

Help
2004-11-21
2013-05-02
  • I would like to use the name of whatever file is currently being edited in several macros that I'm writing.  Is there a way to do this?

    Before switching from Windows to Linux a few years back, VDE (which also uses WordStar keybindings) was my main text editor and it had a Ctrl-F command for inserting the filename, as well as Ctrl-D and Ctrl-F for inserting current date and time.  I'd love to find this functionality in JOE.

    --Rob

     
    • Joe Allen
      Joe Allen
      2004-12-12

      In jstar you can type ESC ! or ESC @ to insert the date and time.  I don't think I have any way of entering the current file name- I'll have to add this in the future.