writing keyboard shortcuts

  • Advertisement ( why? )
     

    ginerjm, 20th Nov 2013 9:23 pm

    Is there a place I can learn how to develop keyboard shortcuts? The simple examples I have found don't give me the syntax to help me develop some of my own shortcuts. About the only thing I know is that the pipe symbol will place the cursor at that spot when the shortcut is done running. But - I'd like to do some other things, such as issuing a cr/lf at the start of the shortcut code.

    • HTML-Kit Support, 24th Nov 2013 11:15 am

      Hi,

      On 11/20/2013 9:23 PM, ginerjm wrote:

      Is there a place I can learn how to develop keyboard shortcuts? The
      simple examples I have found don't give me the syntax to help me
      develop some of my own shortcuts. About the only thing I know is
      that the pipe symbol will place the cursor at that spot when the
      shortcut is done running. But - I'd like to do some other things,
      such as issuing a cr/lf at the start of the shortcut code.

      Ahh... you bring up a good point! Keyboard shortcuts skip empty lines
      that are at the start of text fields, which is why your cr/lf are being
      ignored. New lines at the end are kept.

      I've posted TreeHouse build 20131107 to correct this, so now you can
      simply add new lines to the top.

      http://www.htmlkit.com/assistant/

      Hope this helps and thanks again for pointing this out.

      Chami