Automatically tab cursor to specific column

  • Hello, I am trying to use notepad++ to streamline generating a niche game file type and am hoping to find a solution.

    I would like to be able to use a hot key to trigger a function that automatically moves the cursor to column 40 on that row or
    the 40th character of that row (depending on how you want to phrase it). This function would need to work no matter the current
    position of the cursor or the number of characters already present in the row.

    Does anyone have any suggestions as to how I could accomplish this? Thanks for your help!

  • @NSDurant

    It is certainly possible if you’re willing to use a scripting plugin to do it.
    Let us know.
    There are probably other ways as well.

  • @NSDurant

    Should this work for lines which don’t have 40 characters yet too?
    If not, record a macro. Pos 1 + 40 times arrow right.

Log in to reply